Merge pull request #1176 from staticfloat/sf/dynamic_arch
Fix DYNAMIC_ARCH=1 breaking builds on non-x86 platforms
This commit is contained in:
commit
5649b2c53a
5
Makefile
5
Makefile
|
@ -329,3 +329,8 @@ endif
|
||||||
@rm -f *.grd Makefile.conf_last config_last.h
|
@rm -f *.grd Makefile.conf_last config_last.h
|
||||||
@(cd $(NETLIB_LAPACK_DIR)/TESTING && rm -f x* *.out testing_results.txt)
|
@(cd $(NETLIB_LAPACK_DIR)/TESTING && rm -f x* *.out testing_results.txt)
|
||||||
@echo Done.
|
@echo Done.
|
||||||
|
|
||||||
|
# Makefile debugging trick:
|
||||||
|
# call print-VARIABLE to see the runtime value of any variable
|
||||||
|
print-%:
|
||||||
|
@echo '$*=$($*)'
|
||||||
|
|
|
@ -453,8 +453,9 @@ DYNAMIC_CORE += HASWELL ZEN
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# If DYNAMIC_CORE is not set, DYNAMIC_ARCH cannot do anything, so force it to empty
|
||||||
ifndef DYNAMIC_CORE
|
ifndef DYNAMIC_CORE
|
||||||
DYNAMIC_ARCH =
|
override DYNAMIC_ARCH=
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue