<div dir="ltr"><div dir="ltr"><div dir="ltr">Hi,<div><div>$ ninja</div><div>[150/2173] Generating VCSRevision.h</div><div>-- Found Git: /usr/bin/git (found version "1.8.3.1")</div><div>[166/2173] Building LLVM bitcode data_sharing.cu-sm_60.bc</div><div>FAILED: projects/openmp/libomptarget/deviceRTLs/nvptx/data_sharing.cu-sm_60.bc</div><div>cd /tmp/projects/llvm-project/build/projects/openmp/libomptarget/deviceRTLs/nvptx && /p/project/cpcp0/pcp0151/opt/clang-ykt/bin/clang -emit-llvm -O1 --cuda-device-only --cuda-path=/gpfs/software/opt/cuda/9.2.148 -fcuda-rdc -DOMPTARGET_NVPTX_DEBUG=0 -Dnv_weak=weak --cuda-gpu-arch=sm_60 -c /tmp/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/src/<a href="http://data_sharing.cu">data_sharing.cu</a> -o data_sharing.cu-sm_60.bc</div><div>In file included from /tmp/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/src/<a href="http://data_sharing.cu:12">data_sharing.cu:12</a>:</div><div>In file included from /tmp/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/src/omptarget-nvptx.h:28:</div><div>/tmp/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/src/debug.h:131:19: warning: variadic templates are a C++11 extension [-Wc++11-extensions]</div><div>template <typename... Arguments></div><div>                  ^</div><div>/tmp/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/src/debug.h:141:19: warning: variadic templates are a C++11 extension [-Wc++11-extensions]</div><div>template <typename... Arguments></div><div>                  ^</div><div>In file included from <built-in>:1:</div><div>In file included from /p/project/cpcp0/pcp0151/opt/clang-ykt/lib/clang/9.0.0/include/__clang_cuda_runtime_wrapper.h:396:</div><div>/p/project/cpcp0/pcp0151/opt/clang-ykt/lib/clang/9.0.0/include/__clang_cuda_intrinsics.h:173:35: error: '__nvvm_shfl_sync_idx_i32' needs target feature ptx60|ptx61|ptx63|ptx64</div><div>__MAKE_SYNC_SHUFFLES(__shfl_sync, __nvvm_shfl_sync_idx_i32,</div><div>                                  ^</div><div>2 warnings and 1 error generated when compiling for sm_60.</div><div>[175/2173] Building LLVM bitcode reduction.cu-sm_60.bc</div><div>FAILED: projects/openmp/libomptarget/deviceRTLs/nvptx/reduction.cu-sm_60.bc</div><div>cd /tmp/projects/llvm-project/build/projects/openmp/libomptarget/deviceRTLs/nvptx && /p/project/cpcp0/pcp0151/opt/clang-ykt/bin/clang -emit-llvm -O1 --cuda-device-only --cuda-path=/gpfs/software/opt/cuda/9.2.148 -fcuda-rdc -DOMPTARGET_NVPTX_DEBUG=0 -Dnv_weak=weak --cuda-gpu-arch=sm_60 -c /tmp/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/src/<a href="http://reduction.cu">reduction.cu</a> -o reduction.cu-sm_60.bc</div><div>In file included from /tmp/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/src/<a href="http://reduction.cu:17">reduction.cu:17</a>:</div><div>In file included from /tmp/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/src/omptarget-nvptx.h:28:</div><div>/tmp/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/src/debug.h:131:19: warning: variadic templates are a C++11 extension [-Wc++11-extensions]</div><div>template <typename... Arguments></div><div>                  ^</div><div>/tmp/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/src/debug.h:141:19: warning: variadic templates are a C++11 extension [-Wc++11-extensions]</div><div>template <typename... Arguments></div><div>                  ^</div><div>In file included from <built-in>:1:</div><div>In file included from /p/project/cpcp0/pcp0151/opt/clang-ykt/lib/clang/9.0.0/include/__clang_cuda_runtime_wrapper.h:396:</div><div>/p/project/cpcp0/pcp0151/opt/clang-ykt/lib/clang/9.0.0/include/__clang_cuda_intrinsics.h:179:40: error: '__nvvm_shfl_sync_down_i32' needs target feature ptx60|ptx61|ptx63|ptx64</div><div>__MAKE_SYNC_SHUFFLES(__shfl_down_sync, __nvvm_shfl_sync_down_i32,</div><div>                                       ^</div><div>2 warnings and 1 error generated when compiling for sm_60.</div><div>[176/2173] Building LLVM bitcode parallel.cu-sm_60.bc</div><div>FAILED: projects/openmp/libomptarget/deviceRTLs/nvptx/parallel.cu-sm_60.bc</div><div>cd /tmp/projects/llvm-project/build/projects/openmp/libomptarget/deviceRTLs/nvptx && /p/project/cpcp0/pcp0151/opt/clang-ykt/bin/clang -emit-llvm -O1 --cuda-device-only --cuda-path=/gpfs/software/opt/cuda/9.2.148 -fcuda-rdc -DOMPTARGET_NVPTX_DEBUG=0 -Dnv_weak=weak --cuda-gpu-arch=sm_60 -c /tmp/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/src/<a href="http://parallel.cu">parallel.cu</a> -o parallel.cu-sm_60.bc</div><div>In file included from /tmp/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/src/<a href="http://parallel.cu:35">parallel.cu:35</a>:</div><div>In file included from /tmp/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/src/omptarget-nvptx.h:28:</div><div>/tmp/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/src/debug.h:131:19: warning: variadic templates are a C++11 extension [-Wc++11-extensions]</div><div>template <typename... Arguments></div><div>                  ^</div><div>/tmp/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/src/debug.h:141:19: warning: variadic templates are a C++11 extension [-Wc++11-extensions]</div><div>template <typename... Arguments></div><div>                  ^</div><div>In file included from <built-in>:1:</div><div>In file included from /p/project/cpcp0/pcp0151/opt/clang-ykt/lib/clang/9.0.0/include/__clang_cuda_runtime_wrapper.h:396:</div><div>/p/project/cpcp0/pcp0151/opt/clang-ykt/lib/clang/9.0.0/include/__clang_cuda_intrinsics.h:173:35: error: '__nvvm_shfl_sync_idx_i32' needs target feature ptx60|ptx61|ptx63|ptx64</div><div>__MAKE_SYNC_SHUFFLES(__shfl_sync, __nvvm_shfl_sync_idx_i32,</div><div>                                  ^</div><div>2 warnings and 1 error generated when compiling for sm_60.</div><div>[178/2173] Building LLVM bitcode loop.cu-sm_60.bc</div><div>FAILED: projects/openmp/libomptarget/deviceRTLs/nvptx/loop.cu-sm_60.bc</div><div>cd /tmp/projects/llvm-project/build/projects/openmp/libomptarget/deviceRTLs/nvptx && /p/project/cpcp0/pcp0151/opt/clang-ykt/bin/clang -emit-llvm -O1 --cuda-device-only --cuda-path=/gpfs/software/opt/cuda/9.2.148 -fcuda-rdc -DOMPTARGET_NVPTX_DEBUG=0 -Dnv_weak=weak --cuda-gpu-arch=sm_60 -c /tmp/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/src/<a href="http://loop.cu">loop.cu</a> -o loop.cu-sm_60.bc</div><div>In file included from /tmp/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/src/<a href="http://loop.cu:15">loop.cu:15</a>:</div><div>In file included from /tmp/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/src/omptarget-nvptx.h:28:</div><div>/tmp/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/src/debug.h:131:19: warning: variadic templates are a C++11 extension [-Wc++11-extensions]</div><div>template <typename... Arguments></div><div>                  ^</div><div>/tmp/projects/llvm-project/openmp/libomptarget/deviceRTLs/nvptx/src/debug.h:141:19: warning: variadic templates are a C++11 extension [-Wc++11-extensions]</div><div>template <typename... Arguments></div><div>                  ^</div><div>In file included from <built-in>:1:</div><div>In file included from /p/project/cpcp0/pcp0151/opt/clang-ykt/lib/clang/9.0.0/include/__clang_cuda_runtime_wrapper.h:396:</div><div>/p/project/cpcp0/pcp0151/opt/clang-ykt/lib/clang/9.0.0/include/__clang_cuda_intrinsics.h:173:35: error: '__nvvm_shfl_sync_idx_i32' needs target feature ptx60|ptx61|ptx63|ptx64</div><div>__MAKE_SYNC_SHUFFLES(__shfl_sync, __nvvm_shfl_sync_idx_i32,</div><div>                                  ^</div><div>2 warnings and 1 error generated when compiling for sm_60.</div><div>[198/2173] Building CXX object tools/l...llvm-rc.dir/ResourceScriptParser.cpp.o</div><div>ninja: build stopped: subcommand failed.</div></div><div><br></div><div>CMake options I set:</div><div><div><br></div><div>$ cmake -G "Ninja" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$PROJECT/pcp0151/opt/clang-trunk -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DLLVM_TARGETS_TO_BUILD=PowerPC -DLIBOMP_ENABLE_SHARED=FALSE -DCLANG_OPENMP_NVPTX_DEFAULT_ARCH=sm_60 -DLLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN=TRUE -DLIBOMP_ENABLE_SHARED=FALSE /tmp/projects/llvm-project</div></div><div><br></div></div></div></div>