jax-ml / jax

Composable transformations of Python+NumPy programs: differentiate, vectorize, JIT to GPU/TPU, and more
http://jax.readthedocs.io/
Apache License 2.0
30.5k stars 2.8k forks source link

jaxlib 0.4.32, external CUDA, gcc: error: unrecognized command-line option '--cuda-path=external/cuda_nvcc' #23689

Open adamjstewart opened 1 month ago

adamjstewart commented 1 month ago

Description

When building jaxlib with an externally installed copy of CUDA (something required by all package managers and HPC systems), I see the following error:

gcc: error: unrecognized command-line option '--cuda-path=external/cuda_nvcc'

It's possible I'm passing the wrong flags somewhere. I'm using:

> python3 build/build.py --enable_cuda --cuda_compute_capabilities=8.0 --bazel_options=--repo_env=LOCAL_CUDA_PATH=... --bazel_options=--repo_env=LOCAL_CUDNN_PATH=... --bazel_options=--repo_env=LOCAL_NCCL_PATH=...

(of course, with ... replaced by the actual paths)

System info (python version, jaxlib version, accelerator, etc.)

Build log

ybaturina commented 1 month ago

Hi @adamjstewart GCC compiler is not officially supported by JAX. I recommend using Clang. You can pass the clang path in --clang_path option.

ybaturina commented 1 month ago

If you absolutely need to use GCC, we have an experimental support that can be enabled like this:

--bazel_options=--action_env=CUDA_NVCC="1" --bazel_options=--@local_config_cuda//:cuda_compiler=nvcc

adamjstewart commented 1 month ago

I tried adding these flags but I still see the exact same error:

gcc: error: unrecognized command-line option '--cuda-path=external/cuda_nvcc'
ybaturina commented 1 month ago

Would you paste the full stack trace here please? I'd like to make sure that CUDA_NVCC value is recognized by Bazel.

adamjstewart commented 1 month ago

Here you go:

ybaturina commented 1 month ago

Hmm, one more suggestion: try this ``--bazel_options=--action_env=TF_NVCC_CLANG="1" --bazel_options=--@local_config_cuda//:cuda_compiler=nvcc

The reason why your build fails is that GCC is unable to compile CUDA dependencies, it should be done with NVCC compiler.

adamjstewart commented 1 month ago

Still the same issue:

gcc: error: unrecognized command-line option ‘--cuda-path=external/cuda_nvcc’
ybaturina commented 1 month ago

This is what I've tried:

python3.10 build/build.py --enable_cuda --use_clang=false --bazel_options=--repo_env=CC="/dt9/usr/bin/gcc" --bazel_options=--repo_env=TF_SYSROOT="/dt9" --bazel_options=--action_env=CUDA_NVCC="1" --bazel_options=--@local_config_cuda//:cuda_compiler=nvcc

The subcommand I got:

SUBCOMMAND: # //jaxlib:cpu_feature_guard.so [action 'Compiling jaxlib/cpu_feature_guard.c', configuration: 988f5a730e2bd9c88c71efcc9c7f0d36ad2ec3c5f71c922aabaf7614ff994b0f, execution platform: @local_execution_config_platform//:platform]
(cd /home/ybaturina/.cache/bazel/_bazel_ybaturina/ead9107e8e47a1c42911a02736d63d03/execroot/__main__ && \
  exec env - \
    CUDA_NVCC=1 \
    PATH=/home/kbuilder/.local/bin:/usr/local/bin/python3.10:/home/ybaturina/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin \
    PWD=/proc/self/cwd \
  external/local_config_cuda/crosstool/clang/bin/crosstool_wrapper_driver_is_not_gcc -MD -MF bazel-out/k8-opt/bin/jaxlib/_objs/cpu_feature_guard.so/cpu_feature_guard.pic.d '-frandom-seed=bazel-out/k8-opt/bin/jaxlib/_objs/cpu_feature_guard.so/cpu_feature_guard.pic.o' '-DBAZEL_CURRENT_REPOSITORY=""' -iquote . -iquote bazel-out/k8-opt/bin -iquote external/python_x86_64-unknown-linux-gnu -iquote bazel-out/k8-opt/bin/external/python_x86_64-unknown-linux-gnu -isystem external/python_x86_64-unknown-linux-gnu/include -isystem bazel-out/k8-opt/bin/external/python_x86_64-unknown-linux-gnu/include -isystem external/python_x86_64-unknown-linux-gnu/include/python3.10 -isystem bazel-out/k8-opt/bin/external/python_x86_64-unknown-linux-gnu/include/python3.10 -isystem external/python_x86_64-unknown-linux-gnu/include/python3.10m -isystem bazel-out/k8-opt/bin/external/python_x86_64-unknown-linux-gnu/include/python3.10m -Wno-builtin-macro-redefined '-D__DATE__="redacted"' '-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"' -fPIC -U_FORTIFY_SOURCE '-D_FORTIFY_SOURCE=1' -fstack-protector -Wall -fno-omit-frame-pointer -no-canonical-prefixes -DNDEBUG -g0 -O2 -ffunction-sections -fdata-sections '-fvisibility=hidden' -Wno-sign-compare -Wno-unknown-warning-option -Wno-stringop-truncation -Wno-array-parameter '-DMLIR_PYTHON_PACKAGE_PREFIX=jaxlib.mlir.' -mavx -fno-strict-aliasing -fexceptions '-fvisibility=hidden' '--sysroot=/dt9' -c jaxlib/cpu_feature_guard.c -o bazel-out/k8-opt/bin/jaxlib/_objs/cpu_feature_guard.so/cpu_feature_guard.pic.o)

I didn't get the --cuda_path option passed to the NVCC compiler.

I assume that something in the environment variables on your machine messes up the subcommand configuration. Since JAX doesn't support GCC compilation officially, I strongly recommend using clang for the compilation.

daskol commented 3 weeks ago

There is the --cuda-path issue with GCC for me as well.

Alternatively, I tried to build it with Clang and local CUDA, CUDNN, and NCCL but other issues occure.

In file included from external/xla/xla/tsl/cuda/cudnn_stub.cc:16:
In file included from external/com_google_absl/absl/container/flat_hash_map.h:38:
In file included from external/com_google_absl/absl/algorithm/container.h:43:
In file included from /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/algorithm:61:
In file included from /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/stl_algo.h:71:
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/cstdlib:79:15: fatal error: 'stdlib.h' file not found
   79 | #include_next <stdlib.h>
      |               ^~~~~~~~~~
1 error generated.

Specifically, I run bazel directly as follows.

build/bazel-6.5.0-linux-x86_64 run --verbose_failures=true \
    --repo_env=LOCAL_CUDA_PATH=/opt/cuda \
    --repo_env=LOCAL_CUDNN_PATH=/usr \
    --repo_env=LOCAL_NCCL_PATH=/usr \
    //jaxlib/tools:build_wheel -- \
    --output_path=$PWD/dist --cpu=x86_64 \
    --jaxlib_git_hash=78ade74d695407306461718a6d73cfed89b4d972

Also, I add the following .bazelrc.user to the repository root.

# .bazelrc.user
build --strategy=Genrule=standalone
build --action_env CLANG_COMPILER_PATH="/usr/bin/clang-18"
build --repo_env CC="/usr/bin/clang-18"
build --repo_env BAZEL_COMPILER="/usr/bin/clang-18"
build --copt=-Wno-error=unused-command-line-argument
build --copt=-Wno-gnu-offsetof-extensions
build --config=avx_posix
build --config=mkl_open_source_only
build --config=cuda
build --config=nvcc_clang
build --action_env=CLANG_CUDA_COMPILER_PATH=/usr/bin/clang-18
build --repo_env HERMETIC_PYTHON_VERSION="3.12"

Dependency versions follow.

$ pacman -Qs '(cuda|cudnn|clang)'
local/clang 18.1.8-4
    C language family frontend for LLVM
local/compiler-rt 18.1.8-1
    Compiler runtime libraries for clang
local/cuda 12.6.2-2
    NVIDIA's GPU programming toolkit
local/cudnn 9.2.1.18-1
    NVIDIA CUDA Deep Neural Network library
ybaturina commented 3 weeks ago

This looks like a problem with GCC installation. If you run clang -v, then you'll see smth like this: Selected GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/14

Looking at the error above, I suggest running this command: find /usr/bin/../include -name "stdlib.h If the file is not found in GCC v14, that means you'll need to install missing headers and run sudo apt install g++-14

daskol commented 3 weeks ago

I reproduce the issue for jaxlib from 0.4.32, 0.4.33, and 0.4.34 with clang-14 and clang-18 (depends on gcc and gcc-libs 14.2.1+r134+gab884fffe3fc-1). Also, cuda package depends on gcc-13 (it's Arch).

$ /usr/lib/llvm14/bin/clang-14 -v
clang version 14.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm14/bin
Found candidate GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/13.3.0
Found candidate GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1
Found candidate GCC installation: /usr/lib64/gcc/x86_64-pc-linux-gnu/13.3.0
Found candidate GCC installation: /usr/lib64/gcc/x86_64-pc-linux-gnu/14.2.1
Selected GCC installation: /usr/lib64/gcc/x86_64-pc-linux-gnu/14.2.1
Candidate multilib: .;@m64
Candidate multilib: 32;@m32
Selected multilib: .;@m64

Also I have appended -v option to failed command crosstool_wrapper_driver_is_not_gcc. It displays system search which have stdlib.h.

$ (cd ... && .../crosstool_wrapper_driver_is_not_gcc ... -v)
Selected GCC installation: /usr/lib64/gcc/x86_64-pc-linux-gnu/14.2.1
 ...
 /usr/lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1
 /usr/lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/x86_64-pc-linux-gnu
 /usr/lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/backward
 /usr/lib/llvm14/lib/clang/14.0.6/include
 /usr/local/include
 /usr/include
End of search list.
external/xla/xla/tsl/cuda/cupti_stub.cc:16:10: fatal error: 'third_party/gpus/cuda/extras/CUPTI/include/cupti.h' file not found
#include "third_party/gpus/cuda/extras/CUPTI/include/cupti.h"
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
$ ls -l /usr/lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/stdlib.h 
-rw-r--r-- 1 root root 2.3K Sep 10 13:07 /usr/lib64/gcc/x86_64-pc-linux- gnu/14.2.1/../../../../include/c++/14.2.1/stdlib.h

But it is a bit odd that now third_party/gpus/cuda/extras/CUPTI/include/cupti.h is not found. 🤯

daskol commented 3 weeks ago

There is indeed no directory third_party/gpus. I didn't find third_party/gpus/cuda/extras/CUPTI with the command below. 🤯

find -L bazel-jax-jax-v0.4.34 -name 'CUPTI'

UPD Is it upstream issue (XLA)?

ybaturina commented 3 weeks ago

Would you check if your local CUDA installation has CUPTI headers please? Specifically, the following headers should be present: https://github.com/openxla/xla/blob/main/third_party/tsl/third_party/gpus/cuda/hermetic/cuda_cupti.BUILD.tpl#L21-L58

Also please check that the structure of the local CUDA/CUDNN/NCCL dirs is exactly the same as described here.

daskol commented 3 weeks ago

Sure. I checked and CUPTI is where it should be (i.e. /opt/cuda/extras/CUPTI; CUDA root is /opt/cuda). Also I check include directories for CUPTI and they looks perfect.

-Ibazel-out/k8-opt/bin/external/cuda_cupti/_virtual_includes/headers
-iquote external/cuda_cupti
-isystem bazel-out/k8-opt/bin/external/cuda_cupti/include

However, all these directories are empty. I compare how these directories are looks for other CUDA library (e.g. cufft) and they are not empty. Then I manually symlinked include directory multiple times like

mkdir -p bazel-out/k8-opt/bin/external/cuda_cupti/_virtual_includes/headers/third_party/gpus/cuda/extras/CUPTI
ln -s /opt/cuda/extras/CUPTI/include \
    bazel-out/k8-opt/bin/external/cuda_cupti/_virtual_includes/headers/third_party/gpus/cuda/extras/CUPTI
ln -s /opt/cuda/extras/CUPTI/include \
    bazel-out/k8-opt/bin/external/cuda_cupti/include

and run build ... @xla//xla/tsl/cuda:cupti_stub. Compilation fails.

external/xla/xla/tsl/cuda/BUILD.bazel:240:11: Compiling xla/tsl/cuda/cupti_stub.cc failed: undeclared inclusion(s) in rule '@xla//xla/tsl/cuda:cupti_stub':
this rule is missing dependency declarations for the following files included by 'xla/tsl/cuda/cupti_stub.cc':
  'bazel-out/k8-opt/bin/external/cuda_cupti/_virtual_includes/headers/third_party/gpus/cuda/extras/CUPTI/include/cupti.h'
  'bazel-out/k8-opt/bin/external/cuda_cupti/include/cupti_result.h'
  'bazel-out/k8-opt/bin/external/cuda_cupti/include/cupti_version.h'
  ...

It seems that bazel does not copy and not recreate header library for cupti while it has been done for cufft and others.

Is this trailing slash important? Other BUILD.tpl are without it. https://github.com/openxla/xla/blob/3740d0854106f32a89687484b05fd8947c89ef91/third_party/tsl/third_party/gpus/cuda/hermetic/cuda_cupti.BUILD.tpl#L60

UPD Manual editing of cuda_cupti.BUILD.tpl does not work out. 😔

ybaturina commented 3 weeks ago

The issue is that /opt/cuda/extras/CUPTI is not an acceptable location (see here).

This is how CUDA folder should look like:

<LOCAL_CUDA_PATH>/
    include/
    bin/
    lib/
    nvvm/

So all headers should be located in <LOCAL_CUDA_PATH>/include, and all libraries should be in <LOCAL_CUDA_PATH>/lib.

Also please note that local CUDA installation is not a recommended approach for building from sources.

daskol commented 3 weeks ago

I have already tried it. I copied everything from extras/CUPTI to . but it doesn't help. Moreover, include_prefix = "third_party/gpus/cuda/extras/CUPTI/include" in cuda_cupti.BUILD.tpl differs from those in cuda_*.BUILD.tpl.

ybaturina commented 3 weeks ago

include_prefix corresponds to import prefix in the source files, e.g. this one.

As far as I understand, you use the command below:

build/bazel-6.5.0-linux-x86_64 run --verbose_failures=true \
    --repo_env=LOCAL_CUDA_PATH=/opt/cuda \
    --repo_env=LOCAL_CUDNN_PATH=/usr \
    --repo_env=LOCAL_NCCL_PATH=/usr \
    //jaxlib/tools:build_wheel -- \
    --output_path=$PWD/dist --cpu=x86_64 \
    --jaxlib_git_hash=78ade74d695407306461718a6d73cfed89b4d972

Would you confirm that all CUDA headers are located in /opt/cuda/include, and all NCCL/CUDNN headers are in /usr/include? If so, please clean Bazel cache via bazel clean --expunge and run the command again. If it fails, I would appreciate it if you post the full log here.

daskol commented 3 weeks ago

Would you confirm that all CUDA headers are located in /opt/cuda/include, and all NCCL/CUDNN headers are in /usr/include?

Absolutely.

If so, please clean Bazel cache via bazel clean --expunge and run the command again. If it fails, I would appreciate it if you post the full log here.

Link.

Since target @xla//xla/tsl/cuda:cudnn_stub fails first due to missing <stdlib.h> in this time, I run building @xla//xla/tsl/cuda:cupti_stub that fails too because of "third_party/gpus/cuda/extras/CUPTI/include/cupti.h" (logs).

build/bazel-6.5.0-linux-x86_64 build --verbose_failures=true \
    --repo_env=LOCAL_CUDA_PATH=/opt/cuda \
    --repo_env=LOCAL_CUDNN_PATH=/usr \
    --repo_env=LOCAL_NCCL_PATH=/usr \
    @xla//xla/tsl/cuda:cupti_stub
ybaturina commented 3 weeks ago

Can you check this folder please? /home/bershatsky/.cache/bazel/_bazel_bershatsky/3be6d6eea05ac1cf650a152f41829d38/external/cuda_cupti Does it have symlink include pointing to /opt/cuda/include?

Please don't build @xla//xla/tsl/cuda:cupti_stub, try @cuda_cupti//:headers instead - this is the dependency used in Bazel tests for CUDA.

daskol commented 3 weeks ago

Does it have symlink include pointing to /opt/cuda/include?

Yes, it have include and others. I checked BUILD in this directory. All headers are commented (link).

Please don't build @xla//xla/tsl/cuda:cupti_stub, try @cuda_cupti//:headers instead - this is the dependency used in Bazel tests for CUDA.

Target @cuda_cupti//:headers has been successfully built. Isn't target @xla//xla/tsl/cuda:cupti_stub a dependency of //jaxlib/tools:build_wheel?

$ build/bazel-6.5.0-linux-x86_64 query \
    --repo_env=LOCAL_CUDA_PATH=/opt/cuda \
    --repo_env=LOCAL_CUDNN_PATH=/usr \
    --repo_env=LOCAL_NCCL_PATH=/usr \
    "deps(kind(rule, deps(//jaxlib/tools:build_wheel)))" | grep cupti
...
@xla//xla/tsl/cuda:cupti_stub
...
daskol commented 3 weeks ago

I also noticed one important thing: you execute bazel run and bazel build without passing --config=cuda.

I put all auxiliary options to .bazelrc.user. I believe that this is equivalent.

build --strategy=Genrule=standalone
build --action_env CLANG_COMPILER_PATH="/usr/lib/llvm14/bin/clang-14"
build --repo_env CC="/usr/lib/llvm14/bin/clang-14"
build --repo_env BAZEL_COMPILER="/usr/lib/llvm14/bin/clang-14"
build --copt=-Wno-error=unused-command-line-argument
build --copt=-Wno-gnu-offsetof-extensions
build --config=avx_posix
build --config=mkl_open_source_only
build --config=cuda
build --config=cuda_nvcc
build --action_env=CLANG_CUDA_COMPILER_PATH="/usr/lib/llvm14/bin/clang-14"
build --repo_env HERMETIC_PYTHON_VERSION="3.12"
ybaturina commented 3 weeks ago

The headers are commented out in two cases: 1) Bazel command didn't receive the instruction to use --config=cuda option. 2) the CUDA repository rule was unable to find CUPTI libraries in /opt/cuda/lib and assumed that CUPTI redistribution is absent, hence commented out the headers.

bazel query doesn't recognize Bazel options (including those provided in --config=cuda). To find true dependencies, you can use bazel cquery):

Here are my results:

bazel cquery --repo_env=LOCAL_CUDA_PATH="/home/ybaturina/cuda" --repo_env=LOCAL_CUDNN_PATH="/home/ybaturina/cudnn" --repo_env=LOCAL_NCCL_PATH="/home/ybaturina/Downloads/dists/nvidia/nccl" --repo_env=HERMETIC_PYTHON_VERSION=3.10 --config=cuda 'somepath(//jaxlib/tools:build_wheel, @xla//xla/tsl/cuda:cupti_stub)' - returns nothing

bazel cquery --repo_env=LOCAL_CUDA_PATH="/home/ybaturina/cuda" --repo_env=LOCAL_CUDNN_PATH="/home/ybaturina/cudnn" --repo_env=LOCAL_NCCL_PATH="/home/ybaturina/Downloads/dists/nvidia/nccl" --repo_env=HERMETIC_PYTHON_VERSION=3.10 --config=cuda 'somepath(//jaxlib/tools:build_wheel, @cuda_cupti//:headers)' - returns the result below:

