mirror of https://git.wownero.com/dsc/mxe.git
fix build issues of packages: lapack suitesparse
This commit is contained in:
parent
a149a4a947
commit
281f36290c
|
@ -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
|
||||
|
|
|
@ -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)'
|
||||
|
|
Loading…
Reference in New Issue