Skip to content

Commit

Permalink
Merge pull request #22325 from Flamefire/20250218090136_new_pr_jax039
Browse files Browse the repository at this point in the history
Fix warning in jax 0.3.x that fails the build by using `-Wno-maybe-uninitialized`
  • Loading branch information
boegel authored Mar 3, 2025
2 parents d5ea572 + 93132bc commit 66b3a39
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ components = [
],
'start_dir': 'jax-jaxlib-v%(version)s',
'prebuildopts': local_jax_prebuildopts,
# Avoid warning (treated as error) in upb/table.c
'buildopts': '--bazel_options="--copt=-Wno-maybe-uninitialized"',
}),
]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ components = [
],
'start_dir': 'jax-jaxlib-v%(version)s',
'prebuildopts': local_jax_prebuildopts,
# Avoid warning (treated as error) in upb/table.c
'buildopts': '--bazel_options="--copt=-Wno-maybe-uninitialized"',
}),
]

Expand Down
2 changes: 2 additions & 0 deletions easybuild/easyconfigs/j/jax/jax-0.3.23-foss-2022a.eb
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ components = [
],
'start_dir': 'jax-jaxlib-v%(version)s',
'prebuildopts': local_jax_prebuildopts,
# Avoid warning (treated as error) in upb/table.c
'buildopts': '--bazel_options="--copt=-Wno-maybe-uninitialized"',
}),
]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ components = [
],
'start_dir': 'jax-jaxlib-v%(version)s',
'prebuildopts': local_jax_prebuildopts,
# Avoid warning (treated as error) in upb/table.c
'buildopts': '--bazel_options="--copt=-Wno-maybe-uninitialized"',
}),
]

Expand Down
2 changes: 2 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 @@ -76,6 +76,8 @@ components = [
],
'start_dir': 'jax-jaxlib-v%(version)s',
'prebuildopts': local_jax_prebuildopts,
# Avoid warning (treated as error) in upb/table.c
'buildopts': '--bazel_options="--copt=-Wno-maybe-uninitialized"',
}),
]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ components = [
],
'start_dir': 'jax-jaxlib-v%(version)s',
'prebuildopts': local_jax_prebuildopts,
# Avoid warning (treated as error) in upb/table.c
'buildopts': '--bazel_options="--copt=-Wno-maybe-uninitialized"',
}),
]

Expand Down
2 changes: 2 additions & 0 deletions easybuild/easyconfigs/j/jax/jax-0.3.9-foss-2021a.eb
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ components = [
],
'start_dir': 'jax-jaxlib-v%(version)s',
'prebuildopts': local_jax_prebuildopts,
# Avoid warning (treated as error) in upb/table.c
'buildopts': '--bazel_options="--copt=-Wno-maybe-uninitialized"',
}),
]

Expand Down

0 comments on commit 66b3a39

Please sign in to comment.