From b8005985030e3362b440645a7a22d9477188b67c 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 a5b2a45be..237e437ba 100644 --- a/Makefile +++ b/Makefile @@ -615,7 +615,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"