-
Notifications
You must be signed in to change notification settings - Fork 795
Closed
Labels
Description
Describe the bug
Unable to compile Intel/LLVM on branch sycl
. Output for the build (at 97%) :
Scanning dependencies of target prepare-libspirv-nvptx64--nvidiacl.bc
[ 97%] Generating ../../lib/clc/libspirv-nvptx64--nvidiacl.bc
error: file too small to contain bitcode header
make[2]: *** [tools/libclc/CMakeFiles/prepare-libspirv-nvptx64--nvidiacl.bc.dir/build.make:62: lib/clc/libspirv-nvptx64--nvidiacl.bc] Error 1
make[1]: *** [CMakeFiles/Makefile2:77139: tools/libclc/CMakeFiles/prepare-libspirv-nvptx64--nvidiacl.bc.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:152: all] Error 2
To Reproduce
Commands I used :
$ git clone https://github.com/intel/llvm
$ cd llvm
$ python ./buildbot/configure.py --cuda -t release --cmake-gen "Unix Makefiles"
$ cd build
$ ccmake . # and disable the SYCL_ENABLE_WERROR flag
$ make install -j `nproc`
On branch sycl
, at the following commit :
1811037bc8b3e9352b6806b24724eecb6d862895 (HEAD -> sycl, origin/sycl, origin/HEAD)
Date: Sun Apr 25 14:11:44 2021 -0400).
Environment (please complete the following information):
OS : Linux Mint 20 (Ulyana)
(based on Ubuntu focal)
Current compiler : gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0
Clang version :
clang version 10.0.0-4ubuntu1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
Target device and vendor : NVIDIA CUDA GPU
Installed CUDA version : cuda_11.3.r11.3/compiler.29745058_0