Skip to content

Commit a793371

Browse files
committed
Add missing auditwheel env var to jaxlib env and fix certain comments
1 parent 91d5ab9 commit a793371

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

build/build.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ def add_artifact_subcommand_global_arguments(parser: argparse.ArgumentParser):
262262
default="",
263263
help="""
264264
Path to the Clang binary to use. Ignored if --ci_mode is set as we use
265-
a custom C++ toolchain in that case.
265+
a custom Clang toolchain in that case.
266266
""",
267267
)
268268

@@ -296,7 +296,7 @@ async def main():
296296
parser = argparse.ArgumentParser(
297297
description=r"""
298298
CLI for building one of the following packages from source: jaxlib,
299-
jax-cuda-plugin, jax-cuda-pjrt, jax-rocm-plugin, jax-rocm-pjrt and for
299+
jax-cuda-plugin, jax-cuda-pjrt, jax-rocm-plugin, jax-rocm-pjrt and for
300300
updating the requirements_lock.txt files
301301
""",
302302
epilog=EPILOG,
@@ -442,7 +442,7 @@ async def main():
442442

443443
# If running in CI mode, we use the "ci_"/"rbe_" configs in the .bazelrc.
444444
# These set a custom C++ Clang toolchain and the CUDA compiler to NVCC
445-
# When not running in CI mode, we detec the path to Clang binary and pass it
445+
# When not running in CI mode, we detect the path to Clang binary and pass it
446446
# to Bazel to use as the C++ compiler. NVCC is used as the CUDA compiler
447447
# unless the user explicitly sets --config=build_cuda_with_clang.
448448
if args.ci_mode:

ci/envs/build_artifacts/jaxlib.env

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,10 @@ source ci/envs/default.env
1818
# Enable jaxlib build.
1919
export JAXCI_BUILD_JAXLIB="1"
2020

21+
os=$(uname -s | awk '{print tolower($0)}')
22+
23+
# Enable wheel audit for Linux builds to check for manylinux compliance.
24+
if [[ $os == "linux" ]]; then
25+
export JAXCI_RUN_AUDITWHEEL="1"
26+
fi
27+

0 commit comments

Comments
 (0)