@@ -7,16 +7,41 @@ build-backend = "setuptools.build_meta"
7
7
test-requires = [" pytest" , " numpy" , " apsw>=3.46" ]
8
8
# --import-mode=importlib forces pytest to use installed packages instead of the local source code
9
9
test-command = " pytest --import-mode=importlib {project}/bindings/python/vectorlite_py/test"
10
- skip = [" *-win32" , " *-win_arm64" , " *-manylinux_i686" , " *musllinux*" , " pp*" , " cp36*" , " cp37*" , " cp38*" , " cp39*" ]
10
+ skip = [
11
+ " *-win32" ,
12
+ " *-win_arm64" ,
13
+ " *-manylinux_i686" ,
14
+ " *musllinux*" ,
15
+ " pp*" ,
16
+ " cp36*" ,
17
+ " cp37*" ,
18
+ " cp38*" ,
19
+ " cp39*" ,
20
+ ]
11
21
12
22
[tool .cibuildwheel .macos ]
13
- environment = {MACOSX_DEPLOYMENT_TARGET = " 10.15" } # 10.15 is the minimum version that fully supports c++17
23
+ environment = { MACOSX_DEPLOYMENT_TARGET = " 10.15" } # 10.15 is the minimum version that fully supports c++17
14
24
15
25
# todo: support musllinux
16
26
[tool .cibuildwheel .linux ]
17
27
before-build = " yum install -y ninja-build"
18
28
19
29
[[tool .cibuildwheel .overrides ]]
20
30
select = " *manylinux_aarch64*"
31
+ environment = { VCPKG_FORCE_SYSTEM_BINARIES = " 1" }
21
32
# ninja-build is not installable via yum on aarch64
22
- before-build = " yum install -y curl zip unzip tar; python bootstrap_vcpkg.py"
33
+ # before-build = [
34
+ # "yum install -y wget curl zip unzip tar",
35
+ # "wget https://github.com/ninja-build/ninja/releases/download/v1.12.1/ninja-linux-aarch64.zip",
36
+ # "unzip -q ninja-linux-aarch64.zip",
37
+ # "mv ninja /usr/bin/ninja",
38
+ # "python bootstrap_vcpkg.py"]
39
+
40
+ before-build = [
41
+ " yum update" ,
42
+ " yum install -y curl zip unzip tar" ,
43
+ " git clone https://github.com/ninja-build/ninja.git" ,
44
+ " cd ninja && python3 configure.py --bootstrap" ,
45
+ " mv ninja /usr/bin/ && cd .. && rm -rf ninja" ,
46
+ " python bootstrap_vcpkg.py" ,
47
+ ]
0 commit comments