INFO: Found 2 targets...
//jaxlib/tools:build_wheel (e356dec)
//jaxlib/cuda:cuda_gpu_support (e356dec)
//jaxlib/mosaic/gpu:mosaic_gpu (e356dec)
//jaxlib/mosaic/gpu:_mosaic_gpu_ext (e356dec)
//jaxlib/mosaic/gpu:_mosaic_gpu_ext.so (e356dec)
//jaxlib/cuda:cuda_vendor (e356dec)
@xla//xla/tsl/cuda:cupti (e356dec)
@cuda_cupti//:cupti (e356dec)
@cuda_cupti//:cupti_shared_library (e356dec)
@cuda_cupti//:headers (e356dec)
daskol commented 3 weeks ago

It seems that missing header error is caused by #include_next GNU extension and ordering of -isystem search paths in Bazel(?). Actual search path ordering follows.

 ...
#include <...> search starts here:
 ...
 /usr/include/c++/14.2.1
 /usr/include/c++/14.2.1/x86_64-pc-linux-gnu
 /usr/include/c++/14.2.1/backward
 /usr/lib/llvm14/lib/clang/14.0.6/include
 /usr/local/include
End of search list.

And #include_next directive passes inclusion of stdlib.h to the next match which is supposedly stdlib.h in /usr/local. But /usr/local is not in the search list. The list of available stdlib.h in the system.

$ find /usr -iname stdlib.h
/usr/include/bits/stdlib.h
/usr/include/c++/14.2.1/stdlib.h
/usr/include/c++/14.2.1/tr1/stdlib.h
/usr/include/stdlib.h

No idea how to easily fix the issue. Adding --cxxopt=-isystem/usr/include to build options does not help. It seems also that bazel sorts search paths alphabetically.

actionless commented 1 week ago

when i running the command on pretty much default arch linux box,

    JAXLIB_RELEASE=$pkgver python build/build.py \
        --bazel_startup_options="--output_user_root=$srcdir/bazel"\
        --bazel_options='--action_env=JAXLIB_RELEASE' \
        --enable_cuda \
        --target_cpu_features=release

i don't have a problem with locating stdlib header but have another problem related to it:

ERROR: /home/lie/.cache/pikaur/build/python-jaxlib-cuda/src/jax-jaxlib-v0.4.32/jaxlib/cuda/BUILD:75:13: Compiling jaxlib/gpu/make_batch_pointers.cu.cc failed: (Exit 2): crosstool_wrapper_driver_is_not_gcc failed: error executing command (from target //jaxlib/cuda:cuda_make_batch_pointers)
  (cd /home/lie/.cache/pikaur/build/python-jaxlib-cuda/src/bazel/8a8ca1fd42886b1189093a9473f4da62/execroot/__main__ && \
  exec env - \
    CLANG_COMPILER_PATH=/usr/bin/clang-18 \
    CLANG_CUDA_COMPILER_PATH=/usr/bin/clang-18 \
    CUDA_TOOLKIT_PATH=/opt/cuda \
    GCC_HOST_COMPILER_PATH=/usr/bin/gcc-13 \
    JAXLIB_RELEASE=0.4.32 \
    NCCL_INSTALL_PATH=/usr \
    PATH=/usr/local/sbin:/usr/local/bin:/usr/bin \
    PWD=/proc/self/cwd \
    TF_CUDA_COMPUTE_CAPABILITIES=sm_70,sm_75,sm_80,sm_86,sm_89,sm_90,compute_90 \
    TF_CUDA_PATHS=/opt/cuda,/usr/lib,/usr \
    TF_NVCC_CLANG=1 \
  external/local_config_cuda/crosstool/clang/bin/crosstool_wrapper_driver_is_not_gcc -MD -MF bazel-out/k8-opt/bin/jaxlib/cuda/_objs/cuda_make_batch_pointers/make_batch_pointers.cu.pic.d '-frandom-seed=bazel-out/k8-opt/bin/jaxlib/cuda/_objs/cuda_make_batch_pointers/make_batch_pointers.cu.pic.o' '-DEIGEN_MAX_ALIGN_BYTES=64' -DEIGEN_ALLOW_UNALIGNED_SCALARS '-DEIGEN_USE_AVX512_GEMM_KERNELS=0' '-DJAX_GPU_CUDA=1' '-DBAZEL_CURRENT_REPOSITORY=""' -iquote . -iquote bazel-out/k8-opt/bin -iquote external/local_config_cuda -iquote bazel-out/k8-opt/bin/external/local_config_cuda -iquote external/cuda_cudart -iquote bazel-out/k8-opt/bin/external/cuda_cudart -iquote external/cuda_cublas -iquote bazel-out/k8-opt/bin/external/cuda_cublas -iquote external/cuda_cccl -iquote bazel-out/k8-opt/bin/external/cuda_cccl -iquote external/cuda_nvtx -iquote bazel-out/k8-opt/bin/external/cuda_nvtx -iquote external/cuda_nvcc -iquote bazel-out/k8-opt/bin/external/cuda_nvcc -iquote external/cuda_cusolver -iquote bazel-out/k8-opt/bin/external/cuda_cusolver -iquote external/cuda_cufft -iquote bazel-out/k8-opt/bin/external/cuda_cufft -iquote external/cuda_cusparse -iquote bazel-out/k8-opt/bin/external/cuda_cusparse -iquote external/cuda_curand -iquote bazel-out/k8-opt/bin/external/cuda_curand -iquote external/cuda_cupti -iquote bazel-out/k8-opt/bin/external/cuda_cupti -iquote external/cuda_nvml -iquote bazel-out/k8-opt/bin/external/cuda_nvml -iquote external/cuda_nvjitlink -iquote bazel-out/k8-opt/bin/external/cuda_nvjitlink -iquote external/cuda_cudnn -iquote bazel-out/k8-opt/bin/external/cuda_cudnn -iquote external/xla -iquote bazel-out/k8-opt/bin/external/xla -iquote external/tsl -iquote bazel-out/k8-opt/bin/external/tsl -iquote external/eigen_archive -iquote bazel-out/k8-opt/bin/external/eigen_archive -iquote external/ml_dtypes -iquote bazel-out/k8-opt/bin/external/ml_dtypes -iquote external/com_google_absl -iquote bazel-out/k8-opt/bin/external/com_google_absl -iquote external/nsync -iquote bazel-out/k8-opt/bin/external/nsync -iquote external/double_conversion -iquote bazel-out/k8-opt/bin/external/double_conversion -iquote external/com_google_protobuf -iquote bazel-out/k8-opt/bin/external/com_google_protobuf -iquote external/zlib -iquote bazel-out/k8-opt/bin/external/zlib -iquote external/local_config_rocm -iquote bazel-out/k8-opt/bin/external/local_config_rocm -iquote external/local_config_tensorrt -iquote bazel-out/k8-opt/bin/external/local_config_tensorrt -iquote external/nccl_archive -iquote bazel-out/k8-opt/bin/external/nccl_archive -Ibazel-out/k8-opt/bin/external/local_config_cuda/cuda/_virtual_includes/cuda_headers -Ibazel-out/k8-opt/bin/external/cuda_cudart/_virtual_includes/headers -Ibazel-out/k8-opt/bin/external/cuda_cublas/_virtual_includes/headers -Ibazel-out/k8-opt/bin/external/cuda_cccl/_virtual_includes/headers -Ibazel-out/k8-opt/bin/external/cuda_nvtx/_virtual_includes/headers -Ibazel-out/k8-opt/bin/external/cuda_nvcc/_virtual_includes/headers -Ibazel-out/k8-opt/bin/external/cuda_cusolver/_virtual_includes/headers -Ibazel-out/k8-opt/bin/external/cuda_cufft/_virtual_includes/headers -Ibazel-out/k8-opt/bin/external/cuda_cusparse/_virtual_includes/headers -Ibazel-out/k8-opt/bin/external/cuda_curand/_virtual_includes/headers -Ibazel-out/k8-opt/bin/external/cuda_cupti/_virtual_includes/headers -Ibazel-out/k8-opt/bin/external/cuda_nvml/_virtual_includes/headers -Ibazel-out/k8-opt/bin/external/cuda_nvjitlink/_virtual_includes/headers -Ibazel-out/k8-opt/bin/external/cuda_cudnn/_virtual_includes/headers -Ibazel-out/k8-opt/bin/external/ml_dtypes/_virtual_includes/float8 -Ibazel-out/k8-opt/bin/external/ml_dtypes/_virtual_includes/intn -Ibazel-out/k8-opt/bin/external/local_config_tensorrt/_virtual_includes/tensorrt_headers -Ibazel-out/k8-opt/bin/external/nccl_archive/_virtual_includes/nccl_config -isystem external/local_config_cuda/cuda -isystem bazel-out/k8-opt/bin/external/local_config_cuda/cuda -isystem external/cuda_cudart/include -isystem bazel-out/k8-opt/bin/external/cuda_cudart/include -isystem external/cuda_cublas/include -isystem bazel-out/k8-opt/bin/external/cuda_cublas/include -isystem external/cuda_cccl/include -isystem bazel-out/k8-opt/bin/external/cuda_cccl/include -isystem external/cuda_nvtx/include -isystem bazel-out/k8-opt/bin/external/cuda_nvtx/include -isystem external/cuda_nvcc/include -isystem bazel-out/k8-opt/bin/external/cuda_nvcc/include -isystem external/cuda_cusolver/include -isystem bazel-out/k8-opt/bin/external/cuda_cusolver/include -isystem external/cuda_cufft/include -isystem bazel-out/k8-opt/bin/external/cuda_cufft/include -isystem external/cuda_cusparse/include -isystem bazel-out/k8-opt/bin/external/cuda_cusparse/include -isystem external/cuda_curand/include -isystem bazel-out/k8-opt/bin/external/cuda_curand/include -isystem external/cuda_cupti/include -isystem bazel-out/k8-opt/bin/external/cuda_cupti/include -isystem external/cuda_nvml/include -isystem bazel-out/k8-opt/bin/external/cuda_nvml/include -isystem external/cuda_nvjitlink/include -isystem bazel-out/k8-opt/bin/external/cuda_nvjitlink/include -isystem external/cuda_cudnn/include -isystem bazel-out/k8-opt/bin/external/cuda_cudnn/include -isystem external/eigen_archive -isystem bazel-out/k8-opt/bin/external/eigen_archive -isystem external/eigen_archive/mkl_include -isystem bazel-out/k8-opt/bin/external/eigen_archive/mkl_include -isystem external/ml_dtypes -isystem bazel-out/k8-opt/bin/external/ml_dtypes -isystem external/ml_dtypes/ml_dtypes -isystem bazel-out/k8-opt/bin/external/ml_dtypes/ml_dtypes -isystem external/nsync/public -isystem bazel-out/k8-opt/bin/external/nsync/public -isystem external/com_google_protobuf/src -isystem bazel-out/k8-opt/bin/external/com_google_protobuf/src -isystem external/zlib -isystem bazel-out/k8-opt/bin/external/zlib -isystem external/local_config_rocm/rocm -isystem bazel-out/k8-opt/bin/external/local_config_rocm/rocm -isystem external/local_config_rocm/rocm/rocm/include -isystem bazel-out/k8-opt/bin/external/local_config_rocm/rocm/rocm/include -isystem external/local_config_rocm/rocm/rocm/include/rocrand -isystem bazel-out/k8-opt/bin/external/local_config_rocm/rocm/rocm/include/rocrand -isystem external/local_config_rocm/rocm/rocm/include/roctracer -isystem bazel-out/k8-opt/bin/external/local_config_rocm/rocm/rocm/include/roctracer -fmerge-all-constants -Wno-builtin-macro-redefined '-D__DATE__="redacted"' '-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"' -fPIC -U_FORTIFY_SOURCE '-D_FORTIFY_SOURCE=1' -fstack-protector -Wall -fno-omit-frame-pointer -no-canonical-prefixes -DNDEBUG -g0 -O2 -ffunction-sections -fdata-sections '--cuda-path=external/cuda_nvcc' '-fvisibility=hidden' -Wno-sign-compare -Wno-unknown-warning-option -Wno-stringop-truncation -Wno-array-parameter '-DMLIR_PYTHON_PACKAGE_PREFIX=jaxlib.mlir.' '-Wno-error=unused-command-line-argument' -Wno-gnu-offsetof-extensions -mavx -Wno-gnu-offsetof-extensions -Qunused-arguments '-std=c++17' -x cuda '-DGOOGLE_CUDA=1' '--no-cuda-include-ptx=all' '--cuda-gpu-arch=sm_50' '--cuda-gpu-arch=sm_60' '--cuda-gpu-arch=sm_70' '--cuda-gpu-arch=sm_80' '--cuda-include-ptx=sm_90' '--cuda-gpu-arch=sm_90' '-Xcuda-fatbinary=--compress-all' '-nvcc_options=expt-relaxed-constexpr' -c jaxlib/gpu/make_batch_pointers.cu.cc -o bazel-out/k8-opt/bin/jaxlib/cuda/_objs/cuda_make_batch_pointers/make_batch_pointers.cu.pic.o)
# Configuration: 40116f3bac97303e7dcbac2b0176d8c2300ec77420ba81e4743a9a16e63d74ec
# Execution platform: @local_execution_config_platform//:platform
/home/lie/.cache/pikaur/build/python-jaxlib-cuda/src/bazel/8a8ca1fd42886b1189093a9473f4da62/execroot/__main__/external/local_config_cuda/crosstool/clang/bin/crosstool_wrapper_driver_is_not_gcc:225: SyntaxWarning: invalid escape sequence '\.'
  re.search('\.cpp$|\.cc$|\.c$|\.cxx$|\.C$', f)]
/usr/include/bits/stdlib.h(37): error: linkage specification is incompatible with previous "realpath" (declared at line 940 of /usr/include/stdlib.h)
   realpath (const char *__restrict __name, char * __restrict const __attribute__ ((__pass_object_size__ (1 > 1))) __resolved) noexcept (true)
   ^

/usr/include/bits/stdlib.h(72): error: linkage specification is incompatible with previous "ptsname_r" (declared at line 1134 of /usr/include/stdlib.h)
   ptsname_r (int __fd, char * const __attribute__ ((__pass_object_size__ (1 > 1))) __buf, size_t __buflen) noexcept (true)
   ^

/usr/include/bits/stdlib.h(91): error: linkage specification is incompatible with previous "wctomb" (declared at line 1069 of /usr/include/stdlib.h)
   wctomb (char * const __attribute__ ((__pass_object_size__ (1 > 1))) __s, wchar_t __wchar) noexcept (true)
   ^

/usr/include/bits/stdlib.h(129): error: linkage specification is incompatible with previous "mbstowcs" (declared at line 1073 of /usr/include/stdlib.h)
   mbstowcs (wchar_t * __restrict const __attribute__ ((__pass_object_size__ (1 > 1))) __dst, const char *__restrict __src, size_t __len) noexcept (true)
   ^

/usr/include/bits/stdlib.h(159): error: linkage specification is incompatible with previous "wcstombs" (declared at line 1077 of /usr/include/stdlib.h)
   wcstombs (char * __restrict const __attribute__ ((__pass_object_size__ (1 > 1))) __dst, const wchar_t *__restrict __src, size_t __len) noexcept (true)
   ^

/usr/include/bits/string_fortified.h(77): error: linkage specification is incompatible with previous "strcpy" (declared at line 141 of /usr/include/string.h)
   strcpy (char * __restrict const __attribute__ ((__pass_object_size__ (1 > 1))) __dest, const char *__restrict __src) noexcept (true)
   ^

/usr/include/bits/string_fortified.h(86): error: linkage specification is incompatible with previous "stpcpy" (declared at line 491 of /usr/include/string.h)
   stpcpy (char * __restrict const __attribute__ ((__pass_object_size__ (1 > 1))) __dest, const char *__restrict __src) noexcept (true)
   ^

/usr/include/bits/string_fortified.h(96): error: linkage specification is incompatible with previous "strncpy" (declared at line 144 of /usr/include/string.h)
   strncpy (char * __restrict const __attribute__ ((__pass_object_size__ (1 > 1))) __dest, const char *__restrict __src, size_t __len) noexcept (true)
   ^

/usr/include/bits/string_fortified.h(107): error: linkage specification is incompatible with previous "stpncpy" (declared at line 499 of /usr/include/string.h)
   stpncpy (char * const __attribute__ ((__pass_object_size__ (1 > 1))) __dest, const char *__src, size_t __n) noexcept (true)
   ^

/usr/include/bits/string_fortified.h(136): error: linkage specification is incompatible with previous "strcat" (declared at line 149 of /usr/include/string.h)
   strcat (char * __restrict const __attribute__ ((__pass_object_size__ (1 > 1))) __dest, const char *__restrict __src) noexcept (true)
   ^

/usr/include/bits/string_fortified.h(145): error: linkage specification is incompatible with previous "strncat" (declared at line 152 of /usr/include/string.h)
   strncat (char * __restrict const __attribute__ ((__pass_object_size__ (1 > 1))) __dest, const char *__restrict __src, size_t __len) noexcept (true)
   ^

/usr/include/bits/string_fortified.h(161): error: linkage specification is incompatible with previous "strlcpy" (declared at line 506 of /usr/include/string.h)
   strlcpy (char * __restrict const __attribute__ ((__pass_object_size__ (1 > 1))) __dest, const char *__restrict __src, size_t __n) noexcept (true)
   ^

/usr/include/bits/string_fortified.h(179): error: linkage specification is incompatible with previous "strlcat" (declared at line 512 of /usr/include/string.h)
   strlcat (char * __restrict const __attribute__ ((__pass_object_size__ (1 > 1))) __dest, const char *__restrict __src, size_t __n) noexcept (true)
   ^

/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/tuple(2962): error: type name is not allowed
     static_assert(!__reference_constructs_from_temporary(_Tp, _Elt));
                                                          ^

/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/tuple(2962): error: type name is not allowed
     static_assert(!__reference_constructs_from_temporary(_Tp, _Elt));
                                                               ^

/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/tuple(2962): error: identifier "__reference_constructs_from_temporary" is undefined
     static_assert(!__reference_constructs_from_temporary(_Tp, _Elt));
                    ^

/usr/include/bits/wchar2.h(24): error: linkage specification is incompatible with previous "wmemcpy" (declared at line 287 of /usr/include/wchar.h)
   wmemcpy (wchar_t * __restrict const __attribute__ ((__pass_object_size__ (1 > 1))) __s1, const wchar_t *__restrict __s2, size_t __n) noexcept (true)
   ^

/usr/include/bits/wchar2.h(36): error: linkage specification is incompatible with previous "wmemmove" (declared at line 292 of /usr/include/wchar.h)
   wmemmove (wchar_t * const __attribute__ ((__pass_object_size__ (1 > 1))) __s1, const wchar_t *__s2, size_t __n) noexcept (true)
   ^

/usr/include/bits/wchar2.h(49): error: linkage specification is incompatible with previous "wmempcpy" (declared at line 301 of /usr/include/wchar.h)
   wmempcpy (wchar_t * __restrict const __attribute__ ((__pass_object_size__ (1 > 1))) __s1, const wchar_t *__restrict __s2, size_t __n) noexcept (true)
   ^

