pisa-engine/pisa

system-deps build fails

elshize opened this issue · 1 comments

The system-deps build on trunk fails.

#14 61.72 CMake Error at CMakeLists.txt:101 (find_package):
#14 61.72   By not providing "FindTBB.cmake" in CMAKE_MODULE_PATH this project has
#14 61.72   asked CMake to find a package configuration file provided by "TBB", but
#14 61.72   CMake did not find one.
#14 61.72 
#14 61.72   Could not find a package configuration file provided by "TBB" with any of
#14 61.72   the following names:
#14 61.72 
#14 61.72     TBBConfig.cmake
#14 61.72     tbb-config.cmake
#14 61.72 
#14 61.72   Add the installation prefix of "TBB" to CMAKE_PREFIX_PATH or set "TBB_DIR"
#14 61.72   to a directory containing one of the above files.  If "TBB" provides a
#14 61.72   separate development package or SDK, be sure it has been installed.
#14 61.72 
#14 61.72 
#14 61.73 -- Configuring incomplete, errors occurred!
#14 61.73 See also "/pisa/build/CMakeFiles/CMakeOutput.log".
#14 61.73 See also "/pisa/build/CMakeFiles/CMakeError.log".
#14 ERROR: process "/bin/sh -c cmake     \"-DCMAKE_BUILD_TYPE=Debug\"     \"-DPISA_BUILD_TOOLS=ON\"     \"-DPISA_ENABLE_BENCHMARKING=ON\"     \"-DPISA_SYSTEM_GOOGLE_BENCHMARK=ON\"     \"-DPISA_SYSTEM_ONETBB=ON\"     \"-DPISA_SYSTEM_BOOST=ON\"     \"-DPISA_SYSTEM_CLI11=ON\"     \"-DCMAKE_CXX_STANDARD=$CXX_STANDARD\"     ..     && cmake --build . --config Debug -- -j 4" did not complete successfully: exit code: 1
------
 > [9/9] RUN cmake     "-DCMAKE_BUILD_TYPE=Debug"     "-DPISA_BUILD_TOOLS=ON"     "-DPISA_ENABLE_BENCHMARKING=ON"     "-DPISA_SYSTEM_GOOGLE_BENCHMARK=ON"     "-DPISA_SYSTEM_ONETBB=ON"     "-DPISA_SYSTEM_BOOST=ON"     "-DPISA_SYSTEM_CLI11=ON"     "-DCMAKE_CXX_STANDARD=17"     ..     && cmake --build . --config Debug -- -j 4:
61.72     tbb-config.cmake
61.72 
61.72   Add the installation prefix of "TBB" to CMAKE_PREFIX_PATH or set "TBB_DIR"
61.72   to a directory containing one of the above files.  If "TBB" provides a
61.72   separate development package or SDK, be sure it has been installed.
61.72 
61.72 
61.73 -- Configuring incomplete, errors occurred!
61.73 See also "/pisa/build/CMakeFiles/CMakeOutput.log".
61.73 See also "/pisa/build/CMakeFiles/CMakeError.log".
------
Dockerfile:26
--------------------
  25 |     WORKDIR /pisa/build
  26 | >>> RUN cmake \
  27 | >>>     "-DCMAKE_BUILD_TYPE=Debug" \
  28 | >>>     "-DPISA_BUILD_TOOLS=ON" \
  29 | >>>     "-DPISA_ENABLE_BENCHMARKING=ON" \
  30 | >>>     "-DPISA_SYSTEM_GOOGLE_BENCHMARK=ON" \
  31 | >>>     "-DPISA_SYSTEM_ONETBB=ON" \
  32 | >>>     "-DPISA_SYSTEM_BOOST=ON" \
  33 | >>>     "-DPISA_SYSTEM_CLI11=ON" \
  34 | >>>     "-DCMAKE_CXX_STANDARD=$CXX_STANDARD" \
  35 | >>>     .. \
  36 | >>>     && cmake --build . --config Debug -- -j 4
  37 |     
--------------------
ERROR: failed to solve: process "/bin/sh -c cmake     \"-DCMAKE_BUILD_TYPE=Debug\"     \"-DPISA_BUILD_TOOLS=ON\"     \"-DPISA_ENABLE_BENCHMARKING=ON\"     \"-DPISA_SYSTEM_GOOGLE_BENCHMARK=ON\"     \"-DPISA_SYSTEM_ONETBB=ON\"     \"-DPISA_SYSTEM_BOOST=ON\"     \"-DPISA_SYSTEM_CLI11=ON\"     \"-DCMAKE_CXX_STANDARD=$CXX_STANDARD\"     ..     && cmake --build . --config Debug -- -j 4" did not complete successfully: exit code: 1
Error: Process completed with exit code 1.

Fixed by fixing the version of the TBB package to 2021.10, and I submitted an issue upstream: oneapi-src/oneTBB#1294