fix build issues of packages: lapack suitesparse

This commit is contained in:
Volker Grabsch 2010-11-17 02:59:17 +01:00
parent a149a4a947
commit 281f36290c
2 changed files with 4 additions and 4 deletions

View File

@ -25,7 +25,7 @@ define $(PKG)_BUILD
$(SED) -i 's, ar, $(TARGET)-ar,g' '$(1)/make.inc'
$(SED) -i 's, ranlib, $(TARGET)-ranlib,g' '$(1)/make.inc'
$(MAKE) -C '$(1)' -j '$(JOBS)' lapacklib
$(MAKE) -C '$(1)/SRC' -j '$(JOBS)'
$(INSTALL) -d '$(PREFIX)/$(TARGET)/lib'
$(INSTALL) -m664 '$(1)/lapack_MINGW32.a' '$(PREFIX)/$(TARGET)/lib/liblapack.a'
endef

View File

@ -33,9 +33,9 @@ define $(PKG)_BUILD
# gfortran does not need libg2c
$(SED) -i 's,-lg2c,,' '$(1)/UFconfig/UFconfig.mk'
# exclude the demos from building in order to avoid the _rand48 problems
$(SED) -i 's,( cd Demo ; $$(MAKE) ),#( cd Demo ; $$(MAKE) ),' '$(1)/CHOLMOD/Makefile'
$(SED) -i 's,( cd Demo ; $$(MAKE) ),#( cd Demo ; $$(MAKE) ),' '$(1)/SPQR/Makefile'
# exclude demos
find '$(1)' -name 'Makefile' \
-exec $(SED) -i 's,( cd Demo,#( cd Demo,' {} \;
# build all
$(MAKE) -C '$(1)' -j '$(JOBS)'