-
Notifications
You must be signed in to change notification settings - Fork 283
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reduce stack requirements by allocating on heap in order to fit into Windows 1 mb stack size (unchangeable due to pybind11). Fix tests to close prover file handle before removing file. Remove unused stackallocator.
- Loading branch information
Showing
7 changed files
with
97 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#!/bin/sh -x | ||
|
||
# Stop in case of error | ||
set -e | ||
|
||
#python -m pip install cibuildwheel==1.3.0 | ||
|
||
|
||
# build just python 3.7 | ||
export CIBW_BUILD="cp37-win_amd64" | ||
#export CIBW_BEFORE_BUILD_WINDOWS="python -m pip install --upgrade pip" | ||
export CIBW_TEST_REQUIRES="pytest" | ||
export CIBW_TEST_COMMAND="py.test -v {project}/tests" | ||
|
||
|
||
export PATH=$PATH:"C:\msys64\mingw64\bin\cmake.exe" | ||
echo "PWD is $PWD" | ||
|
||
cmake -G "MSYS Makefiles" --build . | ||
make | ||
$PWD/RunTests.exe | ||
#Test failing for windows: | ||
py.test -v $PWD/tests/ | ||
#pip -vv wheel . |