Skip to content

Commit

Permalink
Merge pull request #9327 from cms-sw/llvm-zstd-fix
Browse files Browse the repository at this point in the history
[llvm] add zstd deps to make sure it is not picked up from system
  • Loading branch information
smuzaffar authored Jul 27, 2024
2 parents 6cd632a + c4e68e6 commit ae11306
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions llvm.spec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## INITENV +PATH PYTHON3PATH %{i}/lib64/python%{cms_python3_major_minor_version}/site-packages

BuildRequires: cmake ninja
Requires: gcc zlib python3 libxml2
Requires: gcc zlib python3 libxml2 zstd
%{!?without_cuda:Requires: cuda}

%define llvmCommit 83204dfcd4277154e46a5c6094aee389a7f260e8
Expand Down Expand Up @@ -57,7 +57,7 @@ cmake %{_builddir}/llvm-%{realversion}-%{llvmCommit}/llvm \
-DLIBOMPTARGET_NVPTX_COMPUTE_CAPABILITIES="%omptarget_cuda_archs" \
%endif
-DCMAKE_REQUIRED_INCLUDES="${ZLIB_ROOT}/include" \
-DCMAKE_PREFIX_PATH="${ZLIB_ROOT};${LIBXML2_ROOT}"
-DCMAKE_PREFIX_PATH="${ZLIB_ROOT};${LIBXML2_ROOT};${ZSTD_ROOT}"

ninja -v %{makeprocesses}
ninja -v %{makeprocesses} check-clang-tools
Expand Down

0 comments on commit ae11306

Please sign in to comment.