Skip to content

Commit 0b7bfec

Browse files
committed
update windows build
1 parent f2b91a7 commit 0b7bfec

File tree

4 files changed

+4
-13
lines changed

4 files changed

+4
-13
lines changed

.github/workflows/hello.yml

Lines changed: 0 additions & 8 deletions
This file was deleted.

scripts/build_appveyor.bat

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
21
@echo off
32
@SETLOCAL
43
SET BASEDIR=%cd%
5-
64
SET CONDA_BIN=%2
75

8-
call %CONDA_BIN% create -y -n symdiff_build python=3.7
6+
c:\msys64\usr\bin\pacman -Su --noconfirm rsync zip bison flex git
7+
8+
call %CONDA_BIN% create -y -n symdiff_build python=3
99
if %errorlevel% neq 0 exit /b %errorlevel%
1010

1111
call %CONDA_BIN% install -y -n symdiff_build cmake tk

scripts/setup_appveyor.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ chmod +x bin/symdiff_tcl.bat
6565

6666
(cd ${BUILDDIR} && ${CTEST} --verbose)
6767

68-
pacman -Su --noconfirm rsync
6968
(rsync -avP --exclude __pycache__ lib/symdiff bdist_wheel/)
7069
(rsync -avP --exclude __pycache__ LICENSE NOTICE README.md examples doc bdist_wheel)
7170
pip install --upgrade wheel

src/pycomp/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ TARGET_LINK_LIBRARIES (symdiff_py3 ${PYTHON3_ARCHIVE})
4141
ELSE(WIN32)
4242
# macOS and Linux do not need to dynamically link against python
4343
ENDIF(WIN32)
44-
target_compile_definitions(symdiff_py3 PRIVATE -DPy_LIMITED_API=0x03030000)
44+
target_compile_definitions(symdiff_py3 PRIVATE -DPy_LIMITED_API=0x03090000)
4545
#TARGET_LINK_LIBRARIES (symdiff_py3 symdiff ${PYTHON3_ARCHIVE})
4646
ENDIF (PYTHON3)
4747

0 commit comments

Comments
 (0)