Skip to content

Commit

Permalink
Sort settings
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeshingles committed Nov 15, 2024
1 parent b7fe959 commit b1eb5ae
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,12 @@ endif

$(info detected compiler is $(COMPILER_NAME) major version $(COMPILER_VERSION_NUMBER_MAJOR))

ifeq ($(COMPILER_NAME),NVHPC)
CXXFLAGS += -std=c++23
else
CXXFLAGS += -std=c++23 -ftree-vectorize -Wunused-macros -Werror -Wno-error=unknown-pragmas -Wno-error=cast-function-type -MD -MP -ftrivial-auto-var-init=pattern
CXXFLAGS += -std=c++23 -fstrict-aliasing

ifneq ($(COMPILER_NAME),NVHPC)
CXXFLAGS += -ftree-vectorize -Wunused-macros -Werror -Wno-error=unknown-pragmas -Wno-error=cast-function-type -MD -MP -ftrivial-auto-var-init=pattern
endif

CXXFLAGS += -fstrict-aliasing
# CXXFLAGS += -DUSE_SIMPSON_INTEGRATOR=true

# profile-guided optimisation
Expand Down

0 comments on commit b1eb5ae

Please sign in to comment.