We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a9d9fc commit 402a38eCopy full SHA for 402a38e
repo/genesis/package.py
@@ -92,6 +92,13 @@ def configure_args(self):
92
env["CXXFLAGS"] = f"{opt_flags}"
93
env["FCFLAGS"] = f"{opt_flags}"
94
env["F77FLAGS"] = f"{opt_flags}"
95
+ if spec.target == "a64fx":
96
+ # Using same flags as the version installed outside benchpark
97
+ env["CFLAGS"] = "-Kfast -Kocl -Kswp"
98
+ env["FCFLAGS"] = "-Kocl -Kfast -Kopenmp -Nlst=t -Koptmsg=2"
99
+ env["LDFLAGS"] = "-SSL2BLAMP -Kparallel -Kopenmp -Nlibomp"
100
+ # if Lapack_libs is not specified, build fails when linking
101
+ env["LAPACK_LIBS"] = spec["lapack"].libs.ld_flags
102
elif spec.satisfies("%gcc"):
103
opt_flags = "-O3 -ffast-math"
104
env["CFLAGS"] = f"{opt_flags}"
0 commit comments