/usr/include/bits/wchar2.h(62): error: linkage specification is incompatible with previous "wmemset" (declared at line 296 of /usr/include/wchar.h)
   wmemset (wchar_t * const __attribute__ ((__pass_object_size__ (1 > 1))) __s, wchar_t __c, size_t __n) noexcept (true)
   ^

/usr/include/bits/wchar2.h(74): error: linkage specification is incompatible with previous "wcscpy" (declared at line 98 of /usr/include/wchar.h)
   wcscpy (wchar_t * __restrict const __attribute__ ((__pass_object_size__ (1 > 1))) __dest, const wchar_t *__restrict __src) noexcept (true)
   ^

/usr/include/bits/wchar2.h(84): error: linkage specification is incompatible with previous "wcpcpy" (declared at line 689 of /usr/include/wchar.h)
   wcpcpy (wchar_t * __restrict const __attribute__ ((__pass_object_size__ (1 > 1))) __dest, const wchar_t *__restrict __src) noexcept (true)
   ^

/usr/include/bits/wchar2.h(94): error: linkage specification is incompatible with previous "wcsncpy" (declared at line 103 of /usr/include/wchar.h)
   wcsncpy (wchar_t * __restrict const __attribute__ ((__pass_object_size__ (1 > 1))) __dest, const wchar_t *__restrict __src, size_t __n) noexcept (true)
   ^

/usr/include/bits/wchar2.h(106): error: linkage specification is incompatible with previous "wcpncpy" (declared at line 694 of /usr/include/wchar.h)
   wcpncpy (wchar_t * __restrict const __attribute__ ((__pass_object_size__ (1 > 1))) __dest, const wchar_t *__restrict __src, size_t __n) noexcept (true)
   ^

/usr/include/bits/wchar2.h(118): error: linkage specification is incompatible with previous "wcscat" (declared at line 121 of /usr/include/wchar.h)
   wcscat (wchar_t * __restrict const __attribute__ ((__pass_object_size__ (1 > 1))) __dest, const wchar_t *__restrict __src) noexcept (true)
   ^

/usr/include/bits/wchar2.h(128): error: linkage specification is incompatible with previous "wcsncat" (declared at line 125 of /usr/include/wchar.h)
   wcsncat (wchar_t * __restrict const __attribute__ ((__pass_object_size__ (1 > 1))) __dest, const wchar_t *__restrict __src, size_t __n) noexcept (true)
   ^

/usr/include/bits/wchar2.h(139): error: linkage specification is incompatible with previous "wcslcpy" (declared at line 109 of /usr/include/wchar.h)
   wcslcpy (wchar_t * __restrict const __attribute__ ((__pass_object_size__ (1 > 1))) __dest, const wchar_t *__restrict __src, size_t __n) noexcept (true)
   ^

/usr/include/bits/wchar2.h(155): error: linkage specification is incompatible with previous "wcslcat" (declared at line 115 of /usr/include/wchar.h)
   wcslcat (wchar_t * __restrict const __attribute__ ((__pass_object_size__ (1 > 1))) __dest, const wchar_t *__restrict __src, size_t __n) noexcept (true)
   ^

