Skip to content
Snippets Groups Projects
Commit 5a2b80b6 authored by Alexander E Pace's avatar Alexander E Pace
Browse files

updated changes to the openblas makefile to make it work on sandybridge--...

updated changes to the openblas makefile to make it work on sandybridge-- linking doesn't work 100% yet, but it no longer fails on building lal
parent 6a538b65
No related branches found
No related tags found
No related merge requests found
......@@ -279,7 +279,7 @@ $(INSTALL_FILES_DIR)/$(GSTREAMER)/config.log : $(DEP_INSTALL_DIR)/lib/pkgconfig/
## FIXME Hack to make gsl default to atlas for blas
$(DEP_INSTALL_DIR)/lib/pkgconfig/gsl.pc.orig : $(DEP_INSTALL_DIR)/lib/libgsl.so
cp $(DEP_INSTALL_DIR)/lib/pkgconfig/gsl.pc $@
sed 's/-lgslcblas/-lopenblas.a/' $@ > $(DEP_INSTALL_DIR)/lib/pkgconfig/gsl.pc
sed 's/-lgslcblas/-lopenblas/' $@ > $(DEP_INSTALL_DIR)/lib/pkgconfig/gsl.pc
$(DEP_INSTALL_DIR)/lib/libgsl.so : $(INSTALL_FILES_DIR)/$(GSL)/config.log
cd $(INSTALL_FILES_DIR)/$(GSL) && make -j32 && make install -j32
......@@ -299,7 +299,7 @@ $(INSTALL_FILES_DIR)/$(ORC)/config.log : $(DEP_INSTALL_DIR)/lib/libopenblas.so
./configure --prefix=$(DEP_INSTALL_DIR)
$(DEP_INSTALL_DIR)/lib/libopenblas.so : $(INSTALL_FILES_DIR)/OpenBLAS-$(OPENBLAS)/libopenblas.a
cd $(INSTALL_FILES_DIR)/OpenBLAS-$(OPENBLAS) && make PREFIX=$(DEP_INSTALL_DIR) install
cd $(INSTALL_FILES_DIR)/OpenBLAS-$(OPENBLAS) && make PREFIX=$(DEP_INSTALL_DIR) NUM_THREADS=32768 install
$(INSTALL_FILES_DIR)/OpenBLAS-$(OPENBLAS)/libopenblas.a : TAR.txt
tar -xzf $(TARDIR)/v$(OPENBLAS).tar.gz -C $(INSTALL_FILES_DIR)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment