diff options
Diffstat (limited to 'math/libxsmm/files/patch-Makefile')
-rw-r--r-- | math/libxsmm/files/patch-Makefile | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/math/libxsmm/files/patch-Makefile b/math/libxsmm/files/patch-Makefile new file mode 100644 index 000000000000..44a803c6d5cb --- /dev/null +++ b/math/libxsmm/files/patch-Makefile @@ -0,0 +1,29 @@ +--- Makefile.orig 2018-03-15 13:08:45 UTC ++++ Makefile +@@ -398,7 +398,7 @@ endif + lib: headers drytest lib_hst lib_mic + + .PHONY: all +-all: libxsmm samples ++all: libxsmm + + .PHONY: headers + headers: cheader cheader_only fheader +@@ -1502,7 +1502,7 @@ realclean-all: realclean + + # Dummy prefix + ifneq (,$(strip $(PREFIX))) +-INSTALL_ROOT = $(PREFIX) ++INSTALL_ROOT = $(DESTDIR)$(PREFIX) + else + INSTALL_ROOT = . + endif +@@ -1581,7 +1581,7 @@ ifneq ($(abspath $(INSTALL_ROOT)),$(absp + endif + + .PHONY: install-all +-install-all: install samples ++install-all: install + ifneq ($(abspath $(INSTALL_ROOT)),$(abspath .)) + @echo + @echo "LIBXSMM installing samples..." |