/usr/include/bits/wchar2.h(254): error: linkage specification is incompatible with previous "fgetws" (declared at line 964 of /usr/include/wchar.h)
  fgetws (wchar_t * __restrict const __attribute__ ((__pass_object_size__ (1 > 1))) __s, int __n,
  ^

/usr/include/bits/wchar2.h(272): error: linkage specification is incompatible with previous "fgetws_unlocked" (declared at line 1026 of /usr/include/wchar.h)
  fgetws_unlocked (wchar_t * __restrict const __attribute__ ((__pass_object_size__ (1 > 1))) __s,
  ^

/usr/include/bits/wchar2.h(291): error: linkage specification is incompatible with previous "wcrtomb" (declared at line 326 of /usr/include/wchar.h)
   wcrtomb (char * __restrict const __attribute__ ((__pass_object_size__ (1 > 1))) __s, wchar_t __wchar, mbstate_t *__restrict __ps) noexcept (true)
   ^

/usr/include/bits/wchar2.h(308): error: linkage specification is incompatible with previous "mbsrtowcs" (declared at line 362 of /usr/include/wchar.h)
   mbsrtowcs (wchar_t * __restrict const __attribute__ ((__pass_object_size__ (1 > 1))) __dst, const char **__restrict __src, size_t __len, mbstate_t *__restrict __ps) noexcept (true)
   ^

/usr/include/bits/wchar2.h(321): error: linkage specification is incompatible with previous "wcsrtombs" (declared at line 368 of /usr/include/wchar.h)
   wcsrtombs (char * __restrict const __attribute__ ((__pass_object_size__ (1 > 1))) __dst, const wchar_t **__restrict __src, size_t __len, mbstate_t *__restrict __ps) noexcept (true)
   ^

/usr/include/bits/wchar2.h(336): error: linkage specification is incompatible with previous "mbsnrtowcs" (declared at line 376 of /usr/include/wchar.h)
   mbsnrtowcs (wchar_t * __restrict const __attribute__ ((__pass_object_size__ (1 > 1))) __dst, const char **__restrict __src, size_t __nmc, size_t __len, mbstate_t *__restrict __ps) noexcept (true)
   ^

/usr/include/bits/wchar2.h(349): error: linkage specification is incompatible with previous "wcsnrtombs" (declared at line 382 of /usr/include/wchar.h)
   wcsnrtombs (char * __restrict const __attribute__ ((__pass_object_size__ (1 > 1))) __dst, const wchar_t **__restrict __src, size_t __nwc, size_t __len, mbstate_t *__restrict __ps) noexcept (true)
   ^

/usr/include/bits/unistd.h(26): error: linkage specification is incompatible with previous "read" (declared at line 371 of /usr/include/unistd.h)
  read (int __fd, void * const __attribute__ ((__pass_object_size__ (0))) __buf, size_t __nbytes)
  ^

/usr/include/bits/unistd.h(40): error: linkage specification is incompatible with previous "pread" (declared at line 389 of /usr/include/unistd.h)
  pread (int __fd, void * const __attribute__ ((__pass_object_size__ (0))) __buf,
  ^

/usr/include/bits/unistd.h(66): error: linkage specification is incompatible with previous "pread64" (declared at line 422 of /usr/include/unistd.h)
  pread64 (int __fd, void * const __attribute__ ((__pass_object_size__ (0))) __buf,
  ^

/usr/include/bits/unistd.h(81): error: linkage specification is incompatible with previous "readlink" (declared at line 838 of /usr/include/unistd.h)
   readlink (const char *__restrict __path, char * __restrict const __attribute__ ((__pass_object_size__ (0))) __buf, size_t __len) noexcept (true)
   ^

/usr/include/bits/unistd.h(97): error: linkage specification is incompatible with previous "readlinkat" (declared at line 851 of /usr/include/unistd.h)
   readlinkat (int __fd, const char *__restrict __path, char * __restrict const __attribute__ ((__pass_object_size__ (0))) __buf, size_t __len) noexcept (true)
   ^

/usr/include/bits/unistd.h(111): error: linkage specification is incompatible with previous "getcwd" (declared at line 531 of /usr/include/unistd.h)
   getcwd (char * const __attribute__ ((__pass_object_size__ (1 > 1))) __buf, size_t __size) noexcept (true)
   ^

/usr/include/bits/unistd.h(124): error: linkage specification is incompatible with previous "getwd" (declared at line 545 of /usr/include/unistd.h)
   getwd (char * const __attribute__ ((__pass_object_size__ (1 > 1))) __buf) noexcept (true)
   ^

/usr/include/bits/unistd.h(133): error: linkage specification is incompatible with previous "confstr" (declared at line 644 of /usr/include/unistd.h)
   confstr (int __name, char * const __attribute__ ((__pass_object_size__ (1 > 1))) __buf, size_t __len) noexcept (true)
   ^

/usr/include/bits/unistd.h(146): error: linkage specification is incompatible with previous "getgroups" (declared at line 711 of /usr/include/unistd.h)
   getgroups (int __size, __gid_t * const __attribute__ ((__pass_object_size__ (1 > 1))) __list) noexcept (true)
   ^

/usr/include/bits/unistd.h(160): error: linkage specification is incompatible with previous "ttyname_r" (declared at line 803 of /usr/include/unistd.h)
   ttyname_r (int __fd, char * const __attribute__ ((__pass_object_size__ (1 > 1))) __buf, size_t __buflen) noexcept (true)
   ^

/usr/include/bits/unistd.h(175): error: linkage specification is incompatible with previous "getlogin_r" (declared at line 889 of /usr/include/unistd.h)
  getlogin_r (char * const __attribute__ ((__pass_object_size__ (1 > 1))) __buf, size_t __buflen)
  ^

/usr/include/bits/unistd.h(189): error: linkage specification is incompatible with previous "gethostname" (declared at line 911 of /usr/include/unistd.h)
   gethostname (char * const __attribute__ ((__pass_object_size__ (1 > 1))) __buf, size_t __buflen) noexcept (true)
   ^

/usr/include/bits/unistd.h(204): error: linkage specification is incompatible with previous "getdomainname" (declared at line 930 of /usr/include/unistd.h)
   getdomainname (char * const __attribute__ ((__pass_object_size__ (1 > 1))) __buf, size_t __buflen) noexcept (true)
   ^

/usr/include/bits/stdio2.h(55): error: linkage specification is incompatible with previous "vsprintf" (declared at line 380 of /usr/include/stdio.h)
   vsprintf (char * __restrict const __attribute__ ((__pass_object_size__ (1 > 1))) __s, const char *__restrict __fmt, __gnuc_va_list __ap) noexcept (true)
   ^

/usr/include/bits/stdio2.h(93): error: linkage specification is incompatible with previous "vsnprintf" (declared at line 389 of /usr/include/stdio.h)
   vsnprintf (char * __restrict const __attribute__ ((__pass_object_size__ (1 > 1))) __s, size_t __n, const char *__restrict __fmt, __gnuc_va_list __ap) noexcept (true)
   ^

/usr/include/bits/stdio2.h(305): error: linkage specification is incompatible with previous "fgets" (declared at line 654 of /usr/include/stdio.h)
  fgets (char * __restrict const __attribute__ ((__pass_object_size__ (1 > 1))) __s, int __n,
  ^

/usr/include/bits/stdio2.h(322): error: linkage specification is incompatible with previous "fread" (declared at line 728 of /usr/include/stdio.h)
  fread (void * __restrict const __attribute__ ((__pass_object_size__ (1 > 1))) __ptr,
  ^

/usr/include/bits/stdio2.h(342): error: linkage specification is incompatible with previous "fgets_unlocked" (declared at line 677 of /usr/include/stdio.h)
  fgets_unlocked (char * __restrict const __attribute__ ((__pass_object_size__ (1 > 1))) __s,
  ^

/usr/include/bits/stdio2.h(362): error: linkage specification is incompatible with previous "fread_unlocked" (declared at line 756 of /usr/include/stdio.h)
  fread_unlocked (void * __restrict const __attribute__ ((__pass_object_size__ (0))) __ptr,
  ^

54 errors detected in the compilation of "jaxlib/gpu/make_batch_pointers.cu.cc".
Target //jaxlib/tools:build_wheel failed to build
ybaturina commented 1 week ago

Can you try this command please?

python build/build.py --enable_cuda --build_gpu_plugin --gpu_plugin_cuda_version=12 --clang_path=<absolute clang compiler path> --use_cuda_nvcc=false

Please note that clang_path should be a real path, not a symlink.

We are planning to update instructions how to build JAX from source.

actionless commented 1 week ago

then i have the same problem as daskol :

clang-18: error: cannot find CUDA installation; provide its path via '--cuda-path', or pass '-nocudainc' to build without CUDA i
ncludes
Target //jaxlib/tools:build_wheel failed to build

if adding:

    #--bazel_options='--repo_env=LOCAL_CUDA_PATH=/opt/cuda' \

message about missing "third_party/gpus/cuda/extras/CUPTI/include/cupti.h"

i've also tried several hacks, like

mkdir -p 'third_party/gpus/'
ln -s /opt/cuda/ 'third_party/gpus/cuda'

and rebuilding after cleaning bazel cache - but still having either one or another of two above error messages

ybaturina commented 1 week ago

May I ask you to describe your use case? Why is it necessary to use the local CUDA path in your scenario? Also would you attach the full log for running builds script please?

actionless commented 1 week ago

i thought it's necessary to build with locally installed cuda version, to have api compatibility matching

regarding build log, it's normally showing only the last command which errored, do i need to configure bazel in a way to show the full log instead?

here's the log from one of the runs:

The log here <<< ``` _ _ __ __ | | / \ \ \/ / _ | |/ _ \ \ / | |_| / ___ \/ \ \___/_/ \/_/\_\ Bazel binary path: ./bazel-6.5.0-linux-x86_64 Bazel version: 6.5.0 Python binary path: /usr/bin/python Python version: 3.12 Use clang: yes clang path: /usr/sbin/clang-18 MKL-DNN enabled: yes Target CPU: x86_64 Target CPU features: release CUDA enabled: yes NCCL enabled: yes ROCm enabled: no Building XLA and installing it in the jaxlib source tree... ./bazel-6.5.0-linux-x86_64 run --verbose_failures=true //jaxlib/tools:build_wheel -- --output_path=/home/lie/.cache/pikaur/build/python-jaxlib-cuda/src/jax-jax-v0.4.35/dist --jaxlib_git_hash= --cpu=x86_64 --skip_gpu_kernels Starting local Bazel server and connecting to it... WARNING: The following configs were expanded more than once: [mkl_open_source_only, cuda]. For repeatable flags, repeats are counted twice and may lead to unexpected behavior. INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/lie/.cache/pikaur/build/python-jaxlib-cuda/src/jax-jax-v0.4.35/.bazelrc: Inherited 'common' options: --experimental_repo_remote_exec INFO: Reading rc options for 'run' from /home/lie/.cache/pikaur/build/python-jaxlib-cuda/src/jax-jax-v0.4.35/.bazelrc: Inherited 'build' options: --announce_rc --spawn_strategy=local --enable_platform_specific_config --experimental_cc_shared_library --define=grpc_no_ares=true --define=tsl_link_protobuf=true -c opt --output_filter=DONT_MATCH_ANYTHING --copt=-DMLIR_PYTHON_PACKAGE_PREFIX=jaxlib.mlir. INFO: Reading rc options for 'run' from /home/lie/.cache/pikaur/build/python-jaxlib-cuda/src/jax-jax-v0.4.35/.jax_configure.bazelrc: Inherited 'build' options: --strategy=Genrule=standalone --action_env CLANG_COMPILER_PATH=/usr/sbin/clang-18 --repo_env CC=/usr/sbin/clang-18 --repo_env BAZEL_COMPILER=/usr/sbin/clang-18 --copt=-Wno-error=unused-command-line-argument --copt=-Wno-gnu-offsetof-extensions --config=avx_posix --config=mkl_open_source_only --config=cuda --config=build_cuda_with_clang --action_env=CLANG_CUDA_COMPILER_PATH=/usr/sbin/clang-18 --repo_env HERMETIC_PYTHON_VERSION=3.12 INFO: Reading rc options for 'run' from /home/lie/.cache/pikaur/build/python-jaxlib-cuda/src/jax-jax-v0.4.35/.bazelrc.user: Inherited 'build' options: --action_env TF_CUDA_PATHS=/opt/cuda,/usr/lib,/usr --action_env CUDA_TOOLKIT_PATH=/opt/cuda --action_env NCCL_INSTALL_PATH=/usr --action_env TF_CUDA_COMPUTE_CAPABILITIES=sm_70,sm_75,sm_80,sm_86,sm_89,sm_90,compute_90 --action_env GCC_HOST_COMPILER_PATH=/usr/bin/gcc-13 --config=mkl_open_source_only --config=cuda --repo_env=HERMETIC_PYTHON_VERSION=3.12 INFO: Found applicable config definition build:avx_posix in file /home/lie/.cache/pikaur/build/python-jaxlib-cuda/src/jax-jax-v0.4.35/.bazelrc: --copt=-mavx --host_copt=-mavx INFO: Found applicable config definition build:mkl_open_source_only in file /home/lie/.cache/pikaur/build/python-jaxlib-cuda/src/jax-jax-v0.4.35/.bazelrc: --define=tensorflow_mkldnn_contraction_kernel=1 INFO: Found applicable config definition build:cuda in file /home/lie/.cache/pikaur/build/python-jaxlib-cuda/src/jax-jax-v0.4.35/.bazelrc: --repo_env TF_NEED_CUDA=1 --repo_env TF_NCCL_USE_STUB=1 --repo_env HERMETIC_CUDA_COMPUTE_CAPABILITIES=sm_50,sm_60,sm_70,sm_80,compute_90 --crosstool_top=@local_config_cuda//crosstool:toolchain --@local_config_cuda//:enable_cuda --@xla//xla/python:jax_cuda_pip_rpaths=true --repo_env=HERMETIC_CUDA_VERSION=12.3.2 --repo_env=HERMETIC_CUDNN_VERSION=9.1.1 --linkopt=-Wl,--disable-new-dtags INFO: Found applicable config definition build:build_cuda_with_clang in file /home/lie/.cache/pikaur/build/python-jaxlib-cuda/src/jax-jax-v0.4.35/.bazelrc: --@local_config_cuda//:cuda_compiler=clang INFO: Found applicable config definition build:mkl_open_source_only in file /home/lie/.cache/pikaur/build/python-jaxlib-cuda/src/jax-jax-v0.4.35/.bazelrc: --define=tensorflow_mkldnn_contraction_kernel=1 INFO: Found applicable config definition build:cuda in file /home/lie/.cache/pikaur/build/python-jaxlib-cuda/src/jax-jax-v0.4.35/.bazelrc: --repo_env TF_NEED_CUDA=1 --repo_env TF_NCCL_USE_STUB=1 --repo_env HERMETIC_CUDA_COMPUTE_CAPABILITIES=sm_50,sm_60,sm_70,sm_80,compute_90 --crosstool_top=@local_config_cuda//crosstool:toolchain --@local_config_cuda//:enable_cuda --@xla//xla/python:jax_cuda_pip_rpaths=true --repo_env=HERMETIC_CUDA_VERSION=12.3.2 --repo_env=HERMETIC_CUDNN_VERSION=9.1.1 --linkopt=-Wl,--disable-new-dtags INFO: Found applicable config definition build:linux in file /home/lie/.cache/pikaur/build/python-jaxlib-cuda/src/jax-jax-v0.4.35/.bazelrc: --config=posix --copt=-Wno-unknown-warning-option --copt=-Wno-stringop-truncation --copt=-Wno-array-parameter INFO: Found applicable config definition build:posix in file /home/lie/.cache/pikaur/build/python-jaxlib-cuda/src/jax-jax-v0.4.35/.bazelrc: --copt=-fvisibility=hidden --copt=-Wno-sign-compare --cxxopt=-std=c++17 --host_cxxopt=-std=c++17 Loading: Loading: Loading: DEBUG: /home/lie/.cache/bazel/_bazel_lie/ca5827d19938fa4a99a005b1b7bd341c/external/xla/third_party/py/python_repo.bzl:116:10: Using hermetic Python 3.12 Loading: Loading: Loading: DEBUG: /home/lie/.cache/bazel/_bazel_lie/ca5827d19938fa4a99a005b1b7bd341c/external/xla/third_party/repo.bzl:132:14: Warning: skipping import of repository 'llvm-raw' because it already exists. Loading: Loading: DEBUG: /home/lie/.cache/bazel/_bazel_lie/ca5827d19938fa4a99a005b1b7bd341c/external/xla/third_party/repo.bzl:132:14: Warning: skipping import of repository 'jsoncpp_git' because it already exists. Loading: Loading: Loading: WARNING: The following configs were expanded more than once: [mkl_open_source_only, cuda]. For repeatable flags, repeats are counted twice and may lead to unexpected behavior. DEBUG: /home/lie/.cache/bazel/_bazel_lie/ca5827d19938fa4a99a005b1b7bd341c/external/tsl/third_party/gpus/cuda/hermetic/cuda_redist_init_repositories.bzl:273:10: Downloading and extracting https://developer.download.nvidia.com/compute/cuda/redist/libcusparse/linux-x86_64/libcusparse-linux-x86_64-12.2.0.103-archive.tar.xz DEBUG: /home/lie/.cache/bazel/_bazel_lie/ca5827d19938fa4a99a005b1b7bd341c/external/tsl/third_party/gpus/cuda/hermetic/cuda_redist_init_repositories.bzl:273:10: Downloading and extracting https://developer.download.nvidia.com/compute/cuda/redist/libcurand/linux-x86_64/libcurand-linux-x86_64-10.3.4.107-archive.tar.xz DEBUG: /home/lie/.cache/bazel/_bazel_lie/ca5827d19938fa4a99a005b1b7bd341c/external/tsl/third_party/gpus/cuda/hermetic/cuda_redist_init_repositories.bzl:273:10: Downloading and extracting https://developer.download.nvidia.com/compute/cuda/redist/cuda_nvtx/linux-x86_64/cuda_nvtx-linux-x86_64-12.3.101-archive.tar.xz DEBUG: /home/lie/.cache/bazel/_bazel_lie/ca5827d19938fa4a99a005b1b7bd341c/external/tsl/third_party/gpus/cuda/hermetic/cuda_redist_init_repositories.bzl:273:10: Downloading and extracting https://developer.download.nvidia.com/compute/cuda/redist/cuda_nvcc/linux-x86_64/cuda_nvcc-linux-x86_64-12.3.107-archive.tar.xz DEBUG: /home/lie/.cache/bazel/_bazel_lie/ca5827d19938fa4a99a005b1b7bd341c/external/tsl/third_party/gpus/cuda/hermetic/cuda_redist_init_repositories.bzl:273:10: Downloading and extracting https://developer.download.nvidia.com/compute/cuda/redist/cuda_nvml_dev/linux-x86_64/cuda_nvml_dev-linux-x86_64-12.3.101-archive.tar.xz DEBUG: /home/lie/.cache/bazel/_bazel_lie/ca5827d19938fa4a99a005b1b7bd341c/external/tsl/third_party/gpus/cuda/hermetic/cuda_redist_init_repositories.bzl:273:10: Downloading and extracting https://developer.download.nvidia.com/compute/cuda/redist/libcufft/linux-x86_64/libcufft-linux-x86_64-11.0.12.1-archive.tar.xz DEBUG: /home/lie/.cache/bazel/_bazel_lie/ca5827d19938fa4a99a005b1b7bd341c/external/tsl/third_party/gpus/cuda/hermetic/cuda_redist_init_repositories.bzl:273:10: Downloading and extracting https://developer.download.nvidia.com/compute/cuda/redist/cuda_cccl/linux-x86_64/cuda_cccl-linux-x86_64-12.3.101-archive.tar.xz DEBUG: /home/lie/.cache/bazel/_bazel_lie/ca5827d19938fa4a99a005b1b7bd341c/external/tsl/third_party/gpus/cuda/hermetic/cuda_redist_init_repositories.bzl:273:10: Downloading and extracting https://developer.download.nvidia.com/compute/cuda/redist/libcublas/linux-x86_64/libcublas-linux-x86_64-12.3.4.1-archive.tar.xz DEBUG: /home/lie/.cache/bazel/_bazel_lie/ca5827d19938fa4a99a005b1b7bd341c/external/tsl/third_party/gpus/cuda/hermetic/cuda_redist_init_repositories.bzl:273:10: Downloading and extracting https://developer.download.nvidia.com/compute/cuda/redist/cuda_cupti/linux-x86_64/cuda_cupti-linux-x86_64-12.3.101-archive.tar.xz DEBUG: /home/lie/.cache/bazel/_bazel_lie/ca5827d19938fa4a99a005b1b7bd341c/external/tsl/third_party/gpus/cuda/hermetic/cuda_redist_init_repositories.bzl:273:10: Downloading and extracting https://developer.download.nvidia.com/compute/cuda/redist/libnvjitlink/linux-x86_64/libnvjitlink-linux-x86_64-12.3.101-archive.tar.xz DEBUG: /home/lie/.cache/bazel/_bazel_lie/ca5827d19938fa4a99a005b1b7bd341c/external/tsl/third_party/gpus/cuda/hermetic/cuda_redist_init_repositories.bzl:273:10: Downloading and extracting https://developer.download.nvidia.com/compute/cuda/redist/libcusolver/linux-x86_64/libcusolver-linux-x86_64-11.5.4.101-archive.tar.xz DEBUG: /home/lie/.cache/bazel/_bazel_lie/ca5827d19938fa4a99a005b1b7bd341c/external/tsl/third_party/gpus/cuda/hermetic/cuda_redist_init_repositories.bzl:273:10: Downloading and extracting https://developer.download.nvidia.com/compute/cudnn/redist/cudnn/linux-x86_64/cudnn-linux-x86_64-9.1.1.17_cuda12-archive.tar.xz DEBUG: /home/lie/.cache/bazel/_bazel_lie/ca5827d19938fa4a99a005b1b7bd341c/external/tsl/third_party/gpus/cuda/hermetic/cuda_redist_init_repositories.bzl:273:10: Downloading and extracting https://developer.download.nvidia.com/compute/cuda/redist/cuda_cudart/linux-x86_64/cuda_cudart-linux-x86_64-12.3.101-archive.tar.xz Loading: Loading: Loading: 2 packages loaded Analyzing: target //jaxlib/tools:build_wheel (3 packages loaded, 0 targets configured) Analyzing: target //jaxlib/tools:build_wheel (36 packages loaded, 10 targets configured) Analyzing: target //jaxlib/tools:build_wheel (36 packages loaded, 10 targets configured) Analyzing: target //jaxlib/tools:build_wheel (36 packages loaded, 10 targets configured) Analyzing: target //jaxlib/tools:build_wheel (55 packages loaded, 272 targets configured) Analyzing: target //jaxlib/tools:build_wheel (55 packages loaded, 272 targets configured) Analyzing: target //jaxlib/tools:build_wheel (58 packages loaded, 272 targets configured) Analyzing: target //jaxlib/tools:build_wheel (58 packages loaded, 272 targets configured) DEBUG: /home/lie/.cache/bazel/_bazel_lie/ca5827d19938fa4a99a005b1b7bd341c/external/tsl/third_party/nccl/hermetic/nccl_redist_init_repository.bzl:73:10: Downloading and extracting https://files.pythonhosted.org/packages/ed/1f/6482380ec8dcec4894e7503490fc536d846b0d59694acad9cf99f27d0e7d/nvidia_nccl_cu12-2.23.4-py3-none-manylinux2014_x86_64.whl Analyzing: target //jaxlib/tools:build_wheel (155 packages loaded, 6391 targets configured) Analyzing: target //jaxlib/tools:build_wheel (216 packages loaded, 10522 targets configured) Analyzing: target //jaxlib/tools:build_wheel (228 packages loaded, 11661 targets configured) Analyzing: target //jaxlib/tools:build_wheel (246 packages loaded, 19083 targets configured) Analyzing: target //jaxlib/tools:build_wheel (253 packages loaded, 22842 targets configured) INFO: Analyzed target //jaxlib/tools:build_wheel (255 packages loaded, 22938 targets configured). INFO: Found 1 target... [0 / 399] [Prepa] Writing file external/bazel_tools/tools/python/runfiles/_runfiles_constants.py ... (15 actions, 8 running) [2,161 / 9,849] [Scann] Compiling src/nb_type.cpp ... (18 actions, 0 running) [2,173 / 9,849] Compiling llvm/lib/Demangle/RustDemangle.cpp; 1s local ... (31 actions, 30 running) [2,187 / 9,849] Compiling llvm/lib/Demangle/RustDemangle.cpp; 2s local ... (30 actions, 29 running) [2,210 / 9,849] Compiling llvm/lib/Demangle/MicrosoftDemangle.cpp; 3s local ... (31 actions, 30 running) [2,230 / 9,849] Compiling llvm/lib/Demangle/ItaniumDemangle.cpp; 4s local ... (32 actions, 31 running) [2,239 / 9,849] Compiling llvm/lib/Demangle/ItaniumDemangle.cpp; 5s local ... (32 actions, 31 running) [2,247 / 9,849] Compiling llvm/lib/Demangle/ItaniumDemangle.cpp; 6s local ... (32 actions, 31 running) [2,257 / 9,849] Compiling llvm/lib/Demangle/ItaniumDemangle.cpp; 7s local ... (32 actions, 31 running) [2,272 / 9,849] Compiling llvm/lib/Support/YAMLParser.cpp; 7s local ... (32 actions, 31 running) [2,281 / 9,849] Compiling llvm/lib/Support/VirtualFileSystem.cpp; 8s local ... (32 actions running) [2,297 / 9,849] Compiling llvm/lib/Support/VirtualFileSystem.cpp; 9s local ... (32 actions running) [2,311 / 9,849] Compiling llvm/lib/Support/VirtualFileSystem.cpp; 10s local ... (32 actions running) [2,320 / 9,849] Compiling llvm/lib/Support/VirtualFileSystem.cpp; 11s local ... (32 actions, 31 running) [2,332 / 9,849] Compiling llvm/lib/Support/VirtualFileSystem.cpp; 12s local ... (32 actions, 31 running) [2,347 / 9,849] Compiling llvm/lib/Support/VirtualFileSystem.cpp; 13s local ... (32 actions, 31 running) [2,356 / 9,849] Compiling jaxlib/cpu/lapack_kernels.cc; 13s local ... (32 actions, 31 running) [2,368 / 9,849] Compiling jaxlib/cpu/lapack_kernels.cc; 14s local ... (32 actions, 31 running) [2,377 / 9,849] Compiling jaxlib/cpu/lapack_kernels.cc; 15s local ... (32 actions, 31 running) [2,387 / 9,849] Compiling jaxlib/cpu/lapack_kernels.cc; 16s local ... (32 actions, 31 running) [2,398 / 9,849] Compiling jaxlib/cpu/lapack_kernels.cc; 17s local ... (32 actions, 31 running) [2,413 / 9,849] Compiling jaxlib/cpu/lapack_kernels.cc; 18s local ... (32 actions, 31 running) [2,429 / 9,849] Compiling jaxlib/cpu/lapack_kernels.cc; 19s local ... (32 actions, 31 running) [2,440 / 9,849] Compiling jaxlib/cpu/lapack_kernels.cc; 20s local ... (32 actions running) [2,457 / 9,849] Compiling jaxlib/cpu/lapack_kernels.cc; 21s local ... (32 actions, 31 running) [2,469 / 9,849] Compiling jaxlib/cpu/lapack_kernels.cc; 22s local ... (32 actions, 31 running) [2,480 / 9,849] Compiling jaxlib/cpu/lapack_kernels.cc; 23s local ... (32 actions, 31 running) [2,496 / 9,849] Compiling jaxlib/cpu/lapack_kernels.cc; 24s local ... (32 actions, 31 running) [2,504 / 9,849] Compiling jaxlib/cpu/lapack_kernels.cc; 25s local ... (32 actions running) [2,510 / 9,849] Compiling jaxlib/cpu/lapack_kernels.cc; 26s local ... (32 actions, 31 running) [2,527 / 9,849] Compiling jaxlib/cpu/lapack_kernels.cc; 27s local ... (32 actions, 31 running) [2,538 / 9,849] Compiling jaxlib/cpu/lapack_kernels.cc; 29s local ... (32 actions, 31 running) [2,550 / 9,849] Compiling jaxlib/cpu/lapack_kernels.cc; 30s local ... (32 actions, 31 running) [2,563 / 9,849] Compiling jaxlib/cpu/lapack_kernels.cc; 31s local ... (32 actions, 31 running) [2,575 / 9,849] Compiling jaxlib/cpu/lapack_kernels.cc; 32s local ... (32 actions, 31 running) [2,586 / 9,849] Compiling jaxlib/cpu/lapack_kernels.cc; 33s local ... (32 actions, 31 running) [2,603 / 9,849] Compiling jaxlib/cpu/lapack_kernels.cc; 34s local ... (32 actions, 31 running) [2,613 / 9,849] Compiling jaxlib/cpu/lapack_kernels.cc; 35s local ... (32 actions, 31 running) [2,626 / 9,849] Compiling jaxlib/cpu/lapack_kernels.cc; 36s local ... (32 actions, 31 running) [2,643 / 9,849] Compiling jaxlib/cpu/lapack_kernels.cc; 37s local ... (32 actions, 31 running) [2,659 / 9,849] Compiling jaxlib/cpu/lapack_kernels.cc; 38s local ... (32 actions, 31 running) [2,670 / 9,849] Compiling jaxlib/cpu/lapack_kernels.cc; 39s local ... (32 actions, 31 running) [2,691 / 9,849] Compiling xla/array.cc; 8s local ... (32 actions, 31 running) [2,706 / 9,849] Compiling llvm/lib/Support/CommandLine.cpp; 7s local ... (32 actions, 31 running) [2,715 / 9,849] Compiling llvm/lib/Support/CommandLine.cpp; 8s local ... (32 actions, 31 running) [2,735 / 9,849] Compiling llvm/lib/Support/CommandLine.cpp; 9s local ... (32 actions, 31 running) [2,748 / 9,849] Compiling llvm/lib/Support/CommandLine.cpp; 10s local ... (32 actions running) [2,765 / 9,849] Compiling llvm/lib/Support/CommandLine.cpp [for tool]; 11s local ... (32 actions running) [2,780 / 9,849] Compiling llvm/lib/Support/APInt.cpp; 7s local ... (32 actions running) [2,794 / 9,849] Compiling llvm/lib/Support/APFloat.cpp; 8s local ... (32 actions running) [2,811 / 9,849] Compiling llvm/lib/Support/APFloat.cpp; 9s local ... (32 actions running) [2,823 / 9,849] Compiling xla/python/weakref_lru_cache.cc; 9s local ... (32 actions running) [2,838 / 9,849] Compiling xla/python/weakref_lru_cache.cc; 10s local ... (32 actions, 31 running) [2,847 / 9,849] Compiling xla/python/weakref_lru_cache.cc; 11s local ... (32 actions, 31 running) [2,858 / 9,849] Compiling tsl/platform/protobuf_util.cc; 10s local ... (32 actions, 31 running) [2,869 / 9,849] Compiling tsl/platform/protobuf.cc; 11s local ... (32 actions, 31 running) [2,881 / 9,849] Compiling src/google/protobuf/wire_format.cc; 7s local ... (32 actions, 31 running) [2,885 / 9,849] Compiling tsl/platform/strcat.cc; 8s local ... (32 actions, 31 running) [2,899 / 9,849] Compiling src/compiler/python_generator.cc [for tool]; 8s local ... (32 actions running) [2,908 / 9,849] Compiling src/compiler/python_generator.cc [for tool]; 9s local ... (32 actions running) [2,916 / 9,849] Compiling src/compiler/python_generator.cc [for tool]; 10s local ... (32 actions running) [2,932 / 9,849] Compiling src/google/protobuf/util/message_differencer.cc; 10s local ... (32 actions running) [2,949 / 9,849] Compiling src/compiler/cpp_generator.cc [for tool]; 7s local ... (32 actions, 31 running) [2,958 / 9,849] Compiling src/compiler/cpp_generator.cc [for tool]; 9s local ... (32 actions, 31 running) [2,972 / 9,849] Compiling src/google/protobuf/util/internal/default_value_objectwriter.cc; 5s local ... (32 actions, 31 running) [2,983 / 9,849] Compiling src/google/protobuf/generated_message_tctable_lite.cc; 6s local ... (32 actions, 31 running) [3,006 / 9,849] Compiling src/google/protobuf/extension_set.cc; 6s local ... (32 actions, 31 running) [3,020 / 9,849] Compiling src/google/protobuf/extension_set.cc; 7s local ... (32 actions, 31 running) [3,036 / 9,849] Compiling tsl/platform/stringprintf.cc; 8s local ... (32 actions, 31 running) [3,055 / 9,849] Compiling src/google/protobuf/text_format.cc; 8s local ... (32 actions, 31 running) [3,073 / 9,849] Compiling src/google/protobuf/text_format.cc; 9s local ... (32 actions, 31 running) [3,094 / 9,849] Compiling xla/pjrt/semaphore.cc; 5s local ... (32 actions, 31 running) [3,103 / 9,849] Compiling xla/pjrt/semaphore.cc; 6s local ... (32 actions, 31 running) [3,123 / 9,849] Compiling xla/pjrt/semaphore.cc; 7s local ... (32 actions running) [3,139 / 9,849] Compiling xla/pjrt/semaphore.cc; 8s local ... (32 actions running) [3,152 / 9,849] Compiling src/google/protobuf/generated_message_reflection.cc; 8s local ... (32 actions running) [3,168 / 9,849] Compiling re2/dfa.cc; 7s local ... (32 actions, 31 running) [3,180 / 9,849] Compiling re2/dfa.cc; 8s local ... (32 actions, 31 running) [3,190 / 9,849] Compiling src/google/protobuf/descriptor_database.cc; 6s local ... (32 actions, 31 running) [3,202 / 9,849] Compiling src/google/protobuf/descriptor_database.cc; 7s local ... (32 actions running) [3,207 / 9,849] Compiling src/google/protobuf/descriptor_database.cc; 8s local ... (32 actions, 31 running) [3,217 / 9,849] Compiling src/google/protobuf/descriptor.pb.cc; 9s local ... (32 actions, 31 running) [3,229 / 9,849] Compiling src/google/protobuf/descriptor.pb.cc; 11s local ... (32 actions, 31 running) [3,241 / 9,849] Compiling src/google/protobuf/descriptor.cc; 8s local ... (32 actions, 31 running) [3,249 / 9,849] Compiling src/google/protobuf/descriptor.cc; 9s local ... (32 actions, 31 running) [3,253 / 9,849] Compiling src/google/protobuf/descriptor.cc; 10s local ... (32 actions, 31 running) [3,260 / 9,849] Compiling src/google/protobuf/descriptor.cc; 11s local ... (32 actions, 31 running) [3,268 / 9,849] Compiling src/google/protobuf/descriptor.cc; 12s local ... (32 actions running) [3,276 / 9,849] Compiling src/google/protobuf/descriptor.cc; 13s local ... (31 actions running) [3,278 / 9,849] Compiling src/google/protobuf/descriptor.cc; 14s local ... (32 actions running) [3,282 / 9,849] Compiling src/google/protobuf/descriptor.cc; 15s local ... (32 actions running) [3,286 / 9,849] Compiling src/google/protobuf/descriptor.cc; 16s local ... (32 actions running) [3,294 / 9,849] Compiling src/google/protobuf/descriptor.cc; 17s local ... (32 actions, 31 running) [3,297 / 9,849] Compiling src/google/protobuf/descriptor.cc; 19s local ... (32 actions, 31 running) [3,299 / 9,849] Compiling src/google/protobuf/descriptor.cc; 20s local ... (32 actions, 31 running) [3,306 / 9,849] Compiling src/google/protobuf/descriptor.cc; 21s local ... (32 actions, 31 running) [3,309 / 9,849] Compiling src/google/protobuf/descriptor.cc; 22s local ... (32 actions, 31 running) [3,314 / 9,849] Compiling src/google/protobuf/descriptor.cc; 23s local ... (32 actions running) [3,317 / 9,849] Compiling src/google/protobuf/descriptor.cc; 24s local ... (32 actions, 31 running) [3,320 / 9,849] Compiling src/google/protobuf/descriptor.cc; 26s local ... (32 actions, 31 running) [3,325 / 9,849] Compiling src/google/protobuf/descriptor.cc [for tool]; 20s local ... (32 actions running) [3,329 / 9,849] Compiling src/google/protobuf/descriptor.cc [for tool]; 21s local ... (32 actions running) [3,332 / 9,849] Compiling src/google/protobuf/descriptor.cc [for tool]; 22s local ... (32 actions running) [3,340 / 9,849] Compiling src/google/protobuf/descriptor.cc [for tool]; 23s local ... (32 actions, 31 running) [3,343 / 9,849] Compiling src/google/protobuf/descriptor.cc [for tool]; 25s local ... (32 actions running) [3,349 / 9,849] Compiling src/google/protobuf/descriptor.cc [for tool]; 26s local ... (32 actions running) [3,350 / 9,849] Compiling src/google/protobuf/descriptor.cc [for tool]; 27s local ... (32 actions, 31 running) [3,355 / 9,849] Compiling llvm/lib/Transforms/Coroutines/CoroSplit.cpp; 20s local ... (32 actions, 31 running) [3,360 / 9,849] Compiling llvm/lib/Transforms/Coroutines/CoroSplit.cpp; 21s local ... (32 actions, 31 running) [3,364 / 9,849] Compiling llvm/lib/ObjectYAML/ELFYAML.cpp; 20s local ... (32 actions, 31 running) [3,368 / 9,849] Compiling llvm/lib/ObjectYAML/ELFYAML.cpp; 21s local ... (32 actions, 31 running) [3,372 / 9,849] Compiling llvm/lib/ObjectYAML/ELFYAML.cpp; 22s local ... (32 actions, 31 running) [3,380 / 9,849] Compiling llvm/lib/ObjectYAML/ELFYAML.cpp; 23s local ... (32 actions, 31 running) [3,382 / 9,849] Compiling llvm/lib/ObjectYAML/ELFYAML.cpp; 24s local ... (32 actions running) [3,384 / 9,849] Compiling llvm/lib/ObjectYAML/ELFYAML.cpp; 25s local ... (32 actions running) [3,390 / 9,849] Compiling llvm/lib/ObjectYAML/ELFYAML.cpp; 26s local ... (32 actions running) [3,396 / 9,849] Compiling llvm/lib/ObjectYAML/ELFYAML.cpp; 27s local ... (32 actions, 31 running) [3,398 / 9,849] Compiling llvm/lib/ObjectYAML/ELFYAML.cpp; 29s local ... (32 actions, 31 running) [3,403 / 9,849] Compiling llvm/lib/ObjectYAML/ELFYAML.cpp; 30s local ... (32 actions, 31 running) [3,410 / 9,849] Compiling llvm/lib/Transforms/IPO/WholeProgramDevirt.cpp; 26s local ... (32 actions, 31 running) [3,413 / 9,849] Compiling llvm/lib/Transforms/IPO/WholeProgramDevirt.cpp; 27s local ... (32 actions running) [3,416 / 9,849] Compiling llvm/lib/Transforms/IPO/WholeProgramDevirt.cpp; 28s local ... (32 actions running) [3,419 / 9,849] Compiling llvm/lib/Transforms/IPO/WholeProgramDevirt.cpp; 29s local ... (32 actions running) [3,424 / 9,849] Compiling llvm/lib/Transforms/IPO/WholeProgramDevirt.cpp; 30s local ... (32 actions running) [3,429 / 9,849] Compiling llvm/lib/Transforms/IPO/WholeProgramDevirt.cpp; 31s local ... (32 actions, 31 running) [3,431 / 9,849] Compiling llvm/lib/Transforms/IPO/WholeProgramDevirt.cpp; 32s local ... (32 actions, 31 running) [3,434 / 9,849] Compiling llvm/lib/Transforms/IPO/WholeProgramDevirt.cpp; 34s local ... (32 actions, 31 running) [3,437 / 9,849] Compiling llvm/lib/Transforms/IPO/SampleProfile.cpp; 22s local ... (32 actions, 31 running) [3,439 / 9,849] Compiling llvm/lib/Transforms/IPO/SampleProfile.cpp; 23s local ... (32 actions running) [3,440 / 9,849] Compiling llvm/lib/Transforms/IPO/SampleProfile.cpp; 24s local ... (32 actions running) [3,441 / 9,849] Compiling llvm/lib/Transforms/IPO/SampleProfile.cpp; 25s local ... (32 actions running) [3,444 / 9,849] Compiling llvm/lib/Transforms/IPO/SampleProfile.cpp; 26s local ... (32 actions running) [3,447 / 9,849] Compiling llvm/lib/Transforms/IPO/SampleProfile.cpp; 27s local ... (32 actions running) [3,450 / 9,849] Compiling llvm/lib/Transforms/IPO/SampleProfile.cpp; 28s local ... (32 actions running) [3,453 / 9,849] Compiling llvm/lib/Transforms/IPO/SampleProfile.cpp; 30s local ... (32 actions, 31 running) [3,456 / 9,849] Compiling llvm/lib/Transforms/IPO/SampleProfile.cpp; 31s local ... (32 actions running) [3,460 / 9,849] Compiling llvm/lib/Transforms/IPO/SampleProfile.cpp; 33s local ... (32 actions, 31 running) [3,461 / 9,849] Compiling llvm/lib/Transforms/IPO/SampleProfile.cpp; 34s local ... (32 actions, 31 running) [3,471 / 9,849] Compiling llvm/lib/Transforms/IPO/SampleProfile.cpp; 35s local ... (32 actions, 31 running) [3,472 / 9,849] Compiling llvm/lib/Transforms/IPO/SampleProfile.cpp; 36s local ... (32 actions, 31 running) [3,474 / 9,849] Compiling llvm/lib/Transforms/IPO/SampleProfile.cpp; 37s local ... (32 actions running) [3,480 / 9,849] Compiling llvm/lib/Transforms/IPO/SampleProfile.cpp; 38s local ... (32 actions running) [3,483 / 9,849] Compiling llvm/lib/Transforms/IPO/OpenMPOpt.cpp; 30s local ... (32 actions, 31 running) [3,487 / 9,849] Compiling llvm/lib/Transforms/IPO/OpenMPOpt.cpp; 32s local ... (32 actions, 31 running) [3,494 / 9,849] Compiling llvm/lib/Transforms/IPO/OpenMPOpt.cpp; 33s local ... (32 actions running) [3,500 / 9,849] Compiling llvm/lib/Transforms/IPO/OpenMPOpt.cpp; 34s local ... (32 actions, 31 running) [3,501 / 9,849] Compiling llvm/lib/Transforms/IPO/OpenMPOpt.cpp; 35s local ... (32 actions, 31 running) [3,507 / 9,849] Compiling llvm/lib/Transforms/IPO/OpenMPOpt.cpp; 37s local ... (32 actions, 31 running) [3,511 / 9,849] Compiling llvm/lib/Transforms/IPO/OpenMPOpt.cpp; 38s local ... (32 actions running) [3,517 / 9,849] Compiling llvm/lib/Transforms/IPO/OpenMPOpt.cpp; 40s local ... (32 actions running) [3,519 / 9,849] Compiling llvm/lib/Transforms/IPO/OpenMPOpt.cpp; 41s local ... (32 actions running) [3,522 / 9,849] Compiling llvm/lib/Transforms/IPO/OpenMPOpt.cpp; 42s local ... (32 actions running) [3,528 / 9,849] Compiling llvm/lib/Transforms/IPO/OpenMPOpt.cpp; 43s local ... (32 actions running) [3,535 / 9,849] Compiling llvm/lib/Transforms/IPO/OpenMPOpt.cpp; 44s local ... (32 actions, 31 running) [3,540 / 9,849] Compiling llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp; 37s local ... (32 actions, 31 running) [3,546 / 9,849] Compiling llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp; 38s local ... (32 actions, 31 running) [3,553 / 9,849] Compiling llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp; 39s local ... (32 actions, 31 running) [3,555 / 9,849] Compiling llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp; 40s local ... (32 actions, 31 running) [3,563 / 9,849] Compiling llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp; 41s local ... (32 actions, 31 running) [3,568 / 9,849] Compiling llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp; 43s local ... (32 actions, 31 running) [3,572 / 9,849] Compiling llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp; 44s local ... (32 actions, 31 running) [3,576 / 9,849] Compiling llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp; 45s local ... (32 actions running) [3,578 / 9,849] Compiling llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp; 46s local ... (32 actions running) [3,579 / 9,849] Compiling llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp; 47s local ... (32 actions running) [3,588 / 9,849] Compiling llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp; 48s local ... (32 actions, 31 running) [3,591 / 9,849] Compiling llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp; 49s local ... (32 actions, 31 running) [3,596 / 9,849] Compiling llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp; 51s local ... (32 actions, 31 running) [3,599 / 9,849] Compiling llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp; 52s local ... (32 actions running) [3,600 / 9,849] Compiling llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp; 53s local ... (32 actions running) [3,605 / 9,849] Compiling llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp; 54s local ... (32 actions running) [3,609 / 9,849] Compiling llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp; 28s local ... (32 actions running) [3,612 / 9,849] Compiling llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp; 29s local ... (32 actions running) [3,617 / 9,849] Compiling llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp; 30s local ... (32 actions running) [3,621 / 9,849] Compiling llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp; 31s local ... (32 actions running) [3,622 / 9,849] Compiling llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp; 33s local ... (32 actions, 31 running) [3,628 / 9,849] Compiling llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp; 34s local ... (32 actions, 31 running) [3,633 / 9,849] Compiling llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp; 35s local ... (32 actions, 31 running) [3,635 / 9,849] Compiling llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp; 36s local ... (32 actions, 31 running) [3,646 / 9,849] Compiling llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp; 37s local ... (32 actions, 31 running) [3,655 / 9,849] Compiling llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp; 38s local ... (32 actions, 31 running) [3,659 / 9,849] Compiling llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp; 39s local ... (32 actions running) [3,662 / 9,849] Compiling llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp; 40s local ... (32 actions running) [3,666 / 9,849] Compiling llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp; 41s local ... (32 actions running) [3,672 / 9,849] Compiling llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp; 42s local ... (32 actions running) [3,677 / 9,849] Compiling llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp; 44s local ... (32 actions, 31 running) [3,677 / 9,849] Compiling llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp; 45s local ... (32 actions running) [3,679 / 9,849] Compiling llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp; 47s local ... (32 actions, 31 running) [3,687 / 9,849] Compiling llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp; 48s local ... (32 actions, 31 running) [3,699 / 9,849] Compiling llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp; 49s local ... (32 actions, 31 running) [3,704 / 9,849] Compiling llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp; 50s local ... (32 actions, 31 running) [3,708 / 9,849] Compiling llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp; 51s local ... (32 actions running) [3,714 / 9,849] Compiling llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp; 52s local ... (32 actions, 31 running) [3,721 / 9,849] Compiling llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp; 53s local ... (32 actions, 31 running) [3,730 / 9,849] Compiling llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp; 55s local ... (32 actions, 31 running) [3,731 / 9,849] Compiling llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp; 56s local ... (32 actions, 31 running) [3,737 / 9,849] Compiling llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp; 57s local ... (32 actions, 31 running) [3,738 / 9,849] Compiling llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp; 58s local ... (32 actions, 31 running) [3,746 / 9,849] Compiling llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp; 59s local ... (32 actions, 31 running) [3,754 / 9,849] Compiling llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp; 60s local ... (32 actions running) [3,759 / 9,849] Compiling llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp; 61s local ... (32 actions running) [3,761 / 9,849] Compiling llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp; 62s local ... (32 actions running) [3,772 / 9,849] Compiling llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp; 64s local ... (32 actions, 31 running) [3,777 / 9,849] Compiling llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp; 65s local ... (32 actions, 31 running) [3,779 / 9,849] Compiling llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp; 66s local ... (32 actions running) [3,781 / 9,849] Compiling llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp; 67s local ... (32 actions running) [3,790 / 9,849] Compiling llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp; 68s local ... (32 actions, 31 running) [3,794 / 9,849] Compiling llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp; 69s local ... (32 actions, 31 running) [3,796 / 9,849] Compiling llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp; 71s local ... (32 actions, 31 running) [3,800 / 9,849] Compiling llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp; 72s local ... (32 actions running) [3,806 / 9,849] Compiling llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp; 73s local ... (32 actions running) [3,810 / 9,849] Compiling llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp; 75s local ... (32 actions, 31 running) [3,819 / 9,849] Compiling llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp; 76s local ... (32 actions, 31 running) [3,822 / 9,849] Compiling llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp; 77s local ... (32 actions, 31 running) [3,826 / 9,849] Compiling llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp; 78s local ... (32 actions, 31 running) [3,828 / 9,849] Compiling llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp; 79s local ... (32 actions running) [3,835 / 9,849] Compiling llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp; 80s local ... (32 actions, 31 running) [3,838 / 9,849] Compiling llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp; 82s local ... (32 actions, 31 running) [3,845 / 9,849] Compiling llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp; 83s local ... (32 actions, 31 running) [3,848 / 9,849] Compiling llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp; 84s local ... (32 actions running) [3,849 / 9,849] Compiling llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp; 85s local ... (32 actions running) [3,855 / 9,849] Compiling llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp; 86s local ... (32 actions, 31 running) [3,858 / 9,849] Compiling llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp; 88s local ... (32 actions, 31 running) [3,862 / 9,849] Compiling llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp; 89s local ... (32 actions, 31 running) [3,869 / 9,849] Compiling llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp; 90s local ... (32 actions, 31 running) [3,873 / 9,849] Compiling llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp; 91s local ... (32 actions running) [3,878 / 9,849] Compiling llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp; 92s local ... (32 actions running) [3,885 / 9,849] Compiling llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp; 94s local ... (32 actions, 31 running) [3,890 / 9,849] Compiling llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp; 95s local ... (32 actions, 31 running) [3,893 / 9,849] Compiling llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp; 96s local ... (32 actions running) [3,897 / 9,849] Compiling llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp; 97s local ... (32 actions running) [3,899 / 9,849] Compiling llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp; 98s local ... (32 actions running) [3,903 / 9,849] Compiling llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp; 99s local ... (32 actions, 31 running) [3,905 / 9,849] Compiling llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp; 100s local ... (32 actions, 31 running) [3,912 / 9,849] Compiling llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp; 102s local ... (32 actions, 31 running) [3,914 / 9,849] Compiling llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp; 103s local ... (32 actions, 31 running) [3,916 / 9,849] Compiling llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp; 104s local ... (32 actions, 31 running) [3,920 / 9,849] Compiling llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp; 105s local ... (32 actions running) [3,926 / 9,849] Compiling llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp; 106s local ... (32 actions running) [3,927 / 9,849] Compiling llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp; 107s local ... (32 actions running) [3,932 / 9,849] Compiling llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp; 108s local ... (32 actions, 31 running) [3,937 / 9,849] Compiling llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp; 110s local ... (32 actions, 31 running) [3,938 / 9,849] Compiling llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp; 111s local ... (32 actions, 31 running) [3,946 / 9,849] Compiling src/cpu/x64/jit_brgemm_conv_bwd_strided.cpp; 64s local ... (31 actions running) [3,949 / 9,849] Compiling src/cpu/x64/jit_brgemm_conv_bwd_strided.cpp; 65s local ... (32 actions, 31 running) [3,956 / 9,849] Compiling src/cpu/x64/jit_brgemm_conv_bwd_strided.cpp; 66s local ... (32 actions, 31 running) [3,965 / 9,849] Compiling src/cpu/x64/jit_brgemm_conv_bwd_strided.cpp; 67s local ... (32 actions, 31 running) [3,969 / 9,849] Compiling src/cpu/x64/jit_brgemm_conv_bwd_strided.cpp; 68s local ... (32 actions, 31 running) [3,972 / 9,849] Compiling src/cpu/x64/jit_brgemm_conv_bwd_strided.cpp; 70s local ... (32 actions running) [3,975 / 9,849] Compiling src/cpu/x64/jit_brgemm_conv_bwd_strided.cpp; 71s local ... (32 actions running) [3,982 / 9,849] Compiling src/cpu/x64/jit_brgemm_conv_bwd_strided.cpp; 72s local ... (32 actions, 31 running) [3,985 / 9,849] Compiling src/cpu/x64/jit_brgemm_conv_bwd_strided.cpp; 73s local ... (32 actions, 31 running) [3,987 / 9,849] Compiling src/cpu/x64/jit_brgemm_conv_bwd_strided.cpp; 75s local ... (32 actions running) [3,991 / 9,849] Compiling src/cpu/x64/jit_brgemm_conv_bwd_strided.cpp; 76s local ... (32 actions running) [3,995 / 9,849] Compiling src/cpu/x64/jit_brgemm_conv_bwd_strided.cpp; 77s local ... (32 actions, 31 running) [3,999 / 9,849] Compiling src/cpu/x64/jit_brgemm_conv_bwd_strided.cpp; 78s local ... (32 actions, 31 running) [4,006 / 9,849] Compiling llvm/lib/Transforms/Utils/SimplifyCFG.cpp; 19s local ... (32 actions, 31 running) [4,007 / 9,849] Compiling llvm/lib/Transforms/Utils/SimplifyCFG.cpp; 20s local ... (32 actions, 31 running) [4,013 / 9,849] Compiling llvm/lib/Transforms/Utils/SimplifyCFG.cpp; 22s local ... (32 actions, 31 running) [4,016 / 9,849] Compiling llvm/lib/Transforms/Utils/SimplifyCFG.cpp; 23s local ... (32 actions, 31 running) [4,020 / 9,849] Compiling llvm/lib/Transforms/Utils/SimplifyCFG.cpp; 24s local ... (32 actions, 31 running) [4,022 / 9,849] Compiling llvm/lib/Transforms/Utils/SimplifyCFG.cpp; 25s local ... (32 actions running) [4,023 / 9,849] Compiling llvm/lib/Transforms/Utils/SimplifyCFG.cpp; 26s local ... (32 actions running) [4,029 / 9,849] Compiling llvm/lib/Transforms/Utils/SimplifyCFG.cpp; 28s local ... (32 actions, 31 running) [4,034 / 9,849] Compiling llvm/lib/Transforms/Utils/SimplifyCFG.cpp; 29s local ... (32 actions running) [4,036 / 9,849] Compiling llvm/lib/Transforms/Utils/SimplifyCFG.cpp; 30s local ... (32 actions running) [4,039 / 9,849] Compiling llvm/lib/Transforms/Utils/SimplifyCFG.cpp; 31s local ... (32 actions running) [4,043 / 9,849] Compiling llvm/lib/Transforms/Utils/SimplifyCFG.cpp; 32s local ... (32 actions running) [4,044 / 9,849] Compiling llvm/lib/Transforms/Utils/SimplifyCFG.cpp; 34s local ... (32 actions running) [4,049 / 9,849] Compiling llvm/lib/Transforms/Utils/SimplifyCFG.cpp; 35s local ... (32 actions running) [4,053 / 9,849] Compiling llvm/lib/Transforms/Utils/SimplifyCFG.cpp; 36s local ... (32 actions, 31 running) [4,061 / 9,849] Compiling llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp; 23s local ... (32 actions, 31 running) [4,063 / 9,849] Compiling llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp; 25s local ... (32 actions running) [4,065 / 9,849] Compiling llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp; 26s local ... (32 actions running) [4,069 / 9,849] Compiling llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp; 27s local ... (32 actions, 31 running) [4,074 / 9,849] Compiling llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp; 29s local ... (32 actions running) [4,075 / 9,849] Compiling llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp; 30s local ... (32 actions running) [4,078 / 9,849] Compiling llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp; 31s local ... (32 actions running) [4,081 / 9,849] Compiling llvm/lib/Transforms/Scalar/NewGVN.cpp; 23s local ... (32 actions running) [4,084 / 9,849] Compiling llvm/lib/Transforms/Scalar/NewGVN.cpp; 24s local ... (32 actions running) [4,090 / 9,849] Compiling llvm/lib/Transforms/Scalar/NewGVN.cpp; 25s local ... (32 actions running) [4,091 / 9,849] Compiling llvm/lib/Transforms/Scalar/NewGVN.cpp; 26s local ... (32 actions running) [4,092 / 9,849] Compiling llvm/lib/Transforms/Scalar/NewGVN.cpp; 28s local ... (32 actions, 31 running) [4,095 / 9,849] Compiling llvm/lib/Transforms/Scalar/NewGVN.cpp; 29s local ... (32 actions, 31 running) [4,100 / 9,849] Compiling llvm/lib/Transforms/Scalar/NewGVN.cpp; 30s local ... (32 actions, 31 running) [4,106 / 9,849] Compiling llvm/lib/Transforms/Scalar/NewGVN.cpp; 31s local ... (32 actions running) [4,108 / 9,849] Compiling external/xla/xla/tsl/protobuf/coordination_service.grpc.pb.cc; 26s local ... (32 actions running) [4,111 / 9,849] Compiling external/xla/xla/tsl/protobuf/coordination_service.grpc.pb.cc; 27s local ... (32 actions running) [4,115 / 9,849] Compiling llvm/lib/IR/Constants.cpp; 20s local ... (32 actions running) [4,120 / 9,849] Compiling llvm/lib/IR/Constants.cpp; 21s local ... (32 actions, 31 running) [4,125 / 9,849] Compiling llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp; 17s local ... (32 actions, 31 running) [4,129 / 9,849] Compiling llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp; 18s local ... (32 actions, 31 running) [4,135 / 9,849] Compiling llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp; 19s local ... (32 actions, 31 running) [4,138 / 9,849] Compiling llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp; 20s local ... (32 actions running) [4,139 / 9,849] Compiling llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp; 22s local ... (32 actions, 31 running) [4,144 / 9,849] Compiling llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp; 23s local ... (32 actions, 31 running) [4,150 / 9,849] Compiling llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp; 24s local ... (32 actions, 31 running) [4,154 / 9,849] Compiling llvm/lib/CodeGen/ModuloSchedule.cpp; 16s local ... (32 actions, 31 running) [4,157 / 9,849] Compiling llvm/lib/CodeGen/ModuloSchedule.cpp; 17s local ... (32 actions, 31 running) [4,160 / 9,849] Compiling llvm/lib/CodeGen/ModuloSchedule.cpp; 18s local ... (32 actions running) [4,163 / 9,849] Compiling llvm/lib/CodeGen/ModuloSchedule.cpp; 19s local ... (32 actions running) [4,168 / 9,849] Compiling llvm/lib/CodeGen/ModuloSchedule.cpp; 20s local ... (32 actions, 31 running) [4,173 / 9,849] Compiling llvm/lib/IR/AutoUpgrade.cpp; 20s local ... (32 actions, 31 running) [4,175 / 9,849] Compiling llvm/lib/CodeGen/MachineVerifier.cpp; 19s local ... (32 actions, 31 running) [4,180 / 9,849] Compiling llvm/lib/CodeGen/MachineVerifier.cpp; 20s local ... (32 actions running) [4,186 / 9,849] Compiling llvm/lib/CodeGen/MachineVerifier.cpp; 22s local ... (32 actions, 31 running) [4,188 / 9,849] Compiling llvm/lib/CodeGen/MachineVerifier.cpp; 23s local ... (32 actions running) [4,196 / 9,849] Compiling llvm/lib/CodeGen/MachineVerifier.cpp; 24s local ... (32 actions running) [4,201 / 9,849] Compiling llvm/lib/CodeGen/MachineVerifier.cpp; 25s local ... (32 actions, 31 running) [4,203 / 9,849] Compiling llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp; 25s local ... (32 actions, 31 running) [4,206 / 9,849] Compiling llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp; 26s local ... (32 actions, 31 running) [4,213 / 9,849] Compiling llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp; 27s local ... (32 actions, 31 running) [4,216 / 9,849] Compiling llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp; 28s local ... (32 actions, 31 running) [4,218 / 9,849] Compiling llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp; 29s local ... (32 actions, 31 running) [4,223 / 9,849] Compiling llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp; 30s local ... (32 actions, 31 running) [4,229 / 9,849] Compiling llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp; 32s local ... (32 actions, 31 running) [4,235 / 9,849] Compiling llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp; 33s local ... (32 actions, 31 running) [4,238 / 9,849] Compiling llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp; 34s local ... (32 actions, 31 running) [4,240 / 9,849] Compiling llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp; 35s local ... (32 actions running) [4,243 / 9,849] Compiling src/cpu/x64/jit_brgemm_conv.cpp; 32s local ... (32 actions running) [4,249 / 9,849] Compiling src/cpu/x64/jit_brgemm_conv.cpp; 34s local ... (32 actions, 31 running) [4,251 / 9,849] Compiling src/cpu/x64/jit_brgemm_conv.cpp; 35s local ... (32 actions, 31 running) [4,254 / 9,849] Compiling src/cpu/x64/jit_brgemm_conv.cpp; 36s local ... (32 actions running) [4,260 / 9,849] Compiling src/cpu/x64/jit_brgemm_conv.cpp; 37s local ... (32 actions running) [4,265 / 9,849] Compiling src/cpu/x64/jit_brgemm_conv.cpp; 38s local ... (32 actions running) [4,270 / 9,849] Compiling src/cpu/x64/jit_brgemm_conv.cpp; 39s local ... (32 actions running) [4,271 / 9,849] Compiling src/cpu/x64/jit_brgemm_conv.cpp; 41s local ... (32 actions, 31 running) [4,277 / 9,849] Compiling src/cpu/x64/jit_brgemm_conv.cpp; 42s local ... (32 actions, 31 running) [4,279 / 9,849] Compiling src/cpu/x64/jit_brgemm_conv.cpp; 44s local ... (32 actions running) [4,288 / 9,849] Compiling src/cpu/x64/jit_brgemm_conv.cpp; 45s local ... (32 actions, 31 running) [4,291 / 9,849] Compiling src/cpu/x64/jit_brgemm_conv.cpp; 46s local ... (32 actions, 31 running) [4,296 / 9,849] Compiling src/cpu/x64/jit_brgemm_conv.cpp; 47s local ... (32 actions, 31 running) [4,301 / 9,849] Compiling src/cpu/x64/jit_brgemm_conv.cpp; 48s local ... (32 actions, 31 running) [4,306 / 9,849] Compiling src/cpu/x64/jit_brgemm_conv.cpp; 49s local ... (32 actions, 31 running) [4,310 / 9,849] Compiling src/cpu/x64/jit_brgemm_conv.cpp; 50s local ... (32 actions, 31 running) [4,315 / 9,849] Compiling src/cpu/x64/jit_brgemm_conv.cpp; 52s local ... (32 actions running) [4,321 / 9,849] Compiling src/cpu/x64/jit_brgemm_conv.cpp; 53s local ... (32 actions running) [4,324 / 9,849] Compiling src/cpu/x64/jit_brgemm_conv.cpp; 54s local ... (32 actions, 31 running) [4,326 / 9,849] Compiling src/cpu/x64/jit_brgemm_conv.cpp; 55s local ... (32 actions, 31 running) [4,334 / 9,849] Compiling src/cpu/x64/jit_brgemm_conv.cpp; 56s local ... (32 actions, 31 running) [4,335 / 9,849] Compiling src/cpu/x64/jit_brgemm_conv.cpp; 58s local ... (32 actions running) [4,341 / 9,849] Compiling src/cpu/x64/jit_brgemm_conv.cpp; 59s local ... (32 actions running) [4,345 / 9,849] Compiling src/cpu/x64/jit_brgemm_conv.cpp; 60s local ... (31 actions, 30 running) [4,351 / 9,849] Compiling src/cpu/x64/jit_brgemm_conv.cpp; 61s local ... (32 actions, 31 running) [4,355 / 9,849] Compiling src/cpu/x64/jit_brgemm_conv.cpp; 63s local ... (32 actions running) [4,360 / 9,849] Compiling src/cpu/x64/jit_brgemm_conv.cpp; 64s local ... (32 actions running) [4,365 / 9,849] Compiling src/cpu/x64/jit_brgemm_conv.cpp; 66s local ... (32 actions running) [4,369 / 9,849] Compiling src/cpu/x64/jit_brgemm_conv.cpp; 67s local ... (32 actions running) [4,371 / 9,849] Compiling src/cpu/x64/jit_brgemm_conv.cpp; 68s local ... (32 actions running) [4,375 / 9,849] Compiling src/cpu/x64/jit_brgemm_conv.cpp; 69s local ... (32 actions, 31 running) [4,377 / 9,849] Compiling src/cpu/x64/jit_brgemm_conv.cpp; 70s local ... (32 actions, 31 running) [4,381 / 9,849] Compiling src/cpu/x64/jit_brgemm_conv.cpp; 72s local ... (32 actions running) [4,385 / 9,849] Compiling src/cpu/x64/jit_brgemm_conv.cpp; 73s local ... (32 actions running) [4,388 / 9,849] Compiling src/cpu/x64/jit_brgemm_conv.cpp; 74s local ... (32 actions, 31 running) [4,390 / 9,849] Compiling src/cpu/x64/jit_brgemm_conv.cpp; 75s local ... (32 actions, 31 running) [4,392 / 9,849] Compiling src/cpu/x64/jit_brgemm_conv.cpp; 77s local ... (32 actions running) [4,395 / 9,849] Compiling src/cpu/x64/jit_brgemm_conv.cpp; 78s local ... (32 actions, 31 running) [4,398 / 9,849] Compiling src/cpu/x64/jit_brgemm_conv.cpp; 79s local ... (32 actions, 31 running) [4,402 / 9,849] Compiling src/cpu/x64/jit_brgemm_conv.cpp; 80s local ... (32 actions, 31 running) [4,405 / 9,849] Compiling src/cpu/x64/jit_brgemm_conv.cpp; 81s local ... (32 actions, 31 running) [4,411 / 9,849] Compiling src/cpu/x64/jit_brgemm_conv.cpp; 82s local ... (32 actions, 31 running) [4,413 / 9,849] Compiling src/cpu/x64/jit_brgemm_conv.cpp; 84s local ... (32 actions running) [4,416 / 9,849] Compiling src/cpu/x64/jit_brgemm_conv.cpp; 85s local ... (32 actions running) [4,417 / 9,849] Compiling src/cpu/x64/jit_brgemm_conv.cpp; 86s local ... (32 actions running) [4,419 / 9,849] Compiling src/cpu/x64/jit_brgemm_conv.cpp; 87s local ... (32 actions, 31 running) [4,423 / 9,849] Compiling src/cpu/x64/jit_brgemm_conv.cpp; 88s local ... (32 actions, 31 running) [4,427 / 9,849] Compiling src/cpu/x64/jit_brgemm_conv.cpp; 89s local ... (32 actions, 31 running) [4,430 / 9,849] Compiling src/cpu/x64/jit_brgemm_conv.cpp; 90s local ... (32 actions, 31 running) [4,435 / 9,849] Compiling src/cpu/x64/jit_brgemm_conv.cpp; 91s local ... (32 actions, 31 running) [4,439 / 9,849] Compiling src/cpu/x64/jit_brgemm_conv.cpp; 92s local ... (32 actions, 31 running) [4,445 / 9,849] Compiling src/cpu/x64/jit_brgemm_conv.cpp; 93s local ... (32 actions, 31 running) [4,452 / 9,849] Compiling src/cpu/x64/jit_brgemm_conv.cpp; 94s local ... (32 actions, 30 running) [4,459 / 9,849] Compiling src/cpu/x64/jit_brgemm_conv.cpp; 95s local ... (32 actions, 31 running) [4,463 / 9,849] Compiling src/cpu/x64/jit_brgemm_conv.cpp; 97s local ... (32 actions, 31 running) [4,465 / 9,849] Compiling src/cpu/x64/jit_brgemm_conv.cpp; 98s local ... (32 actions running) [4,468 / 9,849] Compiling src/cpu/x64/jit_brgemm_conv.cpp; 99s local ... (32 actions, 31 running) [4,477 / 9,849] Compiling src/cpu/x64/jit_brgemm_conv.cpp; 101s local ... (32 actions running) [4,483 / 9,849] Compiling src/cpu/x64/jit_brgemm_conv.cpp; 102s local ... (32 actions, 31 running) [4,488 / 9,849] Compiling src/cpu/x64/jit_brgemm_conv.cpp; 103s local ... (32 actions, 31 running) [4,490 / 9,849] Compiling src/cpu/x64/jit_brgemm_conv.cpp; 105s local ... (32 actions running) [4,493 / 9,849] Compiling src/cpu/x64/jit_brgemm_conv.cpp; 106s local ... (32 actions running) [4,495 / 9,849] Compiling src/cpu/x64/jit_brgemm_conv.cpp; 107s local ... (32 actions, 31 running) [4,501 / 9,849] Compiling src/cpu/x64/jit_brgemm_conv.cpp; 108s local ... (32 actions, 31 running) [4,506 / 9,849] Compiling src/cpu/x64/jit_brgemm_conv.cpp; 109s local ... (32 actions, 31 running) [4,511 / 9,849] Compiling src/cpu/x64/jit_brgemm_conv.cpp; 111s local ... (32 actions, 31 running) [4,512 / 9,849] Compiling src/cpu/x64/jit_brgemm_conv.cpp; 112s local ... (32 actions running) [4,517 / 9,849] Compiling src/cpu/x64/jit_brgemm_conv.cpp; 113s local ... (32 actions, 31 running) [4,522 / 9,849] Compiling src/cpu/x64/jit_brgemm_conv.cpp; 114s local ... (32 actions, 31 running) [4,527 / 9,849] Compiling src/cpu/x64/jit_brgemm_conv.cpp; 115s local ... (32 actions, 31 running) [4,528 / 9,849] Compiling src/cpu/x64/jit_brgemm_conv.cpp; 117s local ... (32 actions running) [4,529 / 9,849] Compiling src/cpu/x64/jit_brgemm_conv.cpp; 118s local ... (32 actions, 31 running) [4,537 / 9,849] Compiling src/cpu/x64/jit_brgemm_conv.cpp; 119s local ... (32 actions, 31 running) [4,539 / 9,849] Compiling src/cpu/x64/jit_brgemm_conv.cpp; 120s local ... (32 actions, 31 running) [4,543 / 9,849] Compiling llvm/lib/Passes/PassBuilder.cpp; 90s local ... (32 actions, 31 running) [4,546 / 9,849] Compiling llvm/lib/Passes/PassBuilder.cpp; 92s local ... (32 actions, 31 running) [4,554 / 9,849] Compiling llvm/lib/Passes/PassBuilder.cpp; 93s local ... (32 actions running) [4,557 / 9,849] Compiling llvm/lib/Passes/PassBuilder.cpp; 94s local ... (32 actions, 31 running) [4,562 / 9,849] Compiling llvm/lib/Passes/PassBuilder.cpp; 95s local ... (32 actions, 31 running) [4,566 / 9,849] Compiling llvm/lib/Passes/PassBuilder.cpp; 97s local ... (32 actions, 31 running) [4,571 / 9,849] Compiling llvm/lib/Passes/PassBuilder.cpp; 98s local ... (32 actions running) [4,576 / 9,849] Compiling llvm/lib/Passes/PassBuilder.cpp; 99s local ... (32 actions, 31 running) [4,580 / 9,849] Compiling llvm/lib/Passes/PassBuilder.cpp; 100s local ... (32 actions, 31 running) [4,587 / 9,849] Compiling llvm/lib/Passes/PassBuilder.cpp; 101s local ... (32 actions, 31 running) [4,591 / 9,849] Compiling llvm/lib/Passes/PassBuilder.cpp; 103s local ... (32 actions running) [4,598 / 9,849] Compiling llvm/lib/Passes/PassBuilder.cpp; 104s local ... (32 actions, 31 running) [4,600 / 9,849] Compiling llvm/lib/Passes/PassBuilder.cpp; 105s local ... (32 actions, 31 running) [4,603 / 9,849] Compiling llvm/lib/Passes/PassBuilder.cpp; 106s local ... (32 actions, 31 running) [4,607 / 9,849] Compiling llvm/lib/Passes/PassBuilder.cpp; 107s local ... (32 actions, 31 running) [4,609 / 9,849] Compiling llvm/lib/Passes/PassBuilder.cpp; 108s local ... (32 actions, 31 running) [4,614 / 9,849] Compiling llvm/lib/Passes/PassBuilder.cpp; 110s local ... (32 actions, 31 running) [4,619 / 9,849] Compiling llvm/lib/Passes/PassBuilder.cpp; 111s local ... (32 actions running) [4,626 / 9,849] Compiling llvm/lib/Passes/PassBuilder.cpp; 113s local ... (32 actions running) [4,635 / 9,849] Compiling llvm/lib/Passes/PassBuilder.cpp; 114s local ... (32 actions, 31 running) [4,642 / 9,849] Compiling llvm/lib/Passes/PassBuilder.cpp; 116s local ... (32 actions running) [4,646 / 9,849] Compiling llvm/lib/Passes/PassBuilder.cpp; 117s local ... (32 actions, 31 running) [4,651 / 9,849] Compiling llvm/lib/Passes/PassBuilder.cpp; 118s local ... (32 actions, 31 running) [4,656 / 9,849] Compiling llvm/lib/Passes/PassBuilder.cpp; 119s local ... (32 actions, 31 running) [4,660 / 9,849] Compiling src/cpu/x64/jit_brgemm_1x1_conv.cpp; 21s local ... (32 actions, 31 running) [4,664 / 9,849] Compiling src/cpu/x64/jit_brgemm_1x1_conv.cpp; 22s local ... (32 actions, 31 running) [4,667 / 9,849] Compiling src/cpu/x64/jit_brgemm_1x1_conv.cpp; 23s local ... (32 actions, 31 running) [4,673 / 9,849] Compiling src/cpu/x64/jit_brgemm_1x1_conv.cpp; 24s local ... (32 actions running) [4,679 / 9,849] Compiling src/cpu/x64/jit_brgemm_1x1_conv.cpp; 25s local ... (32 actions, 31 running) [4,682 / 9,849] Compiling src/cpu/x64/jit_brgemm_1x1_conv.cpp; 27s local ... (32 actions, 31 running) [4,688 / 9,849] Compiling src/cpu/x64/jit_brgemm_1x1_conv.cpp; 28s local ... (32 actions, 31 running) [4,701 / 9,849] Compiling llvm/lib/CodeGen/MachineBlockPlacement.cpp; 22s local ... (32 actions, 31 running) [4,707 / 9,849] Compiling llvm/lib/Analysis/ModuleSummaryAnalysis.cpp; 18s local ... (32 actions, 31 running) [4,708 / 9,849] Compiling llvm/lib/Analysis/ModuleSummaryAnalysis.cpp; 19s local ... (32 actions running) [4,712 / 9,849] Compiling llvm/lib/Analysis/ModuleSummaryAnalysis.cpp; 20s local ... (32 actions running) [4,719 / 9,849] Compiling llvm/lib/Analysis/ModuleSummaryAnalysis.cpp; 21s local ... (32 actions running) [4,723 / 9,849] Compiling llvm/lib/Analysis/ModuleSummaryAnalysis.cpp; 22s local ... (32 actions, 31 running) [4,728 / 9,849] Compiling llvm/lib/CodeGen/MachineBasicBlock.cpp; 21s local ... (32 actions, 31 running) [4,729 / 9,849] Compiling llvm/lib/CodeGen/MachineBasicBlock.cpp; 22s local ... (32 actions, 31 running) [4,732 / 9,849] Compiling llvm/lib/CodeGen/MachineBasicBlock.cpp; 23s local ... (32 actions running) [4,737 / 9,849] Compiling llvm/lib/Passes/PassBuilderBindings.cpp; 18s local ... (32 actions running) [4,740 / 9,849] Compiling llvm/lib/Passes/PassBuilderBindings.cpp; 19s local ... (32 actions running) [4,744 / 9,849] Compiling llvm/lib/Passes/PassBuilderBindings.cpp; 20s local ... (32 actions, 31 running) [4,752 / 9,849] Compiling llvm/lib/Transforms/Scalar/GVN.cpp; 19s local ... (32 actions, 31 running) [4,755 / 9,849] Compiling llvm/lib/Transforms/Scalar/GVN.cpp; 20s local ... (32 actions, 31 running) [4,765 / 9,849] Compiling llvm/lib/Transforms/Scalar/GVN.cpp; 21s local ... (32 actions, 31 running) [4,772 / 9,849] Compiling llvm/lib/Transforms/Scalar/GVN.cpp; 23s local ... (32 actions running) [4,775 / 9,849] Compiling llvm/lib/Transforms/Scalar/GVN.cpp; 24s local ... (32 actions, 31 running) [4,779 / 9,849] Compiling llvm/lib/CodeGen/MIRSampleProfile.cpp; 19s local ... (32 actions, 31 running) [4,784 / 9,849] Compiling llvm/lib/CodeGen/MIRSampleProfile.cpp; 20s local ... (32 actions, 31 running) [4,790 / 9,849] Compiling llvm/lib/CodeGen/MIRSampleProfile.cpp; 22s local ... (32 actions running) [4,799 / 9,849] Compiling llvm/lib/CodeGen/MIRSampleProfile.cpp; 23s local ... (32 actions, 31 running) [4,804 / 9,849] Compiling llvm/lib/CodeGen/MIRPrinter.cpp; 20s local ... (32 actions, 31 running) [4,810 / 9,849] Compiling llvm/lib/CodeGen/MIRPrinter.cpp; 21s local ... (32 actions, 31 running) [4,817 / 9,849] Compiling llvm/lib/CodeGen/MIRPrinter.cpp; 23s local ... (32 actions running) [4,820 / 9,849] Compiling llvm/lib/CodeGen/MIRPrinter.cpp; 24s local ... (32 actions running) [4,821 / 9,849] Compiling llvm/lib/CodeGen/MIRPrinter.cpp; 25s local ... (32 actions running) [4,829 / 9,849] Compiling llvm/lib/CodeGen/MIRParser/MIRParser.cpp; 20s local ... (32 actions running) [4,833 / 9,849] Compiling llvm/lib/CodeGen/MIRParser/MIRParser.cpp; 21s local ... (32 actions running) [4,836 / 9,849] Compiling llvm/lib/CodeGen/MIRParser/MIRParser.cpp; 23s local ... (32 actions, 31 running) [4,839 / 9,849] Compiling llvm/lib/CodeGen/MIRParser/MIRParser.cpp; 24s local ... (32 actions, 31 running) [4,847 / 9,849] Compiling llvm/lib/CodeGen/MIRParser/MIRParser.cpp; 25s local ... (32 actions, 31 running) [4,849 / 9,849] Compiling llvm/lib/CodeGen/MIRParser/MIRParser.cpp; 26s local ... (32 actions, 31 running) [4,855 / 9,849] Compiling llvm/lib/Passes/PassBuilderPipelines.cpp; 24s local ... (32 actions, 31 running) [4,862 / 9,849] Compiling llvm/lib/Passes/PassBuilderPipelines.cpp; 25s local ... (32 actions, 31 running) [4,864 / 9,849] Compiling llvm/lib/Passes/PassBuilderPipelines.cpp; 26s local ... (32 actions running) [4,869 / 9,849] Compiling llvm/lib/Passes/PassBuilderPipelines.cpp; 27s local ... (32 actions, 31 running) [4,874 / 9,849] Compiling llvm/lib/Passes/PassBuilderPipelines.cpp; 29s local ... (32 actions, 31 running) [4,879 / 9,849] Compiling llvm/lib/Passes/PassBuilderPipelines.cpp; 30s local ... (32 actions running) [4,881 / 9,849] Compiling llvm/lib/Passes/PassBuilderPipelines.cpp; 31s local ... (32 actions, 31 running) [4,893 / 9,849] Compiling llvm/lib/Passes/PassBuilderPipelines.cpp; 32s local ... (32 actions, 31 running) [4,897 / 9,849] Compiling llvm/lib/Passes/PassBuilderPipelines.cpp; 34s local ... (32 actions, 31 running) [4,902 / 9,849] Compiling llvm/lib/Passes/PassBuilderPipelines.cpp; 35s local ... (32 actions, 31 running) [4,911 / 9,849] Compiling llvm/lib/Passes/PassBuilderPipelines.cpp; 36s local ... (32 actions, 31 running) [4,917 / 9,849] Compiling llvm/lib/Passes/PassBuilderPipelines.cpp; 37s local ... (32 actions running) [4,922 / 9,849] Compiling llvm/lib/Passes/PassBuilderPipelines.cpp; 39s local ... (32 actions, 31 running) [4,926 / 9,849] Compiling llvm/lib/Passes/PassBuilderPipelines.cpp; 40s local ... (32 actions, 31 running) [4,926 / 9,849] Compiling llvm/lib/Passes/PassBuilderPipelines.cpp; 41s local ... (32 actions running) [4,931 / 9,849] Compiling llvm/lib/Passes/PassBuilderPipelines.cpp; 42s local ... (32 actions, 31 running) [4,935 / 9,849] Compiling llvm/lib/Passes/PassBuilderPipelines.cpp; 43s local ... (32 actions, 31 running) [4,942 / 9,849] Compiling llvm/lib/Passes/PassBuilderPipelines.cpp; 45s local ... (32 actions running) [4,950 / 9,849] Compiling llvm/lib/Passes/PassBuilderPipelines.cpp; 46s local ... (32 actions, 31 running) [4,955 / 9,849] Compiling llvm/lib/Passes/PassBuilderPipelines.cpp; 48s local ... (32 actions, 31 running) [4,957 / 9,849] Compiling llvm/lib/Passes/PassBuilderPipelines.cpp; 49s local ... (32 actions running) [4,966 / 9,849] Compiling llvm/lib/CodeGen/LiveDebugVariables.cpp; 15s local ... (32 actions running) [4,971 / 9,849] Compiling llvm/lib/CodeGen/LiveDebugVariables.cpp; 17s local ... (32 actions, 31 running) [4,976 / 9,849] Compiling llvm/lib/CodeGen/LiveDebugVariables.cpp; 18s local ... (32 actions running) [4,979 / 9,849] Compiling llvm/lib/CodeGen/LiveDebugVariables.cpp; 19s local ... (32 actions running) [4,984 / 9,849] Compiling llvm/lib/CodeGen/LiveDebugVariables.cpp; 20s local ... (32 actions running) [4,989 / 9,849] Compiling llvm/lib/CodeGen/LiveDebugVariables.cpp; 22s local ... (32 actions, 31 running) [4,994 / 9,849] Compiling llvm/lib/CodeGen/LiveDebugVariables.cpp; 23s local ... (32 actions, 31 running) [4,998 / 9,849] Compiling llvm/lib/CodeGen/LiveDebugValues/VarLocBasedImpl.cpp; 24s local ... (32 actions, 31 running) [5,003 / 9,849] Compiling llvm/lib/CodeGen/LiveDebugValues/VarLocBasedImpl.cpp; 25s local ... (32 actions, 31 running) [5,005 / 9,849] Compiling llvm/lib/CodeGen/LiveDebugValues/VarLocBasedImpl.cpp; 26s local ... (32 actions running) [5,011 / 9,849] Compiling llvm/lib/CodeGen/LiveDebugValues/VarLocBasedImpl.cpp; 27s local ... (32 actions, 31 running) [5,013 / 9,849] Compiling llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp; 28s local ... (32 actions, 31 running) [5,022 / 9,849] Compiling llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp; 29s local ... (32 actions running) [5,023 / 9,849] Compiling llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp; 31s local ... (32 actions, 31 running) [5,027 / 9,849] Compiling llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp; 32s local ... (32 actions, 31 running) [5,031 / 9,849] Compiling llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp; 33s local ... (32 actions running) [5,035 / 9,849] Compiling llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp; 35s local ... (32 actions, 31 running) [5,036 / 9,849] Compiling llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp; 36s local ... (32 actions, 31 running) [5,039 / 9,849] Compiling llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp; 37s local ... (32 actions running) [5,044 / 9,849] Compiling llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp; 39s local ... (32 actions, 31 running) [5,046 / 9,849] Compiling llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp; 40s local ... (32 actions, 31 running) [5,051 / 9,849] Compiling llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp; 27s local ... (32 actions, 31 running) [5,054 / 9,849] Compiling llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp; 28s local ... (32 actions, 31 running) [5,057 / 9,849] Compiling llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp; 29s local ... (32 actions running) [5,060 / 9,849] Compiling llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp; 31s local ... (32 actions running) [5,064 / 9,849] Compiling llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp; 32s local ... (32 actions running) [5,068 / 9,849] Compiling llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp; 33s local ... (32 actions, 31 running) [5,072 / 9,849] Compiling llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp; 35s local ... (32 actions, 31 running) [5,082 / 9,849] Compiling llvm/lib/Passes/StandardInstrumentations.cpp; 34s local ... (32 actions running) [5,085 / 9,849] Compiling llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp; 33s local ... (32 actions running) [5,090 / 9,849] Compiling llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp; 34s local ... (32 actions, 31 running) [5,094 / 9,849] Compiling xla/service/cpu/runtime_matmul_s32.cc; 32s local ... (32 actions, 31 running) [5,097 / 9,849] Compiling xla/service/cpu/runtime_matmul_s32.cc; 34s local ... (32 actions running) [5,098 / 9,849] Compiling xla/service/cpu/runtime_matmul_s32.cc; 35s local ... (32 actions, 31 running) [5,103 / 9,849] Compiling xla/service/cpu/runtime_matmul_s32.cc; 37s local ... (32 actions running) [5,107 / 9,849] Compiling xla/service/cpu/runtime_matmul_s32.cc; 38s local ... (32 actions running) [5,108 / 9,849] Compiling xla/service/cpu/runtime_matmul_s32.cc; 39s local ... (32 actions running) [5,110 / 9,849] Compiling xla/service/cpu/runtime_matmul_s32.cc; 40s local ... (32 actions running) [5,118 / 9,849] Compiling xla/backends/cpu/runtime/convolution_thunk_f32.cc; 39s local ... (32 actions, 31 running) [5,119 / 9,849] Compiling xla/backends/cpu/runtime/convolution_thunk_f32.cc; 40s local ... (32 actions running) [5,121 / 9,849] Compiling xla/backends/cpu/runtime/convolution_thunk_f32.cc; 41s local ... (32 actions running) [5,126 / 9,849] Compiling xla/backends/cpu/runtime/convolution_thunk_f32.cc; 43s local ... (32 actions, 31 running) [5,127 / 9,849] Compiling xla/backends/cpu/runtime/convolution_thunk_f32.cc; 44s local ... (32 actions running) [5,130 / 9,849] Compiling xla/backends/cpu/runtime/convolution_thunk_f32.cc; 45s local ... (32 actions running) [5,134 / 9,849] Compiling xla/backends/cpu/runtime/convolution_thunk_f32.cc; 47s local ... (32 actions, 31 running) [5,135 / 9,849] Compiling xla/backends/cpu/runtime/convolution_thunk_f32.cc; 48s local ... (32 actions, 31 running) [5,140 / 9,849] Compiling xla/backends/cpu/runtime/convolution_thunk_f32.cc; 49s local ... (32 actions, 31 running) [5,144 / 9,849] Compiling xla/backends/cpu/runtime/convolution_thunk_f32.cc; 50s local ... (32 actions running) [5,147 / 9,849] Compiling xla/backends/cpu/runtime/convolution_thunk_f32.cc; 52s local ... (32 actions, 31 running) [5,151 / 9,849] Compiling xla/backends/cpu/runtime/convolution_thunk_f32.cc; 53s local ... (32 actions, 31 running) [5,152 / 9,849] Compiling xla/backends/cpu/runtime/convolution_thunk_f32.cc; 54s local ... (32 actions running) [5,154 / 9,849] Compiling xla/backends/cpu/runtime/convolution_thunk_f32.cc; 55s local ... (32 actions running) [5,155 / 9,849] Compiling xla/backends/cpu/runtime/convolution_thunk_f32.cc; 58s local ... (32 actions, 31 running) [5,162 / 9,849] Compiling xla/backends/cpu/runtime/convolution_thunk_f32.cc; 59s local ... (32 actions, 31 running) [5,166 / 9,849] Compiling xla/backends/cpu/runtime/convolution_thunk_f32.cc; 60s local ... (32 actions, 31 running) [5,170 / 9,849] Compiling xla/backends/cpu/runtime/convolution_thunk_f32.cc; 61s local ... (32 actions, 31 running) [5,173 / 9,849] Compiling xla/backends/cpu/runtime/convolution_thunk_f32.cc; 62s local ... (32 actions running) [5,175 / 9,849] Compiling xla/backends/cpu/runtime/convolution_thunk_f32.cc; 63s local ... (32 actions running) [5,181 / 9,849] Compiling xla/backends/cpu/runtime/convolution_thunk_f32.cc; 65s local ... (32 actions, 31 running) [5,182 / 9,849] Compiling xla/backends/cpu/runtime/convolution_thunk_f32.cc; 66s local ... (32 actions running) [5,184 / 9,849] Compiling xla/backends/cpu/runtime/convolution_thunk_f32.cc; 67s local ... (32 actions running) [5,188 / 9,849] Compiling xla/backends/cpu/runtime/convolution_thunk_f32.cc; 69s local ... (32 actions, 31 running) [5,190 / 9,849] Compiling xla/backends/cpu/runtime/convolution_thunk_f32.cc; 70s local ... (32 actions, 31 running) [5,195 / 9,849] Compiling xla/backends/cpu/runtime/convolution_thunk_f32.cc; 71s local ... (32 actions, 31 running) [5,195 / 9,849] Compiling xla/backends/cpu/runtime/convolution_thunk_f32.cc; 72s local ... (32 actions running) [5,198 / 9,849] Compiling xla/backends/cpu/runtime/convolution_thunk_f32.cc; 73s local ... (32 actions running) [5,201 / 9,849] Compiling xla/backends/cpu/runtime/convolution_thunk_f32.cc; 75s local ... (32 actions, 31 running) [5,203 / 9,849] Compiling xla/backends/cpu/runtime/convolution_thunk_f32.cc; 76s local ... (32 actions running) [5,204 / 9,849] Compiling xla/backends/cpu/runtime/convolution_thunk_f32.cc; 77s local ... (32 actions running) [5,208 / 9,849] Compiling xla/backends/cpu/runtime/convolution_thunk_f32.cc; 79s local ... (32 actions, 31 running) [5,211 / 9,849] Compiling xla/backends/cpu/runtime/convolution_thunk_f32.cc; 80s local ... (32 actions, 31 running) [5,212 / 9,849] Compiling xla/backends/cpu/runtime/convolution_thunk_f32.cc; 81s local ... (31 actions running) [5,216 / 9,849] Compiling xla/backends/cpu/runtime/convolution_thunk_f32.cc; 83s local ... (32 actions, 31 running) [5,219 / 9,849] Compiling xla/backends/cpu/runtime/convolution_thunk_f32.cc; 84s local ... (32 actions, 31 running) [5,221 / 9,849] Compiling xla/backends/cpu/runtime/convolution_thunk_f32.cc; 85s local ... (32 actions, 31 running) [5,226 / 9,849] Compiling xla/backends/cpu/runtime/convolution_thunk_f32.cc; 86s local ... (32 actions running) [5,228 / 9,849] Compiling xla/backends/cpu/runtime/convolution_thunk_f32.cc; 87s local ... (32 actions running) [5,234 / 9,849] Compiling xla/backends/cpu/runtime/convolution_thunk_f32.cc; 88s local ... (32 actions running) [5,235 / 9,849] Compiling xla/backends/cpu/runtime/convolution_thunk_f32.cc; 90s local ... (32 actions, 31 running) [5,239 / 9,849] Compiling xla/backends/cpu/runtime/convolution_thunk_f32.cc; 91s local ... (32 actions, 31 running) [5,246 / 9,849] Compiling xla/backends/cpu/runtime/convolution_thunk_f32.cc; 92s local ... (32 actions, 31 running) [5,247 / 9,849] Compiling xla/backends/cpu/runtime/convolution_thunk_f32.cc; 93s local ... (32 actions, 31 running) [5,249 / 9,849] Compiling xla/backends/cpu/runtime/convolution_thunk_f32.cc; 94s local ... (32 actions running) [5,254 / 9,849] Compiling xla/backends/cpu/runtime/convolution_thunk_f32.cc; 96s local ... (32 actions, 31 running) [5,255 / 9,849] Compiling xla/backends/cpu/runtime/convolution_thunk_f32.cc; 97s local ... (32 actions running) [5,258 / 9,849] Compiling xla/backends/cpu/runtime/convolution_thunk_f32.cc; 99s local ... (32 actions, 31 running) [5,265 / 9,849] Compiling xla/backends/cpu/runtime/convolution_thunk_f32.cc; 100s local ... (32 actions, 31 running) [5,268 / 9,849] Compiling xla/backends/cpu/runtime/convolution_thunk_f32.cc; 101s local ... (32 actions running) [5,270 / 9,849] Compiling xla/backends/cpu/runtime/convolution_thunk_f32.cc; 102s local ... (32 actions running) [5,275 / 9,849] Compiling xla/backends/cpu/runtime/convolution_thunk_f32.cc; 104s local ... (32 actions, 31 running) [5,280 / 9,849] Compiling xla/backends/cpu/runtime/convolution_thunk_f32.cc; 105s local ... (32 actions, 31 running) [5,285 / 9,849] Compiling xla/backends/cpu/runtime/convolution_thunk_f32.cc; 106s local ... (32 actions, 31 running) [5,287 / 9,849] Compiling xla/backends/cpu/runtime/convolution_thunk_f32.cc; 107s local ... (32 actions running) [5,290 / 9,849] Compiling xla/backends/cpu/runtime/convolution_thunk_f32.cc; 109s local ... (32 actions, 31 running) [5,295 / 9,849] Compiling xla/backends/cpu/runtime/convolution_thunk_f32.cc; 110s local ... (32 actions, 31 running) [5,298 / 9,849] Compiling xla/backends/cpu/runtime/convolution_thunk_f32.cc; 111s local ... (32 actions, 31 running) [5,302 / 9,849] Compiling xla/backends/cpu/runtime/convolution_thunk_f32.cc; 112s local ... (32 actions, 31 running) [5,310 / 9,849] Compiling xla/backends/cpu/runtime/convolution_thunk_f32.cc; 113s local ... (32 actions, 31 running) [5,319 / 9,849] Compiling xla/backends/cpu/runtime/convolution_thunk_f32.cc; 114s local ... (32 actions running) [5,328 / 9,849] Compiling xla/backends/cpu/runtime/convolution_thunk_f32.cc; 115s local ... (32 actions running) [5,333 / 9,849] Compiling xla/backends/cpu/runtime/convolution_thunk_f32.cc; 117s local ... (32 actions, 31 running) [5,339 / 9,849] Compiling xla/backends/cpu/runtime/convolution_thunk_f32.cc; 118s local ... (32 actions, 31 running) [5,345 / 9,849] Compiling xla/backends/cpu/runtime/convolution_thunk_f32.cc; 120s local ... (32 actions, 31 running) [5,347 / 9,849] Compiling xla/backends/cpu/runtime/convolution_thunk_f32.cc; 121s local ... (32 actions running) [5,350 / 9,849] Compiling xla/backends/cpu/runtime/convolution_thunk_f32.cc; 122s local ... (32 actions running) ERROR: /home/lie/.cache/pikaur/build/python-jaxlib-cuda/src/jax-jax-v0.4.35/jaxlib/cuda/BUILD:75:13: Compiling jaxlib/gpu/make_batch_pointers.cu.cc failed: (Exit 1): clang-18 failed: error executing command (from target //jaxlib/cuda:cuda_make_batch_pointers) (cd /home/lie/.cache/bazel/_bazel_lie/ca5827d19938fa4a99a005b1b7bd341c/execroot/__main__ && \ exec env - \ CLANG_COMPILER_PATH=/usr/sbin/clang-18 \ CLANG_CUDA_COMPILER_PATH=/usr/sbin/clang-18 \ CUDA_TOOLKIT_PATH=/opt/cuda \ GCC_HOST_COMPILER_PATH=/usr/bin/gcc-13 \ NCCL_INSTALL_PATH=/usr \ PATH=/usr/local/sbin:/usr/local/bin:/usr/bin \ PWD=/proc/self/cwd \ TF_CUDA_COMPUTE_CAPABILITIES=sm_70,sm_75,sm_80,sm_86,sm_89,sm_90,compute_90 \ TF_CUDA_PATHS=/opt/cuda,/usr/lib,/usr \ /usr/sbin/clang-18 -MD -MF bazel-out/k8-opt/bin/jaxlib/cuda/_objs/cuda_make_batch_pointers/make_batch_pointers.cu.pic.d '-frandom-seed=bazel-out/k8-opt/bin/jaxlib/cuda/_objs/cuda_make_batch_pointers/make_batch_pointers.cu.pic.o' '-DEIGEN_MAX_ALIGN_BYTES=64' -DEIGEN_ALLOW_UNALIGNED_SCALARS '-DEIGEN_USE_AVX512_GEMM_KERNELS=0' '-DJAX_GPU_CUDA=1' '-DBAZEL_CURRENT_REPOSITORY=""' -iquote . -iquote bazel-out/k8-opt/bin -iquote external/local_config_cuda -iquote bazel-out/k8-opt/bin/external/local_config_cuda -iquote external/cuda_cudart -iquote bazel-out/k8-opt/bin/external/cuda_cudart -iquote external/cuda_cublas -iquote bazel-out/k8-opt/bin/external/cuda_cublas -iquote external/cuda_cccl -iquote bazel-out/k8-opt/bin/external/cuda_cccl -iquote external/cuda_nvtx -iquote bazel-out/k8-opt/bin/external/cuda_nvtx -iquote external/cuda_nvcc -iquote bazel-out/k8-opt/bin/external/cuda_nvcc -iquote external/cuda_cusolver -iquote bazel-out/k8-opt/bin/external/cuda_cusolver -iquote external/cuda_cufft -iquote bazel-out/k8-opt/bin/external/cuda_cufft -iquote external/cuda_cusparse -iquote bazel-out/k8-opt/bin/external/cuda_cusparse -iquote external/cuda_curand -iquote bazel-out/k8-opt/bin/external/cuda_curand -iquote external/cuda_cupti -iquote bazel-out/k8-opt/bin/external/cuda_cupti -iquote external/cuda_nvml -iquote bazel-out/k8-opt/bin/external/cuda_nvml -iquote external/cuda_nvjitlink -iquote bazel-out/k8-opt/bin/external/cuda_nvjitlink -iquote external/cuda_cudnn -iquote bazel-out/k8-opt/bin/external/cuda_cudnn -iquote external/xla -iquote bazel-out/k8-opt/bin/external/xla -iquote external/tsl -iquote bazel-out/k8-opt/bin/external/tsl -iquote external/eigen_archive -iquote bazel-out/k8-opt/bin/external/eigen_archive -iquote external/ml_dtypes -iquote bazel-out/k8-opt/bin/external/ml_dtypes -iquote external/com_google_absl -iquote bazel-out/k8-opt/bin/external/com_google_absl -iquote external/nsync -iquote bazel-out/k8-opt/bin/external/nsync -iquote external/double_conversion -iquote bazel-out/k8-opt/bin/external/double_conversion -iquote external/com_google_protobuf -iquote bazel-out/k8-opt/bin/external/com_google_protobuf -iquote external/zlib -iquote bazel-out/k8-opt/bin/external/zlib -iquote external/local_config_rocm -iquote bazel-out/k8-opt/bin/external/local_config_rocm -iquote external/local_config_tensorrt -iquote bazel-out/k8-opt/bin/external/local_config_tensorrt -iquote external/nccl_archive -iquote bazel-out/k8-opt/bin/external/nccl_archive -Ibazel-out/k8-opt/bin/external/local_config_cuda/cuda/_virtual_includes/cuda_headers -Ibazel-out/k8-opt/bin/external/cuda_cudart/_virtual_includes/headers -Ibazel-out/k8-opt/bin/external/cuda_cublas/_virtual_includes/headers -Ibazel-out/k8-opt/bin/external/cuda_cccl/_virtual_includes/headers -Ibazel-out/k8-opt/bin/external/cuda_nvtx/_virtual_includes/headers -Ibazel-out/k8-opt/bin/external/cuda_nvcc/_virtual_includes/headers -Ibazel-out/k8-opt/bin/external/cuda_cusolver/_virtual_includes/headers -Ibazel-out/k8-opt/bin/external/cuda_cufft/_virtual_includes/headers -Ibazel-out/k8-opt/bin/external/cuda_cusparse/_virtual_includes/headers -Ibazel-out/k8-opt/bin/external/cuda_curand/_virtual_includes/headers -Ibazel-out/k8-opt/bin/external/cuda_cupti/_virtual_includes/headers -Ibazel-out/k8-opt/bin/external/cuda_nvml/_virtual_includes/headers -Ibazel-out/k8-opt/bin/external/cuda_nvjitlink/_virtual_includes/headers -Ibazel-out/k8-opt/bin/external/cuda_cudnn/_virtual_includes/headers -Ibazel-out/k8-opt/bin/external/ml_dtypes/_virtual_includes/float8 -Ibazel-out/k8-opt/bin/external/ml_dtypes/_virtual_includes/intn -Ibazel-out/k8-opt/bin/external/local_config_tensorrt/_virtual_includes/tensorrt_headers -Ibazel-out/k8-opt/bin/external/nccl_archive/_virtual_includes/nccl_config -isystem external/local_config_cuda/cuda -isystem bazel-out/k8-opt/bin/external/local_config_cuda/cuda -isystem external/cuda_cudart/include -isystem bazel-out/k8-opt/bin/external/cuda_cudart/include -isystem external/cuda_cublas/include -isystem bazel-out/k8-opt/bin/external/cuda_cublas/include -isystem external/cuda_cccl/include -isystem bazel-out/k8-opt/bin/external/cuda_cccl/include -isystem external/cuda_nvtx/include -isystem bazel-out/k8-opt/bin/external/cuda_nvtx/include -isystem external/cuda_nvcc/include -isystem bazel-out/k8-opt/bin/external/cuda_nvcc/include -isystem external/cuda_cusolver/include -isystem bazel-out/k8-opt/bin/external/cuda_cusolver/include -isystem external/cuda_cufft/include -isystem bazel-out/k8-opt/bin/external/cuda_cufft/include -isystem external/cuda_cusparse/include -isystem bazel-out/k8-opt/bin/external/cuda_cusparse/include -isystem external/cuda_curand/include -isystem bazel-out/k8-opt/bin/external/cuda_curand/include -isystem external/cuda_cupti/include -isystem bazel-out/k8-opt/bin/external/cuda_cupti/include -isystem external/cud a_nvml/include -isystem bazel-out/k8-opt/bin/external/cuda_nvml/include -isystem external/cuda_nvjitlink/include -isystem bazel-out/k8-opt/bin/external/cuda_nvjitlink/include -isystem external/cuda_cudnn/include -isystem bazel-out/k8-opt/bin/external/cuda_cudnn/include -isystem external/eigen_archive -isystem bazel-out/k8-opt/bin/external/eigen_archive -isystem external/eigen_archive/mkl_include -isystem bazel-out/k8-opt/bin/external/eigen_archive/mkl_include -isystem external/ml_dtypes -isystem bazel-out/k8-opt/bin/external/ml_dtypes -isystem external/ml_dtypes/ml_dtypes -isystem bazel-out/k8-opt/bin/external/ml_dtypes/ml_dtypes -isystem external/nsync/public -isystem bazel-out/k8-opt/bin/external/nsync/public -isystem external/com_google_protobuf/src -isystem bazel-out/k8-opt/bin/external/com_google_protobuf/src -isystem external/zlib -isystem bazel-out/k8-opt/bin/external/zlib -isystem external/local_config_rocm/rocm -isystem bazel-out/k8-opt/bin/external/local_config_rocm/rocm -isystem external/local_config_rocm/rocm/rocm/include -isystem bazel-out/k8-opt/bin/external/local_config_rocm/rocm/rocm/include -isystem external/local_config_rocm/rocm/rocm/include/rocrand -isystem bazel-out/k8-opt/bin/external/local_config_rocm/rocm/rocm/include/rocrand -isystem external/local_config_rocm/rocm/rocm/include/roctracer -isystem bazel-out/k8-opt/bin/external/local_config_rocm/rocm/rocm/include/roctracer -Wno-builtin-macro-redefined '-D__DATE__="redacted"' '-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"' -fPIC -U_FORTIFY_SOURCE '-D_FORTIFY_SOURCE=1' -fstack-protector -Wall -Wno-invalid-partial-specialization -fno-omit-frame-pointer -no-canonical-prefixes -DNDEBUG -g0 -O2 -ffunction-sections -fdata-sections '-fvisibility=hidden' -Wno-sign-compare -Wno-unknown-warning-option -Wno-stringop-truncation -Wno-array-parameter '-DMLIR_PYTHON_PACKAGE_PREFIX=jaxlib.mlir.' '-Wno-error=unused-command-line-argument' -Wno-gnu-offsetof-extensions -mavx '-std=c++17' -x cuda '-DGOOGLE_CUDA=1' '--cuda-gpu-arch=sm_50' '--cuda-gpu-arch=sm_60' '--cuda-gpu-arch=sm_70' '--cuda-gpu-arch=sm_80' '--cuda-include-ptx=sm_90' '--cuda-gpu-arch=sm_90' -O3 -Xcuda-fatbinary --compress-all -c jaxlib/gpu/make_batch_pointers.cu.cc -o bazel-out/k8-opt/bin/jaxlib/cuda/_objs/cuda_make_batch_pointers/make_batch_pointers.cu.pic.o) # Configuration: 3d2432b3ab18d0e9f7c12e6a4c6a111ad5c03346248772e904f529a15319edeb # Execution platform: @local_execution_config_platform//:platform clang-18: error: cannot find libdevice for sm_50; provide path to different CUDA installation via '--cuda-path', or pass '-nocudalib' to build without linking with libdevice clang-18: error: cannot find CUDA installation; provide its path via '--cuda-path', or pass '-nocudainc' to build without CUDA includes clang-18: error: cannot find libdevice for sm_60; provide path to different CUDA installation via '--cuda-path', or pass '-nocudalib' to build without linking with libdevice clang-18: error: cannot find CUDA installation; provide its path via '--cuda-path', or pass '-nocudainc' to build without CUDA includes clang-18: error: cannot find libdevice for sm_70; provide path to different CUDA installation via '--cuda-path', or pass '-nocudalib' to build without linking with libdevice clang-18: error: cannot find CUDA installation; provide its path via '--cuda-path', or pass '-nocudainc' to build without CUDA includes clang-18: error: cannot find libdevice for sm_80; provide path to different CUDA installation via '--cuda-path', or pass '-nocudalib' to build without linking with libdevice clang-18: error: cannot find CUDA installation; provide its path via '--cuda-path', or pass '-nocudainc' to build without CUDA includes clang-18: error: cannot find libdevice for sm_90; provide path to different CUDA installation via '--cuda-path', or pass '-nocudalib' to build without linking with libdevice clang-18: error: cannot find CUDA installation; provide its path via '--cuda-path', or pass '-nocudainc' to build without CUDA includes clang-18: error: cannot find CUDA installation; provide its path via '--cuda-path', or pass '-nocudainc' to build without CUDA includes Target //jaxlib/tools:build_wheel failed to build INFO: Elapsed time: 853.710s, Critical Path: 140.72s INFO: 5387 processes: 2130 internal, 3257 local. FAILED: Build did NOT complete successfully ERROR: Build failed. Not running target Traceback (most recent call last): File "/home/lie/.cache/pikaur/build/python-jaxlib-cuda/src/jax-jax-v0.4.35/build/build.py", line 738, in main() File "/home/lie/.cache/pikaur/build/python-jaxlib-cuda/src/jax-jax-v0.4.35/build/build.py", line 689, in main shell(build_cpu_wheel_command) File "/home/lie/.cache/pikaur/build/python-jaxlib-cuda/src/jax-jax-v0.4.35/build/build.py", line 45, in shell output = subprocess.check_output(cmd) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/subprocess.py", line 466, in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/subprocess.py", line 571, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '['./bazel-6.5.0-linux-x86_64', 'run', '--verbose_failures=true', '//jaxlib/tools:build_wheel', '--', '--output_path=/home/lie/.cache/pikaur/build/python-jaxlib-cuda/src/jax-jax-v0.4.35/dist', '--jaxlib_git_hash=', '--cpu=x86_64', '--skip_gpu_kernels']' returned non-zero exit status 1. ==> ERROR: A failure occurred in build(). Aborting... ```
ybaturina commented 1 week ago

Thank you for the explanation.

There is no need to build with LOCAL_CUDA_PATH, that option was added for NVIDIA team only: they might use unpublished CUDA redistributions.

To enable the full logs, you need to add -s option to the bazel command.

I looked at the Clang command that produces error in this log. Indeed, there is no --cuda-path parameter in the CLang options. cuda-path is set via crosstool/BUILD. Can you check this file on your machine please? /home/lie/.cache/bazel/_bazel_lie/ca5827d19938fa4a99a005b1b7bd341c/external/local_config_cuda/crosstool/BUILD Does it have cuda_path defined?

And one more question: is /usr/sbin/clang-18 a symlink or an absolute path?

actionless commented 1 week ago

i'll have to re-run because i already flushed the build/cache directories

so, before re-running i wonder what's the correct way to bypass cuda_path to the underlying clang if LOCAL_CUDA_PATH is not the thing?

ybaturina commented 1 week ago

LOCAL_CUDA_PATH purpose is different: this environment variable controls if Bazel should download the redistributions from NVIDIA URLs, or Bazel should use local paths as sources of redistributions.

The cuda-path parameter should be added automatically by the toolchain (see here), that is why I'm trying to figure out why it's not happening in your scenario. AFAIK, there is no way to override this behavior.

actionless commented 1 week ago

ok, i restarted afresh, without specifying that env and checked the contents of that file, here it is (the log is the same, as nothing changed in the config from the last time):

$ grep cuda_path ~/.cache/bazel/_bazel_lie/ca5827d19938fa4a99a005b1b7bd341c/external/local_config_cuda/crosstool/BUILD
    cuda_path = "",
ybaturina commented 1 week ago

I've created this PR - https://github.com/openxla/xla/pull/19113

Can you verify if it solves your issue please? You need to clone XLA repository, then checkout the branch test_693735256, and then pass --bazel_options=--override_repository=xla=<XLA repo path> to your python build/build.py command.

actionless commented 1 week ago

thanks, i'll try that later tonight

ybaturina commented 1 week ago

Hi @actionless did my PR help in your case? If yes, I can submit it.

actionless commented 1 week ago

yup, now it's being detected 👍

$ grep cuda_path ~/.cache/bazel/_bazel_lie/ca5827d19938fa4a99a005b1b7bd341c/external/local_config_cuda/crosstool/BUILD
    cuda_path = "external/cuda_nvcc",

and builds further, thanks for your quick fix!

ybaturina commented 6 days ago

https://github.com/openxla/xla/pull/19113 is merged now.