Skip to content

Commit

Permalink
Fix LIKWID_VERSION and LIKWID_COMMIT macros in likwid.h not being set…
Browse files Browse the repository at this point in the history
… correctly during installation
  • Loading branch information
OoJJBoO authored and TomTheBear committed Dec 3, 2024
1 parent 167f5ce commit 86f21f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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>#$(VERSION)#g" -e "s#<DATE>#$(DATE)#g" -e "s#<GITCOMMIT>#$(GITCOMMIT)#g" -e "s#<MINOR>#$(MINOR)#g" $(PREFIX)/include/likwid.h
@sed -i -e "s#<VERSION>#$(VERSION)#g" -e "s#<DATE>#$(DATE)#g" -e "s#<GITCOMMIT>#$(GITCOMMIT)#g" -e "s#<MINOR>#$(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"
Expand Down

0 comments on commit 86f21f3

Please sign in to comment.