From 86f21f364fcef1a0c52a8b6dbb4910d59800c222 Mon Sep 17 00:00:00 2001 From: Jonathan Bernhard Date: Tue, 3 Dec 2024 17:41:02 +0100 Subject: [PATCH] Fix LIKWID_VERSION and LIKWID_COMMIT macros in likwid.h not being set correctly during installation --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a34d37234..bb108cb2b 100644 --- a/Makefile +++ b/Makefile @@ -617,7 +617,7 @@ install: install_daemon install_freq install_appdaemon install_container_helper @mkdir -p $(PREFIX)/include @chmod 755 $(PREFIX)/include @install -m 644 $(SRC_DIR)/includes/likwid.h $(PREFIX)/include/ - @sed -i -e "s##$(VERSION)#g" -e "s##$(DATE)#g" -e "s##$(GITCOMMIT)#g" -e "s##$(MINOR)#g" $(PREFIX)/include/likwid.h + @sed -i -e "s##$(VERSION)#g" -e "s##$(DATE)#g" -e "s##$(GITCOMMIT)#g" -e "s##$(MINOR)#g" -e "s#VERSION.RELEASE.MINORVERSION#$(VERSION).$(RELEASE).$(MINOR)#g" -e "s#LIKWID_COMMIT GITCOMMIT#LIKWID_COMMIT \"$(GITCOMMIT)\"#g" $(PREFIX)/include/likwid.h @install -m 644 $(SRC_DIR)/includes/likwid-marker.h $(PREFIX)/include/ $(FORTRAN_INSTALL) @echo "===> INSTALL groups to $(PREFIX)/share/likwid/perfgroups"