pybind11 icon indicating copy to clipboard operation
pybind11 copied to clipboard

[BUG]: Build hangs on VS2019

Open NNTopology opened this issue 3 years ago • 1 comments

Required prerequisites

  • [X] Make sure you've read the documentation. Your issue may be addressed there.
  • [X] Search the issue tracker and Discussions to verify that this hasn't already been reported. +1 or comment there if it has.
  • [X] Consider asking first in the Gitter chat room or in a Discussion.

Problem description

Builds hangs on Windows/Visual Studio 2019 on this step: Building Custom Rule ..3rd_party/pybind11/tests/test_cmake_build/installed_target/CMakeLists.txt

Reproducible example code

Just download the latest build and run mkdir build cd build cmake .. cmake --build . --config Release --target check

NNTopology avatar May 19 '22 22:05 NNTopology

little bit more details: This works: cd pybind11 cmake -S . -B build cmake --build build -j 2 # Build on 2 cores cmake --install build

but if we use this command line : cmake --build build --config Release --target check then \build\tests\pytest.vcxproj hangs

NNTopology avatar May 20 '22 14:05 NNTopology