Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions cmake/vcpkg/bootstrap/vcpkg_bootstrap.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,13 @@ function(_vcpkg_tool_bootstrap vcpkg_root)
string(REPLACE [[elif [ "$ARCH" = "x86_64" ]; then]]
[[elif [ "$ARCH" = "" ]; then]] file_contents
"${file_contents}")
message(STATUS "replace vcpkg sources")
string(
REPLACE
[[(cd "$buildDir" && cmake --build .) || exit 1]]
[[(sed -i 's/InternalFeatureSet separate_features{{FeatureNameCore.to_string(), feature->name}};/InternalFeatureSet separate_features{{FeatureNameCore.to_string()}}; separate_features.push_back(feature->name);/' $srcDir/src/vcpkg/commands.test-features.cpp && cd "$buildDir" && cmake --build .) || exit 1]]
file_contents
"${file_contents}")
file(WRITE "${bootstrap_impl}" "${file_contents}")

execute_process(
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,9 @@ before-build = [
]

[[tool.cibuildwheel.overrides]]
select = "*linux_{aarch64,armv7l,ppc64le,s390x}"
select = "*linux_{aarch64,armv7l,ppc64le,s390x,x86_64,i686}"
environment = { VCPKG_FORCE_SYSTEM_BINARIES = "1" }
inherit.environment = "append"

[tool.pytest.ini_options]
minversion = "6.0"
Expand Down
7 changes: 7 additions & 0 deletions template/cmake/vcpkg/bootstrap/vcpkg_bootstrap.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,13 @@ function(_vcpkg_tool_bootstrap vcpkg_root)
string(REPLACE [[elif [ "$ARCH" = "x86_64" ]; then]]
[[elif [ "$ARCH" = "" ]; then]] file_contents
"${file_contents}")
message(STATUS "replace vcpkg sources")
string(
REPLACE
[[(cd "$buildDir" && cmake --build .) || exit 1]]
[[(sed -i 's/InternalFeatureSet separate_features{{FeatureNameCore.to_string(), feature->name}};/InternalFeatureSet separate_features{{FeatureNameCore.to_string()}}; separate_features.push_back(feature->name);/' $srcDir/src/vcpkg/commands.test-features.cpp && cd "$buildDir" && cmake --build .) || exit 1]]
file_contents
"${file_contents}")
file(WRITE "${bootstrap_impl}" "${file_contents}")

execute_process(
Expand Down
3 changes: 2 additions & 1 deletion template/pyproject.toml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,9 @@ before-build = [
]

[[tool.cibuildwheel.overrides]]
select = "*linux_{aarch64,armv7l,ppc64le,s390x}"
select = "*linux_{aarch64,armv7l,ppc64le,s390x,x86_64,i686}"
environment = { VCPKG_FORCE_SYSTEM_BINARIES = "1" }
inherit.environment = "append"

[tool.pytest.ini_options]
minversion = "6.0"
Expand Down
2 changes: 1 addition & 1 deletion template/vcpkg.json.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json",
"name": "{{ ss_cmake_repo_name }}",
"description": "{{ ss_cmake_project_description }}",
"builtin-baseline": "65be7019941e1401e02daaba0738cab2c8a4a355",
"builtin-baseline": "ef7dbf94b9198bc58f45951adcf1f041fcbc5ea0",
"homepage": "https://{{ ss_cmake_repo_url }}",
"dependencies": [
[%- if compiled == true %]
Expand Down
2 changes: 1 addition & 1 deletion vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json",
"name": "ss-pybind11",
"description": "A template of serious scaffold family based on pybind11.",
"builtin-baseline": "65be7019941e1401e02daaba0738cab2c8a4a355",
"builtin-baseline": "ef7dbf94b9198bc58f45951adcf1f041fcbc5ea0",
"homepage": "https://github.com/serious-scaffold/ss-pybind11",
"dependencies": [
"pybind11",
Expand Down
Loading