Skip to content

Commit

Permalink
Fix build warning/error of jax-0.3.25-foss-2022a
Browse files Browse the repository at this point in the history
  • Loading branch information
Flamefire committed Sep 12, 2024
1 parent 9de7a6b commit edcc8e4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions easybuild/easyconfigs/j/jax/jax-0.3.25-foss-2022a.eb
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ local_tf_builddir = '%(builddir)s/' + local_tf_dir
# replace remote TensorFlow repository with the local one from EB
local_jax_prebuildopts = "sed -i -f jaxlib_local-tensorflow-repo.sed WORKSPACE && "
local_jax_prebuildopts += "sed -i 's|EB_TF_REPOPATH|%s|' WORKSPACE && " % local_tf_builddir
# Avoid warning (treated as error) in upb/table.c
local_jaxlib_buildopts = '--bazel_options="--copt=-Wno-maybe-uninitialized" '

use_pip = True

Expand Down Expand Up @@ -81,6 +83,7 @@ components = [
],
'start_dir': 'jax-jaxlib-v%(version)s',
'prebuildopts': local_jax_prebuildopts,
'buildopts': local_jaxlib_buildopts,
}),
]

Expand Down

0 comments on commit edcc8e4

Please sign in to comment.