Skip to content

Commit

Permalink
specify tbb backend
Browse files Browse the repository at this point in the history
  • Loading branch information
lkeegan committed Aug 15, 2023
1 parent 71e5f01 commit 910fc25
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ else
# ls /opt/smelibs
fi

export CC=/usr/local/opt/llvm/bin/clang
export CXX=/usr/local/opt/llvm/bin/clang++

# add dpl
git clone -b oneDPL-2022.2.0-rc1 --depth 1 https://github.com/oneapi-src/oneDPL
cd oneDPL
Expand All @@ -40,7 +43,8 @@ cmake -G "Unix Makefiles" .. \
-DBUILD_SHARED_LIBS=OFF \
-DCMAKE_C_FLAGS="-fpic -fvisibility=hidden ${TBB_EXTRA_FLAGS}" \
-DCMAKE_CXX_FLAGS="-fpic -fvisibility=hidden ${TBB_EXTRA_FLAGS}" \
-DCMAKE_INSTALL_PREFIX="$INSTALL_PREFIX"
-DCMAKE_INSTALL_PREFIX="$INSTALL_PREFIX" \
-DONEDPL_BACKEND="tbb"
make
$SUDOCMD make install
cd ../../
Expand Down

0 comments on commit 910fc25

Please sign in to comment.