Skip to content

Commit e17fab9

Browse files
authored
Merge pull request easybuilders#25207 from Flamefire/20260204105254_new_pr_jax062
Fix warnings with -O3 in jax-0.6.2
2 parents cb7466a + 4ab9f99 commit e17fab9

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

easybuild/easyconfigs/j/jax/jax-0.6.2-gfbf-2024a.eb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@ _jaxlib_buildopts += '--wheels=jaxlib '
4141
_jaxlib_buildopts += '--use_clang=false --gcc_path=$CC '
4242
# fix jaxlib version
4343
_jaxlib_buildopts += '--bazel_options="--action_env=JAXLIB_RELEASE" '
44+
# Workaround warning-turned-error in boringSSL, with -O3:
45+
# https://boringssl.googlesource.com/boringssl/+/5555991d3729d4231671214f0b9ba4858a5a8a81
46+
_jaxlib_buildopts += '--bazel_options="--copt=-Wno-dangling-pointer" '
47+
# False positive in boringSSL writing to a buffer
48+
_jaxlib_buildopts += '--bazel_options="--copt=-Wno-stringop-overflow" '
4449

4550
components = [
4651
('jaxlib', version, {

0 commit comments

Comments
 (0)