Skip to content

Commit

Permalink
Update Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeshingles committed Dec 26, 2024
1 parent 5dceba3 commit 7bdc233
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,14 @@ else
# to get the current CPU architecture, run this:
# g++ -march=native -Q --help=target | grep -- '-march= ' | cut -f3

CXXFLAGS += -march=native
ifneq (,$(shell hostname -A | grep gsi.de))
# virgo has znver4 nodes in the new partition
# CXXFLAGS += -march=znver4
# and znver3 nodes in the other partitions and login nodes
CXXFLAGS += -march=native
else
CXXFLAGS += -march=native
endif

# CXXFLAGS += -march=icelake-server

Expand Down

0 comments on commit 7bdc233

Please sign in to comment.