easybuild-easyblocks icon indicating copy to clipboard operation
easybuild-easyblocks copied to clipboard

Set build type for PyTorch explicitely

Open Flamefire opened this issue 2 months ago • 2 comments

PyTorch checks these environment variables in this order to determine the build type (for CMake) to use:

  • CMAKE_BUILD_TYPE
  • DEBUG
  • REL_WITH_DEB_INFO

If we don't set it explicitely we might end up with an unexpected debug build. Add the build_typeEC option used in the CMakeMake easyblock with similar semantics.

Flamefire avatar May 21 '24 08:05 Flamefire