Skip to content

[BUG] Can't compile sycl branch on NixOS, 1st class support to NixOS / nixpkgs please! #19347

Open
@izelnakri

Description

@izelnakri

Describe the bug

Hi there,

First of all thank you for this massive effort on getting SYCL running efficiently on all intel hardware. Despite all the great work and distribution methods so far, you're missing a VERY BIG opportunity of not publishing and maintaining a nixpkgs version of the icx and icpx compilers(I suspect through a potential dpcpp nixpkg).

Since this essential software is not available on nixpkgs / NixOS, I manually installed Intel OneAPI Base Toolkit 2025.02 and after days of hacking, made it work/compile whisper.cpp with SYCL on my NixOS withIntel Ultra 7 258V`:

Nix shell: $ nix develop && cmake -B build -DWHISPER_SDL2=ON -DWHISPER_OPENVINO=1 -DGGML_SYCL=ON -DCMAKE_C_COMPILER=icx -DCMAKE_CXX_COMPILER=icpx works when on this nix shell: https://gist.github.com/izelnakri/903d40bb615179fb62925e27845ec358#file-flake-nix

However the packaging with nix run . and nix build . doesn't work because mkDerivation spawns a sandboxed builder which cant find my manually installed compiler and ENV variables, so nixpkgs for this compiler MUST exist.

I also had a problem compiling this project after a git clone on a NixOS system after I do:

nix develop on this flake.nix:

{
  description = "Development environment for Intel DPC++ Compiler";

  inputs = {
    nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
    flake-utils.url = "github:numtide/flake-utils";
  };

  outputs = { self, nixpkgs, flake-utils }:
    flake-utils.lib.eachDefaultSystem (system:
      let
        pkgs = nixpkgs.legacyPackages.${system};
        buildPackages = with pkgs; [
          cmake
          ninja
          python3
          git
          stdenv.cc
          libcxx.dev
          zlib
          intel-compute-runtime
          # Use the loader package which provides the necessary discovery libraries
          level-zero 
        ];
      in
      {
        devShells.default = pkgs.mkShell {
          name = "intel-dpcpp-shell";
          packages = buildPackages;

          shellHook = ''
            # 🚀 Create precise environment variables for the build script
            export LIBCXX_INCLUDE_DIR="${pkgs.libcxx.dev}/include/c++/v1"
            export LIBCXX_LIBRARY_DIR="${pkgs.libcxx}/lib"

            echo "✅ DPC++ build environment is ready."
            echo ""
            echo "➡️ Use the following command to configure the build:"
            echo 'python3 buildbot/configure.py --use-libcxx --libcxx-include="$LIBCXX_INCLUDE_DIR" --libcxx-library="$LIBCXX_LIBRARY_DIR"'
            echo ""
          '';
        };
      });
}

When I do:
$ nix develop
then $ python3 buildbot/configure.py --use-libcxx --libcxx-include="$LIBCXX_INCLUDE_DIR" --libcxx-library="$LIBCXX_LIBRARY_DIR"
then $ python3 buildbot/compile.py I get these errors:

[izelnakri@omnibook:~/Github/llvm]$ python3 buildbot/compile.py
args:Namespace(build_number=None, branch=None, base_branch=None, pr_number=None, builder_dir=None, src_dir=None, obj_dir=None, build_parallelism=None, verbose=False, build_target='deploy-sycl-toolchain')
[Cmake Command]: cmake --build /home/izelnakri/Github/llvm/build -- deploy-sycl-toolchain -j 8
[0/2] Re-checking globbed directories...
[1/904] Building CXX object unified-runtime/source/adapters/level_zero/CMakeFiles/ur_adapter_level_zero.dir/command_buffer_command.cpp.o
FAILED: unified-runtime/source/adapters/level_zero/CMakeFiles/ur_adapter_level_zero.dir/command_buffer_command.cpp.o
/nix/store/pbqah1qk4b5y14fqinr1h8zvhqy71v81-gcc-wrapper-14.3.0/bin/g++ -DUR_ENABLE_SANITIZER -DUR_ENABLE_TRACING -DUR_STATIC_LEVEL_ZERO -DUR_VALIDATION_LAYER_SUPPORTED_VERSION=\"0\" -DUR_VERSION=\"0\" -D_DEBUG -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Dur_adapter_level_zero_EXPORTS -I/home/izelnakri/Github/llvm/build/unified-runtime/source/adapters/level_zero -I/home/izelnakri/Github/llvm/unified-runtime/source/adapters/level_zero -I/home/izelnakri/Github/llvm/build/include -I/home/izelnakri/Github/llvm/llvm/include -I/home/izelnakri/Github/llvm/unified-runtime/source/adapters/level_zero/../.. -I/home/izelnakri/Github/llvm/unified-runtime/source/adapters/level_zero/LevelZeroLoader-Headers -I/home/izelnakri/Github/llvm/unified-runtime/include -I/home/izelnakri/Github/llvm/unified-runtime/source/common -I/home/izelnakri/Github/llvm/build/_deps/unified-memory-framework-src/include -I/home/izelnakri/Github/llvm/build/_deps/unified-memory-framework-src/src -I/home/izelnakri/Github/llvm/build/_deps/unified-memory-framework-src/src/ravl -I/home/izelnakri/Github/llvm/build/_deps/unified-memory-framework-src/src/critnib -I/home/izelnakri/Github/llvm/build/_deps/unified-memory-framework-src/src/provider -I/home/izelnakri/Github/llvm/build/_deps/unified-memory-framework-src/src/memspaces -I/home/izelnakri/Github/llvm/build/_deps/unified-memory-framework-src/src/memtargets -I/home/izelnakri/Github/llvm/build/_deps/unified-memory-framework-src/src/uthash -I/home/izelnakri/Github/llvm/build/_deps/level-zero-loader-src/include -I/home/izelnakri/Github/llvm/build/_deps/level-zero-loader-src/include/level_zero -I/nix/store/j022kjabgf6j3n79nw8pzgbfbvjp8kgw-intel-compute-runtime-25.22.33944.8/include/level_zero -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-maybe-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wno-error -O3 -DNDEBUG -std=c++17 -fPIC -UNDEBUG -Wall -Wpedantic -Wempty-body -Wformat -Wformat-security -Wunused-parameter -fstack-protector-strong -fvisibility=hidden -fcf-protection=full -fstack-clash-protection -fdiagnostics-color=always -MD -MT unified-runtime/source/adapters/level_zero/CMakeFiles/ur_adapter_level_zero.dir/command_buffer_command.cpp.o -MF unified-runtime/source/adapters/level_zero/CMakeFiles/ur_adapter_level_zero.dir/command_buffer_command.cpp.o.d -o unified-runtime/source/adapters/level_zero/CMakeFiles/ur_adapter_level_zero.dir/command_buffer_command.cpp.o -c /home/izelnakri/Github/llvm/unified-runtime/source/adapters/level_zero/command_buffer_command.cpp
In file included from /home/izelnakri/Github/llvm/unified-runtime/source/adapters/level_zero/command_buffer_command.hpp:11,
                 from /home/izelnakri/Github/llvm/unified-runtime/source/adapters/level_zero/command_buffer_command.cpp:11:
/home/izelnakri/Github/llvm/unified-runtime/source/adapters/level_zero/common.hpp:34:10: fatal error: level_zero/ze_intel_gpu.h: No such file or directory
   34 | #include <level_zero/ze_intel_gpu.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
[2/904] Building CXX object unified-runtime/source/adapters/level_zero/CMakeFiles/ur_adapter_level_zero.dir/device.cpp.o
FAILED: unified-runtime/source/adapters/level_zero/CMakeFiles/ur_adapter_level_zero.dir/device.cpp.o
/nix/store/pbqah1qk4b5y14fqinr1h8zvhqy71v81-gcc-wrapper-14.3.0/bin/g++ -DUR_ENABLE_SANITIZER -DUR_ENABLE_TRACING -DUR_STATIC_LEVEL_ZERO -DUR_VALIDATION_LAYER_SUPPORTED_VERSION=\"0\" -DUR_VERSION=\"0\" -D_DEBUG -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Dur_adapter_level_zero_EXPORTS -I/home/izelnakri/Github/llvm/build/unified-runtime/source/adapters/level_zero -I/home/izelnakri/Github/llvm/unified-runtime/source/adapters/level_zero -I/home/izelnakri/Github/llvm/build/include -I/home/izelnakri/Github/llvm/llvm/include -I/home/izelnakri/Github/llvm/unified-runtime/source/adapters/level_zero/../.. -I/home/izelnakri/Github/llvm/unified-runtime/source/adapters/level_zero/LevelZeroLoader-Headers -I/home/izelnakri/Github/llvm/unified-runtime/include -I/home/izelnakri/Github/llvm/unified-runtime/source/common -I/home/izelnakri/Github/llvm/build/_deps/unified-memory-framework-src/include -I/home/izelnakri/Github/llvm/build/_deps/unified-memory-framework-src/src -I/home/izelnakri/Github/llvm/build/_deps/unified-memory-framework-src/src/ravl -I/home/izelnakri/Github/llvm/build/_deps/unified-memory-framework-src/src/critnib -I/home/izelnakri/Github/llvm/build/_deps/unified-memory-framework-src/src/provider -I/home/izelnakri/Github/llvm/build/_deps/unified-memory-framework-src/src/memspaces -I/home/izelnakri/Github/llvm/build/_deps/unified-memory-framework-src/src/memtargets -I/home/izelnakri/Github/llvm/build/_deps/unified-memory-framework-src/src/uthash -I/home/izelnakri/Github/llvm/build/_deps/level-zero-loader-src/include -I/home/izelnakri/Github/llvm/build/_deps/level-zero-loader-src/include/level_zero -I/nix/store/j022kjabgf6j3n79nw8pzgbfbvjp8kgw-intel-compute-runtime-25.22.33944.8/include/level_zero -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-maybe-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wno-error -O3 -DNDEBUG -std=c++17 -fPIC -UNDEBUG -Wall -Wpedantic -Wempty-body -Wformat -Wformat-security -Wunused-parameter -fstack-protector-strong -fvisibility=hidden -fcf-protection=full -fstack-clash-protection -fdiagnostics-color=always -MD -MT unified-runtime/source/adapters/level_zero/CMakeFiles/ur_adapter_level_zero.dir/device.cpp.o -MF unified-runtime/source/adapters/level_zero/CMakeFiles/ur_adapter_level_zero.dir/device.cpp.o.d -o unified-runtime/source/adapters/level_zero/CMakeFiles/ur_adapter_level_zero.dir/device.cpp.o -c /home/izelnakri/Github/llvm/unified-runtime/source/adapters/level_zero/device.cpp
In file included from /home/izelnakri/Github/llvm/unified-runtime/source/adapters/level_zero/../../adapters/level_zero/platform.hpp:12,
                 from /home/izelnakri/Github/llvm/unified-runtime/source/adapters/level_zero/device.hpp:22,
                 from /home/izelnakri/Github/llvm/unified-runtime/source/adapters/level_zero/device.cpp:10:
/home/izelnakri/Github/llvm/unified-runtime/source/adapters/level_zero/../../adapters/level_zero/common.hpp:34:10: fatal error: level_zero/ze_intel_gpu.h: No such file or directory
   34 | #include <level_zero/ze_intel_gpu.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
[3/904] Building CXX object unified-runtime/source/adapters/level_zero/CMakeFiles/ur_adapter_level_zero.dir/async_alloc.cpp.o
FAILED: unified-runtime/source/adapters/level_zero/CMakeFiles/ur_adapter_level_zero.dir/async_alloc.cpp.o
/nix/store/pbqah1qk4b5y14fqinr1h8zvhqy71v81-gcc-wrapper-14.3.0/bin/g++ -DUR_ENABLE_SANITIZER -DUR_ENABLE_TRACING -DUR_STATIC_LEVEL_ZERO -DUR_VALIDATION_LAYER_SUPPORTED_VERSION=\"0\" -DUR_VERSION=\"0\" -D_DEBUG -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Dur_adapter_level_zero_EXPORTS -I/home/izelnakri/Github/llvm/build/unified-runtime/source/adapters/level_zero -I/home/izelnakri/Github/llvm/unified-runtime/source/adapters/level_zero -I/home/izelnakri/Github/llvm/build/include -I/home/izelnakri/Github/llvm/llvm/include -I/home/izelnakri/Github/llvm/unified-runtime/source/adapters/level_zero/../.. -I/home/izelnakri/Github/llvm/unified-runtime/source/adapters/level_zero/LevelZeroLoader-Headers -I/home/izelnakri/Github/llvm/unified-runtime/include -I/home/izelnakri/Github/llvm/unified-runtime/source/common -I/home/izelnakri/Github/llvm/build/_deps/unified-memory-framework-src/include -I/home/izelnakri/Github/llvm/build/_deps/unified-memory-framework-src/src -I/home/izelnakri/Github/llvm/build/_deps/unified-memory-framework-src/src/ravl -I/home/izelnakri/Github/llvm/build/_deps/unified-memory-framework-src/src/critnib -I/home/izelnakri/Github/llvm/build/_deps/unified-memory-framework-src/src/provider -I/home/izelnakri/Github/llvm/build/_deps/unified-memory-framework-src/src/memspaces -I/home/izelnakri/Github/llvm/build/_deps/unified-memory-framework-src/src/memtargets -I/home/izelnakri/Github/llvm/build/_deps/unified-memory-framework-src/src/uthash -I/home/izelnakri/Github/llvm/build/_deps/level-zero-loader-src/include -I/home/izelnakri/Github/llvm/build/_deps/level-zero-loader-src/include/level_zero -I/nix/store/j022kjabgf6j3n79nw8pzgbfbvjp8kgw-intel-compute-runtime-25.22.33944.8/include/level_zero -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-maybe-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wno-error -O3 -DNDEBUG -std=c++17 -fPIC -UNDEBUG -Wall -Wpedantic -Wempty-body -Wformat -Wformat-security -Wunused-parameter -fstack-protector-strong -fvisibility=hidden -fcf-protection=full -fstack-clash-protection -fdiagnostics-color=always -MD -MT unified-runtime/source/adapters/level_zero/CMakeFiles/ur_adapter_level_zero.dir/async_alloc.cpp.o -MF unified-runtime/source/adapters/level_zero/CMakeFiles/ur_adapter_level_zero.dir/async_alloc.cpp.o.d -o unified-runtime/source/adapters/level_zero/CMakeFiles/ur_adapter_level_zero.dir/async_alloc.cpp.o -c /home/izelnakri/Github/llvm/unified-runtime/source/adapters/level_zero/async_alloc.cpp
In file included from /home/izelnakri/Github/llvm/unified-runtime/source/adapters/level_zero/context.hpp:25,
                 from /home/izelnakri/Github/llvm/unified-runtime/source/adapters/level_zero/async_alloc.cpp:11:
/home/izelnakri/Github/llvm/unified-runtime/source/adapters/level_zero/common.hpp:34:10: fatal error: level_zero/ze_intel_gpu.h: No such file or directory
   34 | #include <level_zero/ze_intel_gpu.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
[4/904] Building CXX object unified-runtime/source/adapters/level_zero/CMakeFiles/ur_adapter_level_zero.dir/adapter.cpp.o
FAILED: unified-runtime/source/adapters/level_zero/CMakeFiles/ur_adapter_level_zero.dir/adapter.cpp.o
/nix/store/pbqah1qk4b5y14fqinr1h8zvhqy71v81-gcc-wrapper-14.3.0/bin/g++ -DUR_ENABLE_SANITIZER -DUR_ENABLE_TRACING -DUR_STATIC_LEVEL_ZERO -DUR_VALIDATION_LAYER_SUPPORTED_VERSION=\"0\" -DUR_VERSION=\"0\" -D_DEBUG -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Dur_adapter_level_zero_EXPORTS -I/home/izelnakri/Github/llvm/build/unified-runtime/source/adapters/level_zero -I/home/izelnakri/Github/llvm/unified-runtime/source/adapters/level_zero -I/home/izelnakri/Github/llvm/build/include -I/home/izelnakri/Github/llvm/llvm/include -I/home/izelnakri/Github/llvm/unified-runtime/source/adapters/level_zero/../.. -I/home/izelnakri/Github/llvm/unified-runtime/source/adapters/level_zero/LevelZeroLoader-Headers -I/home/izelnakri/Github/llvm/unified-runtime/include -I/home/izelnakri/Github/llvm/unified-runtime/source/common -I/home/izelnakri/Github/llvm/build/_deps/unified-memory-framework-src/include -I/home/izelnakri/Github/llvm/build/_deps/unified-memory-framework-src/src -I/home/izelnakri/Github/llvm/build/_deps/unified-memory-framework-src/src/ravl -I/home/izelnakri/Github/llvm/build/_deps/unified-memory-framework-src/src/critnib -I/home/izelnakri/Github/llvm/build/_deps/unified-memory-framework-src/src/provider -I/home/izelnakri/Github/llvm/build/_deps/unified-memory-framework-src/src/memspaces -I/home/izelnakri/Github/llvm/build/_deps/unified-memory-framework-src/src/memtargets -I/home/izelnakri/Github/llvm/build/_deps/unified-memory-framework-src/src/uthash -I/home/izelnakri/Github/llvm/build/_deps/level-zero-loader-src/include -I/home/izelnakri/Github/llvm/build/_deps/level-zero-loader-src/include/level_zero -I/nix/store/j022kjabgf6j3n79nw8pzgbfbvjp8kgw-intel-compute-runtime-25.22.33944.8/include/level_zero -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-maybe-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wno-error -O3 -DNDEBUG -std=c++17 -fPIC -UNDEBUG -Wall -Wpedantic -Wempty-body -Wformat -Wformat-security -Wunused-parameter -fstack-protector-strong -fvisibility=hidden -fcf-protection=full -fstack-clash-protection -fdiagnostics-color=always -MD -MT unified-runtime/source/adapters/level_zero/CMakeFiles/ur_adapter_level_zero.dir/adapter.cpp.o -MF unified-runtime/source/adapters/level_zero/CMakeFiles/ur_adapter_level_zero.dir/adapter.cpp.o.d -o unified-runtime/source/adapters/level_zero/CMakeFiles/ur_adapter_level_zero.dir/adapter.cpp.o -c /home/izelnakri/Github/llvm/unified-runtime/source/adapters/level_zero/adapter.cpp
In file included from /home/izelnakri/Github/llvm/unified-runtime/source/adapters/level_zero/adapter.cpp:12:
/home/izelnakri/Github/llvm/unified-runtime/source/adapters/level_zero/common.hpp:34:10: fatal error: level_zero/ze_intel_gpu.h: No such file or directory
   34 | #include <level_zero/ze_intel_gpu.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
[5/904] Building CXX object unified-runtime/source/adapters/level_zero/CMakeFiles/ur_adapter_level_zero.dir/ur_level_zero.cpp.o
FAILED: unified-runtime/source/adapters/level_zero/CMakeFiles/ur_adapter_level_zero.dir/ur_level_zero.cpp.o
/nix/store/pbqah1qk4b5y14fqinr1h8zvhqy71v81-gcc-wrapper-14.3.0/bin/g++ -DUR_ENABLE_SANITIZER -DUR_ENABLE_TRACING -DUR_STATIC_LEVEL_ZERO -DUR_VALIDATION_LAYER_SUPPORTED_VERSION=\"0\" -DUR_VERSION=\"0\" -D_DEBUG -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Dur_adapter_level_zero_EXPORTS -I/home/izelnakri/Github/llvm/build/unified-runtime/source/adapters/level_zero -I/home/izelnakri/Github/llvm/unified-runtime/source/adapters/level_zero -I/home/izelnakri/Github/llvm/build/include -I/home/izelnakri/Github/llvm/llvm/include -I/home/izelnakri/Github/llvm/unified-runtime/source/adapters/level_zero/../.. -I/home/izelnakri/Github/llvm/unified-runtime/source/adapters/level_zero/LevelZeroLoader-Headers -I/home/izelnakri/Github/llvm/unified-runtime/include -I/home/izelnakri/Github/llvm/unified-runtime/source/common -I/home/izelnakri/Github/llvm/build/_deps/unified-memory-framework-src/include -I/home/izelnakri/Github/llvm/build/_deps/unified-memory-framework-src/src -I/home/izelnakri/Github/llvm/build/_deps/unified-memory-framework-src/src/ravl -I/home/izelnakri/Github/llvm/build/_deps/unified-memory-framework-src/src/critnib -I/home/izelnakri/Github/llvm/build/_deps/unified-memory-framework-src/src/provider -I/home/izelnakri/Github/llvm/build/_deps/unified-memory-framework-src/src/memspaces -I/home/izelnakri/Github/llvm/build/_deps/unified-memory-framework-src/src/memtargets -I/home/izelnakri/Github/llvm/build/_deps/unified-memory-framework-src/src/uthash -I/home/izelnakri/Github/llvm/build/_deps/level-zero-loader-src/include -I/home/izelnakri/Github/llvm/build/_deps/level-zero-loader-src/include/level_zero -I/nix/store/j022kjabgf6j3n79nw8pzgbfbvjp8kgw-intel-compute-runtime-25.22.33944.8/include/level_zero -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-maybe-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wno-error -O3 -DNDEBUG -std=c++17 -fPIC -UNDEBUG -Wall -Wpedantic -Wempty-body -Wformat -Wformat-security -Wunused-parameter -fstack-protector-strong -fvisibility=hidden -fcf-protection=full -fstack-clash-protection -fdiagnostics-color=always -MD -MT unified-runtime/source/adapters/level_zero/CMakeFiles/ur_adapter_level_zero.dir/ur_level_zero.cpp.o -MF unified-runtime/source/adapters/level_zero/CMakeFiles/ur_adapter_level_zero.dir/ur_level_zero.cpp.o.d -o unified-runtime/source/adapters/level_zero/CMakeFiles/ur_adapter_level_zero.dir/ur_level_zero.cpp.o -c /home/izelnakri/Github/llvm/unified-runtime/source/adapters/level_zero/ur_level_zero.cpp
In file included from /home/izelnakri/Github/llvm/unified-runtime/source/adapters/level_zero/ur_level_zero.hpp:27,
                 from /home/izelnakri/Github/llvm/unified-runtime/source/adapters/level_zero/ur_level_zero.cpp:15:
/home/izelnakri/Github/llvm/unified-runtime/source/adapters/level_zero/common.hpp:34:10: fatal error: level_zero/ze_intel_gpu.h: No such file or directory
   34 | #include <level_zero/ze_intel_gpu.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
[6/904] Building CXX object unified-runtime/source/adapters/level_zero/CMakeFiles/ur_adapter_level_zero.dir/common.cpp.o
FAILED: unified-runtime/source/adapters/level_zero/CMakeFiles/ur_adapter_level_zero.dir/common.cpp.o
/nix/store/pbqah1qk4b5y14fqinr1h8zvhqy71v81-gcc-wrapper-14.3.0/bin/g++ -DUR_ENABLE_SANITIZER -DUR_ENABLE_TRACING -DUR_STATIC_LEVEL_ZERO -DUR_VALIDATION_LAYER_SUPPORTED_VERSION=\"0\" -DUR_VERSION=\"0\" -D_DEBUG -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Dur_adapter_level_zero_EXPORTS -I/home/izelnakri/Github/llvm/build/unified-runtime/source/adapters/level_zero -I/home/izelnakri/Github/llvm/unified-runtime/source/adapters/level_zero -I/home/izelnakri/Github/llvm/build/include -I/home/izelnakri/Github/llvm/llvm/include -I/home/izelnakri/Github/llvm/unified-runtime/source/adapters/level_zero/../.. -I/home/izelnakri/Github/llvm/unified-runtime/source/adapters/level_zero/LevelZeroLoader-Headers -I/home/izelnakri/Github/llvm/unified-runtime/include -I/home/izelnakri/Github/llvm/unified-runtime/source/common -I/home/izelnakri/Github/llvm/build/_deps/unified-memory-framework-src/include -I/home/izelnakri/Github/llvm/build/_deps/unified-memory-framework-src/src -I/home/izelnakri/Github/llvm/build/_deps/unified-memory-framework-src/src/ravl -I/home/izelnakri/Github/llvm/build/_deps/unified-memory-framework-src/src/critnib -I/home/izelnakri/Github/llvm/build/_deps/unified-memory-framework-src/src/provider -I/home/izelnakri/Github/llvm/build/_deps/unified-memory-framework-src/src/memspaces -I/home/izelnakri/Github/llvm/build/_deps/unified-memory-framework-src/src/memtargets -I/home/izelnakri/Github/llvm/build/_deps/unified-memory-framework-src/src/uthash -I/home/izelnakri/Github/llvm/build/_deps/level-zero-loader-src/include -I/home/izelnakri/Github/llvm/build/_deps/level-zero-loader-src/include/level_zero -I/nix/store/j022kjabgf6j3n79nw8pzgbfbvjp8kgw-intel-compute-runtime-25.22.33944.8/include/level_zero -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-maybe-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wno-error -O3 -DNDEBUG -std=c++17 -fPIC -UNDEBUG -Wall -Wpedantic -Wempty-body -Wformat -Wformat-security -Wunused-parameter -fstack-protector-strong -fvisibility=hidden -fcf-protection=full -fstack-clash-protection -fdiagnostics-color=always -MD -MT unified-runtime/source/adapters/level_zero/CMakeFiles/ur_adapter_level_zero.dir/common.cpp.o -MF unified-runtime/source/adapters/level_zero/CMakeFiles/ur_adapter_level_zero.dir/common.cpp.o.d -o unified-runtime/source/adapters/level_zero/CMakeFiles/ur_adapter_level_zero.dir/common.cpp.o -c /home/izelnakri/Github/llvm/unified-runtime/source/adapters/level_zero/common.cpp
In file included from /home/izelnakri/Github/llvm/unified-runtime/source/adapters/level_zero/common.cpp:11:
/home/izelnakri/Github/llvm/unified-runtime/source/adapters/level_zero/common.hpp:34:10: fatal error: level_zero/ze_intel_gpu.h: No such file or directory
   34 | #include <level_zero/ze_intel_gpu.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
[7/904] Building CXX object unified-runtime/source/adapters/level_zero/CMakeFiles/ur_adapter_level_zero.dir/command_buffer.cpp.o
FAILED: unified-runtime/source/adapters/level_zero/CMakeFiles/ur_adapter_level_zero.dir/command_buffer.cpp.o
/nix/store/pbqah1qk4b5y14fqinr1h8zvhqy71v81-gcc-wrapper-14.3.0/bin/g++ -DUR_ENABLE_SANITIZER -DUR_ENABLE_TRACING -DUR_STATIC_LEVEL_ZERO -DUR_VALIDATION_LAYER_SUPPORTED_VERSION=\"0\" -DUR_VERSION=\"0\" -D_DEBUG -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Dur_adapter_level_zero_EXPORTS -I/home/izelnakri/Github/llvm/build/unified-runtime/source/adapters/level_zero -I/home/izelnakri/Github/llvm/unified-runtime/source/adapters/level_zero -I/home/izelnakri/Github/llvm/build/include -I/home/izelnakri/Github/llvm/llvm/include -I/home/izelnakri/Github/llvm/unified-runtime/source/adapters/level_zero/../.. -I/home/izelnakri/Github/llvm/unified-runtime/source/adapters/level_zero/LevelZeroLoader-Headers -I/home/izelnakri/Github/llvm/unified-runtime/include -I/home/izelnakri/Github/llvm/unified-runtime/source/common -I/home/izelnakri/Github/llvm/build/_deps/unified-memory-framework-src/include -I/home/izelnakri/Github/llvm/build/_deps/unified-memory-framework-src/src -I/home/izelnakri/Github/llvm/build/_deps/unified-memory-framework-src/src/ravl -I/home/izelnakri/Github/llvm/build/_deps/unified-memory-framework-src/src/critnib -I/home/izelnakri/Github/llvm/build/_deps/unified-memory-framework-src/src/provider -I/home/izelnakri/Github/llvm/build/_deps/unified-memory-framework-src/src/memspaces -I/home/izelnakri/Github/llvm/build/_deps/unified-memory-framework-src/src/memtargets -I/home/izelnakri/Github/llvm/build/_deps/unified-memory-framework-src/src/uthash -I/home/izelnakri/Github/llvm/build/_deps/level-zero-loader-src/include -I/home/izelnakri/Github/llvm/build/_deps/level-zero-loader-src/include/level_zero -I/nix/store/j022kjabgf6j3n79nw8pzgbfbvjp8kgw-intel-compute-runtime-25.22.33944.8/include/level_zero -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-maybe-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wno-error -O3 -DNDEBUG -std=c++17 -fPIC -UNDEBUG -Wall -Wpedantic -Wempty-body -Wformat -Wformat-security -Wunused-parameter -fstack-protector-strong -fvisibility=hidden -fcf-protection=full -fstack-clash-protection -fdiagnostics-color=always -MD -MT unified-runtime/source/adapters/level_zero/CMakeFiles/ur_adapter_level_zero.dir/command_buffer.cpp.o -MF unified-runtime/source/adapters/level_zero/CMakeFiles/ur_adapter_level_zero.dir/command_buffer.cpp.o.d -o unified-runtime/source/adapters/level_zero/CMakeFiles/ur_adapter_level_zero.dir/command_buffer.cpp.o -c /home/izelnakri/Github/llvm/unified-runtime/source/adapters/level_zero/command_buffer.cpp
In file included from /home/izelnakri/Github/llvm/unified-runtime/source/adapters/level_zero/command_buffer.hpp:18,
                 from /home/izelnakri/Github/llvm/unified-runtime/source/adapters/level_zero/command_buffer.cpp:10:
/home/izelnakri/Github/llvm/unified-runtime/source/adapters/level_zero/common.hpp:34:10: fatal error: level_zero/ze_intel_gpu.h: No such file or directory
   34 | #include <level_zero/ze_intel_gpu.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
[8/904] Building CXX object unified-runtime/source/adapters/level_zero/CMakeFiles/ur_adapter_level_zero.dir/context.cpp.o
FAILED: unified-runtime/source/adapters/level_zero/CMakeFiles/ur_adapter_level_zero.dir/context.cpp.o
/nix/store/pbqah1qk4b5y14fqinr1h8zvhqy71v81-gcc-wrapper-14.3.0/bin/g++ -DUR_ENABLE_SANITIZER -DUR_ENABLE_TRACING -DUR_STATIC_LEVEL_ZERO -DUR_VALIDATION_LAYER_SUPPORTED_VERSION=\"0\" -DUR_VERSION=\"0\" -D_DEBUG -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Dur_adapter_level_zero_EXPORTS -I/home/izelnakri/Github/llvm/build/unified-runtime/source/adapters/level_zero -I/home/izelnakri/Github/llvm/unified-runtime/source/adapters/level_zero -I/home/izelnakri/Github/llvm/build/include -I/home/izelnakri/Github/llvm/llvm/include -I/home/izelnakri/Github/llvm/unified-runtime/source/adapters/level_zero/../.. -I/home/izelnakri/Github/llvm/unified-runtime/source/adapters/level_zero/LevelZeroLoader-Headers -I/home/izelnakri/Github/llvm/unified-runtime/include -I/home/izelnakri/Github/llvm/unified-runtime/source/common -I/home/izelnakri/Github/llvm/build/_deps/unified-memory-framework-src/include -I/home/izelnakri/Github/llvm/build/_deps/unified-memory-framework-src/src -I/home/izelnakri/Github/llvm/build/_deps/unified-memory-framework-src/src/ravl -I/home/izelnakri/Github/llvm/build/_deps/unified-memory-framework-src/src/critnib -I/home/izelnakri/Github/llvm/build/_deps/unified-memory-framework-src/src/provider -I/home/izelnakri/Github/llvm/build/_deps/unified-memory-framework-src/src/memspaces -I/home/izelnakri/Github/llvm/build/_deps/unified-memory-framework-src/src/memtargets -I/home/izelnakri/Github/llvm/build/_deps/unified-memory-framework-src/src/uthash -I/home/izelnakri/Github/llvm/build/_deps/level-zero-loader-src/include -I/home/izelnakri/Github/llvm/build/_deps/level-zero-loader-src/include/level_zero -I/nix/store/j022kjabgf6j3n79nw8pzgbfbvjp8kgw-intel-compute-runtime-25.22.33944.8/include/level_zero -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-maybe-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wno-error -O3 -DNDEBUG -std=c++17 -fPIC -UNDEBUG -Wall -Wpedantic -Wempty-body -Wformat -Wformat-security -Wunused-parameter -fstack-protector-strong -fvisibility=hidden -fcf-protection=full -fstack-clash-protection -fdiagnostics-color=always -MD -MT unified-runtime/source/adapters/level_zero/CMakeFiles/ur_adapter_level_zero.dir/context.cpp.o -MF unified-runtime/source/adapters/level_zero/CMakeFiles/ur_adapter_level_zero.dir/context.cpp.o.d -o unified-runtime/source/adapters/level_zero/CMakeFiles/ur_adapter_level_zero.dir/context.cpp.o -c /home/izelnakri/Github/llvm/unified-runtime/source/adapters/level_zero/context.cpp
In file included from /home/izelnakri/Github/llvm/unified-runtime/source/adapters/level_zero/../../adapters/level_zero/usm.hpp:14,
                 from /home/izelnakri/Github/llvm/unified-runtime/source/adapters/level_zero/context.cpp:16:
/home/izelnakri/Github/llvm/unified-runtime/source/adapters/level_zero/../../adapters/level_zero/common.hpp:34:10: fatal error: level_zero/ze_intel_gpu.h: No such file or directory
   34 | #include <level_zero/ze_intel_gpu.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
  File "/home/izelnakri/Github/llvm/buildbot/compile.py", line 99, in <module>
    ret = main()
  File "/home/izelnakri/Github/llvm/buildbot/compile.py", line 95, in main
    return do_compile(args)
  File "/home/izelnakri/Github/llvm/buildbot/compile.py", line 45, in do_compile
    subprocess.check_call(cmake_cmd, cwd=abs_obj_dir)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/nix/store/sd81bvmch7njdpwx3lkjslixcbj5mivz-python3-3.13.4/lib/python3.13/subprocess.py", line 419, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '--build', '/home/izelnakri/Github/llvm/build', '--', 'deploy-sycl-toolchain', '-j', '8']' returned non-zero exit status 1.

This is my python3 buildbot/configure.py --use-libcxx --libcxx-include="$LIBCXX_INCLUDE_DIR" --libcxx-library="$LIBCXX_LIBRARY_DIR" output:

[izelnakri@omnibook:~/Github/llvm]$ python3 buildbot/configure.py --use-libcxx --libcxx-include="$LIBCXX_INCLUDE_DIR" --libcxx-library="$LIBCXX_LIBRARY_DIR"
'args:Namespace(build_number=None, branch=None, base_branch=None, pr_number=None, builder_dir=None, src_dir=None, obj_dir=None, l0_headers=None, l0_loader=None, build_type='Release', cuda=False, native_cpu=False, hip=False, hip_platform='AMD', level_zero_adapter_version='ALL', host_target='host', enable_all_llvm_targets=False, no_assertions=False, docs=False, werror=False, shared_libs=False, cmake_opt=None, cmake_gen='Ninja', use_libcxx=True, libcxx_include='/nix/store/7kn7ywqsbgyldvbjwd06ks0dc999dmpf-libcxx-19.1.7-dev/include/c++/v1', libcxx_library='/nix/store/hdbqfk1clls8zp35yg0skfjwj54w6fhm-libcxx-19.1.7/lib', use_lld=False, llvm_external_projects=None, ci_defaults=False, enable_backends=None, disable_preview_lib=False, disable_jit=False, add_security_flags=None, native_cpu_libclc_targets=None, use_zstd=False)
[Cmake Command]: cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_ASSERTIONS=ON -DLLVM_TARGETS_TO_BUILD=host '-DLLVM_EXTERNAL_PROJECTS=sycl;llvm-spirv;opencl;xpti;xptifw;libdevice;sycl-jit' -DLLVM_EXTERNAL_SYCL_SOURCE_DIR=/home/izelnakri/Github/llvm/sycl -DLLVM_EXTERNAL_LLVM_SPIRV_SOURCE_DIR=/home/izelnakri/Github/llvm/llvm-spirv -DLLVM_EXTERNAL_XPTI_SOURCE_DIR=/home/izelnakri/Github/llvm/xpti -DXPTI_SOURCE_DIR=/home/izelnakri/Github/llvm/xpti -DLLVM_EXTERNAL_XPTIFW_SOURCE_DIR=/home/izelnakri/Github/llvm/xptifw -DLLVM_EXTERNAL_LIBDEVICE_SOURCE_DIR=/home/izelnakri/Github/llvm/libdevice -DLLVM_EXTERNAL_SYCL_JIT_SOURCE_DIR=/home/izelnakri/Github/llvm/sycl-jit '-DLLVM_ENABLE_PROJECTS=clang;sycl;llvm-spirv;opencl;xpti;xptifw;libdevice;sycl-jit' -DSYCL_BUILD_PI_HIP_PLATFORM=AMD -DLLVM_BUILD_TOOLS=ON -DLLVM_ENABLE_ZSTD=ON -DLLVM_USE_STATIC_ZSTD=ON -DSYCL_ENABLE_WERROR=OFF -DCMAKE_INSTALL_PREFIX=/home/izelnakri/Github/llvm/build/install -DSYCL_INCLUDE_TESTS=ON -DLLVM_ENABLE_DOXYGEN=OFF -DLLVM_ENABLE_SPHINX=OFF -DBUILD_SHARED_LIBS=OFF -DSYCL_ENABLE_XPTI_TRACING=ON -DLLVM_ENABLE_LLD=OFF -DLLVM_SPIRV_ENABLE_LIBSPIRV_DIS=OFF -DXPTI_ENABLE_WERROR=OFF -DSYCL_CLANG_EXTRA_FLAGS= '-DSYCL_ENABLE_BACKENDS=opencl;level_zero_v2;level_zero' -DSYCL_ENABLE_EXTENSION_JIT=ON -DSYCL_ENABLE_MAJOR_RELEASE_PREVIEW_LIB=ON -DBUG_REPORT_URL=https://github.com/intel/llvm/issues -DSYCL_INSTALL_DEVICE_CONFIG_FILE=OFF /home/izelnakri/Github/llvm/llvm -DSYCL_USE_LIBCXX=ON -DSYCL_LIBCXX_INCLUDE_PATH=/nix/store/7kn7ywqsbgyldvbjwd06ks0dc999dmpf-libcxx-19.1.7-dev/include/c++/v1 -DSYCL_LIBCXX_LIBRARY_PATH=/nix/store/hdbqfk1clls8zp35yg0skfjwj54w6fhm-libcxx-19.1.7/lib
-- The C compiler identification is GNU 14.3.0
-- The CXX compiler identification is GNU 14.3.0
-- The ASM compiler identification is GNU
-- Found assembler: /nix/store/pbqah1qk4b5y14fqinr1h8zvhqy71v81-gcc-wrapper-14.3.0/bin/gcc
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /nix/store/pbqah1qk4b5y14fqinr1h8zvhqy71v81-gcc-wrapper-14.3.0/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /nix/store/pbqah1qk4b5y14fqinr1h8zvhqy71v81-gcc-wrapper-14.3.0/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- bolt project is disabled
-- clang project is enabled
-- clang-tools-extra project is disabled
-- compiler-rt project is disabled
-- cross-project-tests project is disabled
-- libc project is disabled
-- libclc project is disabled
-- lld project is disabled
-- lldb project is disabled
-- mlir project is disabled
-- openmp project is disabled
-- polly project is disabled
-- pstl project is disabled
-- sycl project is enabled
-- llvm-spirv project is enabled
-- opencl project is enabled
-- xpti project is enabled
-- xptifw project is enabled
-- libdevice project is enabled
-- sycl-jit project is enabled
-- flang project is disabled
-- sycl project is enabled
-- llvm-spirv project is enabled
-- opencl project is enabled
-- xpti project is enabled
-- xptifw project is enabled
-- libdevice project is enabled
-- sycl-jit project is enabled
-- Found Python3: /nix/store/sd81bvmch7njdpwx3lkjslixcbj5mivz-python3-3.13.4/bin/python3.13 (found suitable version "3.13.4", minimum required is "3.8") found components: Interpreter
-- Looking for __GLIBC__
-- Looking for __GLIBC__ - found
-- Looking for valgrind/valgrind.h
-- Looking for valgrind/valgrind.h - not found
-- Looking for FE_ALL_EXCEPT
-- Looking for FE_ALL_EXCEPT - found
-- Looking for FE_INEXACT
-- Looking for FE_INEXACT - found
-- Performing Test HAVE_BUILTIN_THREAD_POINTER
-- Performing Test HAVE_BUILTIN_THREAD_POINTER - Success
-- Looking for CrashReporterClient.h
-- Looking for CrashReporterClient.h - not found
-- Looking for linux/magic.h
-- Looking for linux/magic.h - found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Looking for pthread_rwlock_init in pthread
-- Looking for pthread_rwlock_init in pthread - found
-- Looking for pthread_mutex_lock in pthread
-- Looking for pthread_mutex_lock in pthread - found
-- Looking for dlopen in dl
-- Looking for dlopen in dl - found
-- Looking for shm_open in rt
-- Looking for shm_open in rt - found
-- Looking for pfm_initialize in pfm
-- Looking for pfm_initialize in pfm - not found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found ZLIB: /nix/store/vx438ll7xvv9q5ns8mqpphsg2dxg9yi9-zlib-1.3.1/lib/libz.so (found version "1.3.1")
-- Looking for compress2
-- Looking for compress2 - found
-- Could NOT find LibXml2 (missing: LIBXML2_LIBRARY LIBXML2_INCLUDE_DIR)
-- Could NOT find LibEdit (missing: LibEdit_INCLUDE_DIRS LibEdit_LIBRARIES)
-- Looking for arc4random
-- Looking for arc4random - found
-- Looking for backtrace
-- Looking for backtrace - found
-- backtrace facility detected in default set of libraries
-- Found Backtrace: /nix/store/x4cz3spvw0bwwz5sjsdn2qm4f89rcryn-glibc-2.40-66-dev/include
-- Performing Test C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW
-- Performing Test C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW - Failed
-- Looking for __register_frame
-- Looking for __register_frame - found
-- Looking for __deregister_frame
-- Looking for __deregister_frame - found
-- Looking for __unw_add_dynamic_fde
-- Looking for __unw_add_dynamic_fde - not found
-- Looking for _Unwind_Backtrace
-- Looking for _Unwind_Backtrace - found
-- Looking for getpagesize
-- Looking for getpagesize - found
-- Looking for sysconf
-- Looking for sysconf - found
-- Looking for getrusage
-- Looking for getrusage - found
-- Looking for isatty
-- Looking for isatty - found
-- Looking for futimens
-- Looking for futimens - found
-- Looking for futimes
-- Looking for futimes - found
-- Looking for getauxval
-- Looking for getauxval - found
-- Looking for sigaltstack
-- Looking for sigaltstack - found
-- Looking for mallctl
-- Looking for mallctl - not found
-- Looking for mallinfo
-- Looking for mallinfo - found
-- Looking for mallinfo2
-- Looking for mallinfo2 - found
-- Looking for malloc_zone_statistics
-- Looking for malloc_zone_statistics - not found
-- Looking for posix_spawn
-- Looking for posix_spawn - found
-- Looking for pread
-- Looking for pread - found
-- Looking for sbrk
-- Looking for sbrk - found
-- Looking for strerror_r
-- Looking for strerror_r - found
-- Looking for strerror_s
-- Looking for strerror_s - not found
-- Looking for setenv
-- Looking for setenv - found
-- Performing Test HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC
-- Performing Test HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC - Failed
-- Performing Test HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC
-- Performing Test HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC - Success
-- Looking for pthread_getname_np
-- Looking for pthread_getname_np - found
-- Looking for pthread_setname_np
-- Looking for pthread_setname_np - found
-- Looking for pthread_get_name_np
-- Looking for pthread_get_name_np - not found
-- Looking for pthread_set_name_np
-- Looking for pthread_set_name_np - not found
-- Looking for dlopen
-- Looking for dlopen - found
-- Looking for proc_pid_rusage
-- Looking for proc_pid_rusage - not found
-- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB
-- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB - Success
-- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB
-- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB - Success
-- Performing Test LLVM_HAS_ATOMICS
-- Performing Test LLVM_HAS_ATOMICS - Success
-- LLVM host triple: x86_64-unknown-linux-gnu
-- Native target architecture is X86
-- Threads enabled.
-- Doxygen disabled.
-- Ninja version: 1.12.1
-- Could NOT find OCaml (missing: OCAMLFIND OCAML_VERSION OCAML_STDLIB_PATH)
-- Could NOT find OCaml (missing: OCAMLFIND OCAML_VERSION OCAML_STDLIB_PATH)
-- OCaml bindings disabled.
-- Could NOT find Python module pygments
-- Could NOT find Python module pygments.lexers.c_cpp
-- Could NOT find Python module yaml
-- LLVM default target triple: x86_64-unknown-linux-gnu
-- Performing Test C_SUPPORTS_FPIC
-- Performing Test C_SUPPORTS_FPIC - Success
-- Performing Test CXX_SUPPORTS_FPIC
-- Performing Test CXX_SUPPORTS_FPIC - Success
-- Building with -fPIC
-- Performing Test C_SUPPORTS_FNO_SEMANTIC_INTERPOSITION
-- Performing Test C_SUPPORTS_FNO_SEMANTIC_INTERPOSITION - Success
-- Performing Test CXX_SUPPORTS_FNO_SEMANTIC_INTERPOSITION
-- Performing Test CXX_SUPPORTS_FNO_SEMANTIC_INTERPOSITION - Success
-- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG
-- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG - Success
-- Performing Test C_SUPPORTS_CXX98_COMPAT_EXTRA_SEMI_FLAG
-- Performing Test C_SUPPORTS_CXX98_COMPAT_EXTRA_SEMI_FLAG - Failed
-- Performing Test CXX_SUPPORTS_CXX98_COMPAT_EXTRA_SEMI_FLAG
-- Performing Test CXX_SUPPORTS_CXX98_COMPAT_EXTRA_SEMI_FLAG - Failed
-- Performing Test CXX_SUPPORTS_SUGGEST_OVERRIDE_FLAG
-- Performing Test CXX_SUPPORTS_SUGGEST_OVERRIDE_FLAG - Success
-- Performing Test CXX_WSUGGEST_OVERRIDE_ALLOWS_ONLY_FINAL
-- Performing Test CXX_WSUGGEST_OVERRIDE_ALLOWS_ONLY_FINAL - Success
-- Performing Test C_WCOMMENT_ALLOWS_LINE_WRAP
-- Performing Test C_WCOMMENT_ALLOWS_LINE_WRAP - Failed
-- Performing Test C_SUPPORTS_CTAD_MAYBE_UNSPPORTED_FLAG
-- Performing Test C_SUPPORTS_CTAD_MAYBE_UNSPPORTED_FLAG - Failed
-- Performing Test CXX_SUPPORTS_CTAD_MAYBE_UNSPPORTED_FLAG
-- Performing Test CXX_SUPPORTS_CTAD_MAYBE_UNSPPORTED_FLAG - Success
-- Performing Test LINKER_SUPPORTS_COLOR_DIAGNOSTICS
-- Performing Test LINKER_SUPPORTS_COLOR_DIAGNOSTICS - Failed
-- Looking for os_signpost_interval_begin
-- Looking for os_signpost_interval_begin - not found
-- Linker detection: GNU ld
-- Performing Test LLVM_LINKER_SUPPORTS_B_SYMBOLIC_FUNCTIONS
-- Performing Test LLVM_LINKER_SUPPORTS_B_SYMBOLIC_FUNCTIONS - Success
-- Performing Test HAS_WERROR_GLOBAL_CTORS
-- Performing Test HAS_WERROR_GLOBAL_CTORS - Failed
-- Looking for __x86_64__
-- Looking for __x86_64__ - found
-- Found Git: /nix/store/rzqvhv48m3nh8g3j4k6jmz6yqy8apr95-git-2.49.0/bin/git (found version "2.49.0")
-- Looking for logf128
-- Looking for logf128 - found
-- Targeting X86
-- vc-intrinsics repo is missing. Will try to download it from https://github.com/intel/vc-intrinsics.git
-- Found Python: /nix/store/sd81bvmch7njdpwx3lkjslixcbj5mivz-python3-3.13.4/bin/python3.13 (found version "3.13.4") found components: Interpreter
-- Looking for sys/resource.h
-- Looking for sys/resource.h - found
-- Looking for dlfcn.h
-- Looking for dlfcn.h - found
-- Looking for dladdr
-- Looking for dladdr - found
-- Clang version: 21.0.0git
-- Looking for include file sys/inotify.h
-- Looking for include file sys/inotify.h - found
-- Performing Test HAVE_LINKER_FLAG_LONG_PLT
-- Performing Test HAVE_LINKER_FLAG_LONG_PLT - Failed
-- Found Perl: /run/current-system/sw/bin/perl (found version "5.40.0")
-- Not building llvm-mt because libxml2 is not available
-- Will fetch emhash from https://github.com/ktprime/emhash
-- Performing Test CXX_HAS_FCF_PROTECTION_FULL
-- Performing Test CXX_HAS_FCF_PROTECTION_FULL - Success
-- Performing Test CXX_HAS_FSTACK_CLASH_PROTECTION
-- Performing Test CXX_HAS_FSTACK_CLASH_PROTECTION - Success
-- Found Python3: /nix/store/sd81bvmch7njdpwx3lkjslixcbj5mivz-python3-3.13.4/bin/python3.13 (found version "3.13.4") found components: Interpreter
-- Performing Test USING_LIBSTDCXX
-- Performing Test USING_LIBSTDCXX - Success
-- Level Zero Adapter: Download Level Zero loader and headers from github.com
-- Level Zero Adapter: Will fetch Level Zero Loader from https://github.com/oneapi-src/level-zero.git
-- Performing Test COMPILER_SUPPORTS_CXX14
-- Performing Test COMPILER_SUPPORTS_CXX14 - Success
-- Building loader as static library
CMake Deprecation Warning at /home/izelnakri/Github/llvm/build/_deps/level-zero-loader-src/os_release_info.cmake:15 (cmake_minimum_required):
  Compatibility with CMake < 3.10 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.
Call Stack (most recent call first):
  /home/izelnakri/Github/llvm/build/_deps/level-zero-loader-src/CMakeLists.txt:221 (include)


CMake Warning (dev) at /home/izelnakri/Github/llvm/build/_deps/level-zero-loader-src/CMakeLists.txt:236 (install):
  Policy CMP0177 is not set: install() DESTINATION paths are normalized.  Run
  "cmake --help-policy CMP0177" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /home/izelnakri/Github/llvm/build/_deps/level-zero-loader-src/CMakeLists.txt:243 (install):
  Policy CMP0177 is not set: install() DESTINATION paths are normalized.  Run
  "cmake --help-policy CMP0177" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /home/izelnakri/Github/llvm/build/_deps/level-zero-loader-src/CMakeLists.txt:250 (install):
  Policy CMP0177 is not set: install() DESTINATION paths are normalized.  Run
  "cmake --help-policy CMP0177" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Saved Product GUID: 1.22.2
-- project version: 1.22.2
-- Using Product GUID: 3c13e883-2082-4dcb-811f-81b387aef3ac for version 1.22.2
CMake Warning at /nix/store/dx4bdrs7mq3jfviqhszrc7l35ps9kg64-cmake-3.31.7/share/cmake-3.31/Modules/CPack.cmake:510 (message):
  CPack.cmake has already been included!!
Call Stack (most recent call first):
  /home/izelnakri/Github/llvm/build/_deps/level-zero-loader-src/CMakeLists.txt:388 (INCLUDE)


-- Fetching sparse source level_zero/include from https://github.com/intel/compute-runtime.git 25.05.32567.17
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint:   git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint:   git branch -m <name>
Initialized empty Git repository in /home/izelnakri/Github/llvm/build/content-exp-headers/.git/
Switched to a new branch 'main'
From https://github.com/intel/compute-runtime
 * [new tag]         25.05.32567.17 -> 25.05.32567.17
CMake Warning (dev) at /nix/store/dx4bdrs7mq3jfviqhszrc7l35ps9kg64-cmake-3.31.7/share/cmake-3.31/Modules/FetchContent.cmake:1953 (message):
  Calling FetchContent_Populate(exp-headers) is deprecated, call
  FetchContent_MakeAvailable(exp-headers) instead.  Policy CMP0169 can be set
  to OLD to allow FetchContent_Populate(exp-headers) to be called directly
  for now, but the ability to call it with declared details will be removed
  completely in a future version.
Call Stack (most recent call first):
  /home/izelnakri/Github/llvm/unified-runtime/cmake/FetchLevelZero.cmake:130 (FetchContent_Populate)
  /home/izelnakri/Github/llvm/unified-runtime/source/common/CMakeLists.txt:7 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Using Level Zero include headers from /home/izelnakri/Github/llvm/build/content-exp-headers/level_zero/include
-- Level Zero Adapter: Using Level Zero headers from /home/izelnakri/Github/llvm/build/content-exp-headers/level_zero/include
-- Download Unified Memory Framework from github.com
-- Will fetch Unified Memory Framework from https://github.com/oneapi-src/unified-memory-framework.git
-- CMake version: 3.31.7
-- UMF version: 0.12.0-dev2.git6.g0a63bbd
-- Found PkgConfig: /home/izelnakri/.nix-profile/bin/pkg-config (found version "0.29.2")
-- CMAKE_GENERATOR: Ninja
-- CMAKE_PREFIX_PATH=
-- Disabling the Jemalloc Pool and tests and benchmarks that use it because jemalloc was not built/found.
-- Checking for module 'hwloc>=2.3.0'
--   No package 'hwloc' found
-- Checking for module 'libhwloc' using find_library()
CMake Warning at /home/izelnakri/Github/llvm/build/_deps/unified-memory-framework-src/cmake/FindLIBHWLOC.cmake:79 (message):
  libhwloc NOT found in the system (will fetch it from GitHub)
Call Stack (most recent call first):
  /home/izelnakri/Github/llvm/build/_deps/unified-memory-framework-src/CMakeLists.txt:265 (find_package)


CMake Warning at /home/izelnakri/Github/llvm/build/_deps/unified-memory-framework-src/CMakeLists.txt:283 (message):
  autoreconf is not installed.  Disabling hwloc.


-- hwloc is disabled, hence OS provider, memtargets, topology discovery, examples won't be available!
-- Checking for module 'ze_loader' using find_library()
--   Found ZE_LOADER using find_library()
--     ZE_LOADER_LIBRARIES = /nix/store/g4h8yviv4r2rfnwzlmc746s5ls22zvgd-level-zero-1.22.4/lib/libze_loader.so
--     ZE_LOADER_INCLUDE_DIRS = /nix/store/g4h8yviv4r2rfnwzlmc746s5ls22zvgd-level-zero-1.22.4/include/level_zero
--     ZE_LOADER_LIBRARY_DIRS = /nix/store/g4h8yviv4r2rfnwzlmc746s5ls22zvgd-level-zero-1.22.4/lib
-- LEVEL_ZERO_INCLUDE_DIRS = /home/izelnakri/Github/llvm/build/_deps/level-zero-loader-src/include
-- CMAKE_BUILD_TYPE: Release
-- Checking for module 'tbb'
--   No package 'tbb' found
-- Checking for module 'tbb' using find_library()
CMake Warning at /home/izelnakri/Github/llvm/build/_deps/unified-memory-framework-src/cmake/FindTBB.cmake:24 (message):
  <tbb/scalable_allocator.h> header NOT found (set CMAKE_PREFIX_PATH to point
  the location)
Call Stack (most recent call first):
  /home/izelnakri/Github/llvm/build/_deps/unified-memory-framework-src/CMakeLists.txt:706 (find_package)


CMake Warning at /home/izelnakri/Github/llvm/build/_deps/unified-memory-framework-src/cmake/FindTBB.cmake:48 (message):
  tbb NOT found (set CMAKE_PREFIX_PATH to point the location)
Call Stack (most recent call first):
  /home/izelnakri/Github/llvm/build/_deps/unified-memory-framework-src/CMakeLists.txt:706 (find_package)


-- Disabling tests and benchmarks that use the Scalable Pool because the TBB they require was not found.
-- Disabling the proxy library, because HWLOC is disabled
-- Performing Test C_HAS_-Wno-covered-switch-default
-- Performing Test C_HAS_-Wno-covered-switch-default - Failed
-- Performing Test CXX_HAS_-Wno-covered-switch-default
-- Performing Test CXX_HAS_-Wno-covered-switch-default - Failed
-- Found Python3: /nix/store/sd81bvmch7njdpwx3lkjslixcbj5mivz-python3-3.13.4/bin/python3.13 (found suitable version "3.13.4", minimum required is "3.8") found components: Interpreter
-- Adding 'docs' target for creating a documentation.
-- Could NOT find Libbacktrace (missing: LIBBACKTRACE_LIBRARIES LIBBACKTRACE_INCLUDE_DIR)
-- Using default backtrace for validation
CMake Warning at /nix/store/dx4bdrs7mq3jfviqhszrc7l35ps9kg64-cmake-3.31.7/share/cmake-3.31/Modules/CPack.cmake:510 (message):
  CPack.cmake has already been included!!
Call Stack (most recent call first):
  /home/izelnakri/Github/llvm/build/_deps/opencl-headers-src/cmake/Package.cmake:47 (include)
  /home/izelnakri/Github/llvm/build/_deps/opencl-headers-src/CMakeLists.txt:20 (include)


-- OpenCL Include Directory: /home/izelnakri/Github/llvm/build/_deps/opencl-headers-src
-- OpenCL ICD Loader Library: OpenCL-ICD
--   UR_FORMAT_CPP_STYLE not set. Targets: 'generate' and 'check-generated' are not available
-- Using Unified Runtime source directory: /home/izelnakri/Github/llvm/unified-runtime
-- Will fetch OpenCL headers from https://github.com/KhronosGroup/OpenCL-Headers.git
-- Will fetch OpenCL ICD Loader from https://github.com/KhronosGroup/OpenCL-ICD-Loader.git
CMake Warning at /nix/store/dx4bdrs7mq3jfviqhszrc7l35ps9kg64-cmake-3.31.7/share/cmake-3.31/Modules/CPack.cmake:510 (message):
  CPack.cmake has already been included!!
Call Stack (most recent call first):
  /home/izelnakri/Github/llvm/build/_deps/ocl-icd-src/cmake/Package.cmake:40 (include)
  /home/izelnakri/Github/llvm/build/_deps/ocl-icd-src/CMakeLists.txt:64 (include)


-- Looking for secure_getenv
-- Looking for secure_getenv - found
-- Looking for __secure_getenv
-- Looking for __secure_getenv - not found
-- Defining OpenCL::Headers through OPENCL_ICD_LOADER_HEADERS_DIR
-- Found Python3: /nix/store/sd81bvmch7njdpwx3lkjslixcbj5mivz-python3-3.13.4/bin/python3.13 (found version "3.13.4") found components: Interpreter
-- Performing Test HAS_SEMANTIC_INTERPOSITION_FLAG
-- Performing Test HAS_SEMANTIC_INTERPOSITION_FLAG - Success
-- Performing Test HAS_INST_AFTER_SPEC
-- Performing Test HAS_INST_AFTER_SPEC - Failed
-- Performing Test HAS_FUNCTION_SECTIONS_FLAG
-- Performing Test HAS_FUNCTION_SECTIONS_FLAG - Success
-- Performing Test HAS_DATA_SECTIONS_FLAG
-- Performing Test HAS_DATA_SECTIONS_FLAG - Success
-- Performing Test CXX_HAS_NO_OMIT_FRAME_POINTER
-- Performing Test CXX_HAS_NO_OMIT_FRAME_POINTER - Success
-- Performing Test LINKER_SUPPORTS_WL_GC_SECTIONS
-- Performing Test LINKER_SUPPORTS_WL_GC_SECTIONS - Success
-- Performing Test COMPILER_HAS_NORTTI_FLAG
-- Performing Test COMPILER_HAS_NORTTI_FLAG - Success
-- Performing Test SYCL_CXX_SUPPORTS_INCONSISTENT_MISSING_OVERRIDE_FLAG
-- Performing Test SYCL_CXX_SUPPORTS_INCONSISTENT_MISSING_OVERRIDE_FLAG - Failed
-- Adding component append-file to deploy
-- Adding component clang to deploy
-- Adding component clang-offload-wrapper to deploy
-- Adding component clang-offload-bundler to deploy
-- Adding component clang-offload-deps to deploy
-- Adding component clang-offload-extract to deploy
-- Adding component clang-offload-packager to deploy
-- Adding component clang-linker-wrapper to deploy
-- Adding component file-table-tform to deploy
-- Adding component llc to deploy
-- Adding component llvm-ar to deploy
-- Adding component llvm-foreach to deploy
-- Adding component llvm-spirv to deploy
-- Adding component llvm-link to deploy
-- Adding component llvm-objcopy to deploy
-- Adding component spirv-to-ir-wrapper to deploy
-- Adding component sycl-post-link to deploy
-- Adding component sycl-ls to deploy
-- Adding component clang-resource-headers to deploy
-- Adding component OpenCL-Headers to deploy
-- Adding component opencl-aot to deploy
-- Adding component sycl-headers to deploy
-- Adding component sycl-headers-extras to deploy
-- Adding component sycl to deploy
-- Adding component libsycldevice to deploy
-- Adding component unified-memory-framework to deploy
-- Adding component unified-runtime-loader to deploy
-- Adding component xpti to deploy
-- Adding component xptifw to deploy
-- Adding component ur_adapter_level_zero to deploy
-- Adding component ur_adapter_level_zero_v2 to deploy
-- Adding component ur_adapter_opencl to deploy
-- Adding component sycl-jit to deploy
-- Adding component sycl-jit to deploy
-- Adding component sycl-prof to deploy
-- Adding component sycl-sanitize to deploy
-- Adding component sycl-trace to deploy
Configuring SYCL End-to-End Tests
-- Could NOT find Vulkan (missing: Vulkan_LIBRARY Vulkan_INCLUDE_DIR) (found version "")
-- Could not find nvcc, please set CUDAToolkit_ROOT.
-- Could NOT find hip (missing: hip_DIR)
-- SPIR-V Headers location is not specified. Will try to download
          spirv.hpp from https://github.com/KhronosGroup/SPIRV-Headers into
          /home/izelnakri/Github/llvm/build/tools/llvm-spirv/SPIRV-Headers
-- Checking for one of the modules 'SPIRV-Tools'
CMake Warning at /home/izelnakri/Github/llvm/llvm-spirv/CMakeLists.txt:127 (find_package):
  By not providing "FindSPIRV-Tools.cmake" in CMAKE_MODULE_PATH this project
  has asked CMake to find a package configuration file provided by
  "SPIRV-Tools", but CMake did not find one.

  Could not find a package configuration file provided by "SPIRV-Tools" with
  any of the following names:

    SPIRV-ToolsConfig.cmake
    spirv-tools-config.cmake

  Add the installation prefix of "SPIRV-Tools" to CMAKE_PREFIX_PATH or set
  "SPIRV-Tools_DIR" to a directory containing one of the above files.  If
  "SPIRV-Tools" provides a separate development package or SDK, be sure it
  has been installed.


CMake Warning at /home/izelnakri/Github/llvm/llvm-spirv/CMakeLists.txt:128 (find_package):
  By not providing "FindSPIRV-Tools-tools.cmake" in CMAKE_MODULE_PATH this
  project has asked CMake to find a package configuration file provided by
  "SPIRV-Tools-tools", but CMake did not find one.

  Could not find a package configuration file provided by "SPIRV-Tools-tools"
  with any of the following names:

    SPIRV-Tools-toolsConfig.cmake
    spirv-tools-tools-config.cmake

  Add the installation prefix of "SPIRV-Tools-tools" to CMAKE_PREFIX_PATH or
  set "SPIRV-Tools-tools_DIR" to a directory containing one of the above
  files.  If "SPIRV-Tools-tools" provides a separate development package or
  SDK, be sure it has been installed.


CMake Warning at /home/izelnakri/Github/llvm/llvm-spirv/test/CMakeLists.txt:69 (message):
  spirv-as not found! SPIR-V assembly tests will not be run.


CMake Warning at /home/izelnakri/Github/llvm/llvm-spirv/test/CMakeLists.txt:74 (message):
  spirv-dis not found! SPIR-V disassembly tests will not be run.


CMake Warning at /home/izelnakri/Github/llvm/llvm-spirv/test/CMakeLists.txt:79 (message):
  spirv-link not found! SPIR-V test involving the linker will not be run.


CMake Warning at /home/izelnakri/Github/llvm/llvm-spirv/test/CMakeLists.txt:84 (message):
  spirv-val not found! SPIR-V generated for test suite will not be validated.


-- Will fetch parallel-hashmap from https://github.com/greg7mdp/parallel-hashmap.git
-- Detected PHMAP Version - 1.3.12
-- Performing Test HAS_NO_INVALID_NORETURN_WARN_FLAG
-- Performing Test HAS_NO_INVALID_NORETURN_WARN_FLAG - Success
-- Performing Test CXX_SUPPORTS_FCF_PROTECTION_EQ_FULL_FLAG
-- Performing Test CXX_SUPPORTS_FCF_PROTECTION_EQ_FULL_FLAG - Success
-- Registering ExampleIRTransforms as a pass plugin (static build: OFF)
-- Registering Bye as a pass plugin (static build: OFF)
-- Failed to find LLVM FileCheck
-- Google Benchmark version: v0.0.0, normalized to 0.0.0
-- Looking for shm_open in rt
-- Looking for shm_open in rt - found
-- Performing Test HAVE_CXX_FLAG_WALL
-- Performing Test HAVE_CXX_FLAG_WALL - Success
-- Performing Test HAVE_CXX_FLAG_WEXTRA
-- Performing Test HAVE_CXX_FLAG_WEXTRA - Success
-- Performing Test HAVE_CXX_FLAG_WSHADOW
-- Performing Test HAVE_CXX_FLAG_WSHADOW - Success
-- Performing Test HAVE_CXX_FLAG_WFLOAT_EQUAL
-- Performing Test HAVE_CXX_FLAG_WFLOAT_EQUAL - Success
-- Performing Test HAVE_CXX_FLAG_WOLD_STYLE_CAST
-- Performing Test HAVE_CXX_FLAG_WOLD_STYLE_CAST - Success
-- Performing Test HAVE_CXX_FLAG_WSUGGEST_OVERRIDE
-- Performing Test HAVE_CXX_FLAG_WSUGGEST_OVERRIDE - Success
-- Performing Test HAVE_CXX_FLAG_PEDANTIC
-- Performing Test HAVE_CXX_FLAG_PEDANTIC - Success
-- Performing Test HAVE_CXX_FLAG_PEDANTIC_ERRORS
-- Performing Test HAVE_CXX_FLAG_PEDANTIC_ERRORS - Success
-- Performing Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32
-- Performing Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32 - Failed
-- Performing Test HAVE_CXX_FLAG_FSTRICT_ALIASING
-- Performing Test HAVE_CXX_FLAG_FSTRICT_ALIASING - Success
-- Performing Test HAVE_CXX_FLAG_WNO_DEPRECATED_DECLARATIONS
-- Performing Test HAVE_CXX_FLAG_WNO_DEPRECATED_DECLARATIONS - Success
-- Performing Test HAVE_CXX_FLAG_FNO_EXCEPTIONS
-- Performing Test HAVE_CXX_FLAG_FNO_EXCEPTIONS - Success
-- Performing Test HAVE_CXX_FLAG_WSTRICT_ALIASING
-- Performing Test HAVE_CXX_FLAG_WSTRICT_ALIASING - Success
-- Performing Test HAVE_CXX_FLAG_WD654
-- Performing Test HAVE_CXX_FLAG_WD654 - Failed
-- Performing Test HAVE_CXX_FLAG_WTHREAD_SAFETY
-- Performing Test HAVE_CXX_FLAG_WTHREAD_SAFETY - Failed
-- Performing Test HAVE_CXX_FLAG_COVERAGE
-- Performing Test HAVE_CXX_FLAG_COVERAGE - Success
-- Compiling and running to test HAVE_GNU_POSIX_REGEX
-- Performing Test HAVE_GNU_POSIX_REGEX -- failed to compile
-- Compiling and running to test HAVE_POSIX_REGEX
-- Performing Test HAVE_POSIX_REGEX -- success
-- Compiling and running to test HAVE_STEADY_CLOCK
-- Performing Test HAVE_STEADY_CLOCK -- success
-- Compiling and running to test HAVE_PTHREAD_AFFINITY
-- Performing Test HAVE_PTHREAD_AFFINITY -- success
-- Configuring done (73.3s)
-- Generating done (6.7s)
-- Build files have been written to: /home/izelnakri/Github/llvm/build

To reproduce

$ nix develop
$ python3 buildbot/configure.py --use-libcxx --libcxx-include="$LIBCXX_INCLUDE_DIR" --libcxx-library="$LIBCXX_LIBRARY_DIR"
$ python3 buildbot/compile.py

Environment

  • OS: NixOS
    16:39:38 izelnakri ~/Github/llvm -> sycl neofetch
    ▗▄▄▄ ▗▄▄▄▄ ▄▄▄▖ izelnakri@omnibook
    ▜███▙ ▜███▙ ▟███▛ ------------------
    ▜███▙ ▜███▙▟███▛ OS: NixOS 25.05.20250625.7284e2d (Warbler) x86_64
    ▜███▙ ▜██████▛ Host: HP 8CDE
    ▟█████████████████▙ ▜████▛ ▟▙ Kernel: 6.15.3
    ▟███████████████████▙ ▜███▙ ▟██▙ Uptime: 18 hours, 6 mins
    ▄▄▄▄▖ ▜███▙ ▟███▛ Packages: 1563 (nix-system), 3789 (nix-user), 30 (flatpak)
    ▟███▛ ▜██▛ ▟███▛ Shell: zsh 5.9
    ▟███▛ ▜▛ ▟███▛ Resolution: 2880x1800
    ▟███████████▛ ▟██████████▙ DE: Hyprland (Wayland)
    ▜██████████▛ ▟███████████▛ WM: .Hyprland-wrapp
    ▟███▛ ▟▙ ▟███▛ Terminal: tmux
    ▟███▛ ▟██▙ ▟███▛ CPU: Intel Ultra 7 258V (8) @ 4.800GHz
    ▟███▛ ▜███▙ ▝▀▀▀▀ GPU: Intel Arc Graphics 130V / 140V]
    ▜██▛ ▜███▙ ▜██████████████████▛ Memory: 10899MiB / 31574MiB
    ▜▛ ▟████▙ ▜████████████████▛
    ▟██████▙ ▜███▙
    ▟███▛▜███▙ ▜███▙
    ▟███▛ ▜███▙ ▜███▙
    ▝▀▀▀ ▀▀▀▀▘ ▀▀▀▘
    Linux omnibook 6.15.3 Enable execution on GPU and ACC #1-NixOS SMP PREEMPT_DYNAMIC Thu Jun 19 13:41:08 UTC 2025 x86_64 GNU/Linux

Additional context

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions