This repairs the long chain test after it was previously inadvertently broken.
Technically going to 32MB is not necessary on all platforms; in release mode,
the MS Build built Graphviz can handle this example with only a 16MB stack. But
it seems simpler to uniformly go to 32MB on all Windows platforms. In a 64-bit
address space, 32MB is trivial and we could even adjust this limit higher in
future. Note that this is the reserved size, not the committed size.
Gitlab: #1710
`--enable-python` is now an alias for `--enable-python3`.
- The CMake build system, when building `gvedit`, will now look for and use Qt6
in preference over Qt5. #2233
+- Reserved stack size on Windows for the `dot.exe` binary has been increased
+ from ~3.8MB to 32MB. #1710
### Fixed
gvc
)
+if(MINGW)
+ set_target_properties(dot PROPERTIES LINK_FLAGS -Wl,--stack,0x2000000)
+elseif(WIN32)
+ set_target_properties(dot PROPERTIES LINK_FLAGS /STACK:"33554432")
+endif()
+
# Installation location of executables
install(
TARGETS dot
<DataExecutionPrevention />
<TargetMachine>MachineX86</TargetMachine>
<AdditionalDependencies>cgraph.lib;gvc.lib;%(AdditionalDependencies)</AdditionalDependencies>
- <StackReserveSize>4000000</StackReserveSize>
+ <StackReserveSize>33554432</StackReserveSize>
</Link>
<PostBuildEvent>
<Command>$(OutDir)dot -c
<DataExecutionPrevention />
<TargetMachine>MachineX86</TargetMachine>
<AdditionalDependencies>cgraph.lib;gvc.lib;%(AdditionalDependencies)</AdditionalDependencies>
- <StackReserveSize>4000000</StackReserveSize>
+ <StackReserveSize>33554432</StackReserveSize>
</Link>
<PostBuildEvent>
<Command>$(OutDir)dot -c
sys.path.append(os.path.join(os.path.dirname(__file__), "../../../tests"))
from gvtest import dot #pylint: disable=wrong-import-position
-@pytest.mark.xfail(platform.system() in ("Darwin", "Windows"),
+@pytest.mark.xfail(platform.system() == "Darwin",
reason="https://gitlab.com/graphviz/graphviz/-/issues/1710")
def test_long_chain():
"""