Skip to content

Commit

Permalink
Source setvars.sh when installing TBB from package
Browse files Browse the repository at this point in the history
It is now required to source /opt/intel/oneapi/setvars.sh in shell to
populate all needed variables for discovery via CMake.
  • Loading branch information
elshize committed Jan 17, 2024
1 parent 2ba2753 commit 496bea3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/docker/system-deps/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ RUN ./pisa/test/docker/install-cmake.sh

RUN mkdir /pisa/build
WORKDIR /pisa/build
RUN cmake \
RUN . /opt/intel/oneapi/setvars.sh && cmake \
"-DCMAKE_BUILD_TYPE=Debug" \
"-DPISA_BUILD_TOOLS=ON" \
"-DPISA_ENABLE_BENCHMARKING=ON" \
Expand Down

0 comments on commit 496bea3

Please sign in to comment.