Skip to content

Commit

Permalink
update TBB installation
Browse files Browse the repository at this point in the history
  • Loading branch information
sloriot committed Aug 19, 2024
1 parent 5cc0376 commit 5551254
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions Fedora-rawhide/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,16 @@ RUN dnf -y upgrade && \
json-devel \
tar && \
dnf clean all && \
wget https://registrationcenter-download.intel.com/akdlm/irc_nas/19143/l_tbb_oneapi_p_2021.8.0.25334_offline.sh && \
bash l_tbb_oneapi_p_2021.8.0.25334_offline.sh -a --action install --eula accept -s && \
rm l_tbb_oneapi_p_2021.8.0.25334_offline.sh

#install TBB
wget https://github.com/oneapi-src/oneTBB/archive/refs/tags/v2021.8.0.tar.gz
tar xf v2021.8.0.tar.gz
mkdir build
cd build
sed -i '1i #include <cstdlib>' /oneTBB-2021.8.0/test/common/utils_assert.h
cmake -DCMAKE_BUILD_TYPE=Release -DTBB_STRICT:BOOL=OFF -DTBB_TEST:BOOL=OFF ../oneTBB-2021.8.0
make
make install

ENV CGAL_TEST_PLATFORM="Fedora-rawhide"
ENV CGAL_CMAKE_FLAGS="('-DCGAL_HEADER_ONLY:BOOL=TRUE')"
Expand Down

0 comments on commit 5551254

Please sign in to comment.