-
Notifications
You must be signed in to change notification settings - Fork 177
Closed
Description
When trying to build latest compute-runtime "21.52.22081" release, after building:
- GMMlib: intel-gmmlib-22.0.1
- IGC: igc-1.0.9933, with:
- SPIRV-Headers: sdk-1.2.198.0
- SPIRV-LLVM-Translator: llvm_release_110
- SPIRV-Tools: v2021.4
- vc-intrinsics: HEAD
- Level-Zero: v1.7.4
I get following errors:
...
[338/2454] Building CXX object shared/source/CMakeFiles/neo_shared.dir/program/sync_buffer_handler.cpp.o
[339/2454] Generating ../../../bin/Gen12LPlp/0/test_files/x64/CopyBuffer_simd16_Gen12LPlp.spv-cl-kernel-arg-info, ../../../bin/Gen12LPlp/0/test_files/x64/CopyBuffer_simd16_Gen12LPlp.bin-cl-kernel-arg-info, ../../../bin/Gen12LPlp/0/test_files/x64/CopyBuffer_simd16_Gen12LPlp.gen-cl-kernel-arg-info
FAILED: bin/Gen12LPlp/0/test_files/x64/CopyBuffer_simd16_Gen12LPlp.spv-cl-kernel-arg-info bin/Gen12LPlp/0/test_files/x64/CopyBuffer_simd16_Gen12LPlp.bin-cl-kernel-arg-info bin/Gen12LPlp/0/test_files/x64/CopyBuffer_simd16_Gen12LPlp.gen-cl-kernel-arg-info
cd /home/nobody/source/compute-runtime/opencl/test/unit_test/test_files && LD_LIBRARY_PATH=/home/nobody/source/compute-runtime/build/bin /home/nobody/source/compute-runtime/build/bin/ocloc -file /home/nobody/source/compute-runtime/opencl/test/unit_test/test_files/CopyBuffer_simd16.cl -device tgllp -64 -out_dir /home/nobody/source/compute-runtime/build/bin/Gen12LPlp/0/test_files/x64/ -revision_id 0 -options -cl-kernel-arg-info -options_name
: CommandLine Error: Option 'spirv-expand-step' registered more than once!
LLVM ERROR: inconsistency in registered CommandLine options
Aborted (core dumped)
[340/2454] Building CXX object shared/source/CMakeFiles/neo_shared.dir/os_interface/windows/os_environment_win.cpp.o
[341/2454] Generating ../../../bin/Gen12LPlp/0/test_files/x64/CopyBuffer_simd16_Gen12LPlp.spv-cl-finite-math-only, ../../../bin/Gen12LPlp/0/test_files/x64/CopyBuffer_simd16_Gen12LPlp.bin-cl-finite-math-only, ../../../bin/Gen12LPlp/0/test_files/x64/CopyBuffer_simd16_Gen12LPlp.gen-cl-finite-math-only
FAILED: bin/Gen12LPlp/0/test_files/x64/CopyBuffer_simd16_Gen12LPlp.spv-cl-finite-math-only bin/Gen12LPlp/0/test_files/x64/CopyBuffer_simd16_Gen12LPlp.bin-cl-finite-math-only bin/Gen12LPlp/0/test_files/x64/CopyBuffer_simd16_Gen12LPlp.gen-cl-finite-math-only
cd /home/nobody/source/compute-runtime/opencl/test/unit_test/test_files && LD_LIBRARY_PATH=/home/nobody/source/compute-runtime/build/bin /home/nobody/source/compute-runtime/build/bin/ocloc -file /home/nobody/source/compute-runtime/opencl/test/unit_test/test_files/CopyBuffer_simd16.cl -device tgllp -64 -out_dir /home/nobody/source/compute-runtime/build/bin/Gen12LPlp/0/test_files/x64/ -revision_id 0 -options -cl-finite-math-only -options_name
: CommandLine Error: Option 'spirv-expand-step' registered more than once!
LLVM ERROR: inconsistency in registered CommandLine options
Aborted (core dumped)
[342/2454] Generating ../../../bin/Gen12LPlp/0/test_files/x64/CopyBuffer_simd16_Gen12LPlp.spv-cl-fast-relaxed-math, ../../../bin/Gen12LPlp/0/test_files/x64/CopyBuffer_simd16_Gen12LPlp.bin-cl-fast-relaxed-math, ../../../bin/Gen12LPlp/0/test_files/x64/CopyBuffer_simd16_Gen12LPlp.gen-cl-fast-relaxed-math
FAILED: bin/Gen12LPlp/0/test_files/x64/CopyBuffer_simd16_Gen12LPlp.spv-cl-fast-relaxed-math bin/Gen12LPlp/0/test_files/x64/CopyBuffer_simd16_Gen12LPlp.bin-cl-fast-relaxed-math bin/Gen12LPlp/0/test_files/x64/CopyBuffer_simd16_Gen12LPlp.gen-cl-fast-relaxed-math
cd /home/nobody/source/compute-runtime/opencl/test/unit_test/test_files && LD_LIBRARY_PATH=/home/nobody/source/compute-runtime/build/bin /home/nobody/source/compute-runtime/build/bin/ocloc -file /home/nobody/source/compute-runtime/opencl/test/unit_test/test_files/CopyBuffer_simd16.cl -device tgllp -64 -out_dir /home/nobody/source/compute-runtime/build/bin/Gen12LPlp/0/test_files/x64/ -revision_id 0 -options -cl-fast-relaxed-math -options_name
: CommandLine Error: Option 'spirv-expand-step' registered more than once!
LLVM ERROR: inconsistency in registered CommandLine options
Aborted (core dumped)
Googling shows this to happen when components have been built against different LLVM versions. However, above is built in a Ubuntu 21.04 container which has only (Ubuntu) LLVM v11 installed.
Metadata
Metadata
Assignees
Labels
No labels