Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Boost] use cmake build #32309

Merged
merged 78 commits into from
Apr 29, 2024
Merged
Show file tree
Hide file tree
Changes from 12 commits
Commits
Show all changes
78 commits
Select commit Hold shift + click to select a range
b55f597
initial port
Neumann-A Jun 28, 2023
a0c9114
[boost] WIP: Use CMake buildsystem
Neumann-A Jun 29, 2023
29475f8
adjust all boost ports.
Neumann-A Jun 30, 2023
892cebb
fix some artifacts
Neumann-A Jun 30, 2023
967c4a1
more fixes
Neumann-A Jun 30, 2023
38d36b9
Remove message
Neumann-A Jun 30, 2023
ecbb5e5
remove debug/share
Neumann-A Jun 30, 2023
15445cd
remove /debug
Neumann-A Jul 1, 2023
eccbcba
more debug/ removal for header ports
Neumann-A Jul 1, 2023
f8caff8
more header only adjustments
Neumann-A Jul 1, 2023
30e11d7
more details to fix
Neumann-A Jul 1, 2023
3363b74
fix detaiils
Neumann-A Jul 1, 2023
3b69ad0
replace _ with - in MPI port check
Neumann-A Jul 3, 2023
fb216d5
compat patches
Neumann-A Jul 4, 2023
dbd429d
fix patches
Neumann-A Jul 4, 2023
497b79f
Adjust a few boost ports
Neumann-A Jul 5, 2023
daae239
revert boost-context, needs a different fix
Neumann-A Jul 5, 2023
63a9e12
reinstall boost wrapper due to vcpkg.cmake
Neumann-A Jul 5, 2023
0948256
fix zstd in boost-iostreams
Neumann-A Jul 5, 2023
37b5110
lets see where it fails
Neumann-A Jul 5, 2023
e8e1074
fix deep recursive find_dependendcy
Neumann-A Jul 5, 2023
4080909
fix static zstd lookup
Neumann-A Jul 6, 2023
0ed2f32
boost-asio remove ssl feature
Neumann-A Mar 8, 2024
2cb4952
boost-headers remove debug dir
Neumann-A Mar 8, 2024
cb5de7c
update boost
Neumann-A Mar 8, 2024
bbe5e7b
Merge remote-tracking branch 'upstream/master' into boost-cmake-build
Neumann-A Mar 8, 2024
adbdbd7
remove wrong deps
Neumann-A Mar 8, 2024
d64afdf
Fix a bit of the build
Neumann-A Mar 8, 2024
e16543d
adjust header ports
Neumann-A Mar 8, 2024
0ab458d
reapply existing patches/diffs
Neumann-A Mar 9, 2024
bb2d32b
adjust deps and fix stracktrace
Neumann-A Mar 9, 2024
e817f1a
commit todo
Neumann-A Mar 9, 2024
6e71338
fix static iostream builds
Neumann-A Mar 9, 2024
a120e1e
readd features.cmake in stacktrace which was accidently removed
Neumann-A Mar 9, 2024
de125c8
remove lib prefix in static windows builds
Neumann-A Mar 9, 2024
639b023
more fixes
Neumann-A Mar 9, 2024
2ffc83d
remove platform expression which seems certainly wrong
Neumann-A Mar 9, 2024
5b30e73
refix zstd dep
Neumann-A Mar 9, 2024
7b655f1
adjust compile options in boost-math for osx
Neumann-A Mar 9, 2024
d60e0ba
fix more deps.
Neumann-A Mar 9, 2024
87ce50a
remove platform expr
Neumann-A Mar 9, 2024
3bb5317
add missing _ in the python wrapper
Neumann-A Mar 10, 2024
d5b065d
Add optional boost deps.
Neumann-A Mar 10, 2024
a9010ee
fix genex
Neumann-A Mar 10, 2024
9a8d2d2
fix typo
Neumann-A Mar 10, 2024
3b49277
adjust more boost deps
Neumann-A Mar 10, 2024
ceada0e
fix osg asio usage?
Neumann-A Mar 10, 2024
30e7f09
more boost deps adjustments
Neumann-A Mar 10, 2024
8f0801e
fix target
Neumann-A Mar 10, 2024
8fe266c
Fix remaining arm issues
Neumann-A Mar 11, 2024
7bfb03b
remove unused post-source-stubs
Neumann-A Mar 11, 2024
556aca6
update generate and update portfiles
Neumann-A Mar 25, 2024
fe2c3ef
Merge remote-tracking branch 'upstream/master' into boost-cmake-build
Neumann-A Mar 25, 2024
4f3dfdb
revert CI baseline for arm
Neumann-A Mar 26, 2024
e0cdb63
remove todo
Neumann-A Mar 26, 2024
a44962c
add usage in boost-cmake and update generate
Neumann-A Mar 26, 2024
1b371f1
adjust generate script
Neumann-A Mar 26, 2024
ea09131
Install port specific usage.
Neumann-A Mar 26, 2024
5f6a4e3
add stub script
Neumann-A Mar 26, 2024
bd8730e
bump port version
Neumann-A Mar 26, 2024
de784c7
v db
Neumann-A Mar 26, 2024
8c13d08
adjust boost-coroutine2
Neumann-A Mar 26, 2024
291bfc0
v db
Neumann-A Mar 26, 2024
b2eed36
Merge remote-tracking branch 'upstream/master' into boost-cmake-build
Neumann-A Apr 11, 2024
a240697
cleanup
Neumann-A Apr 11, 2024
91c93af
v db
Neumann-A Apr 11, 2024
29ab810
Merge remote-tracking branch 'upstream/master' into boost-cmake-build
Neumann-A Apr 20, 2024
e70b2b8
improve arch calculation
Neumann-A Apr 20, 2024
d8c7ba3
v db
Neumann-A Apr 20, 2024
23bff7b
reword comment
Neumann-A Apr 25, 2024
d031b94
remove dead code and comment
Neumann-A Apr 25, 2024
f62b59d
remove extra \
Neumann-A Apr 25, 2024
a08a2fd
add vcpkg-boost
Neumann-A Apr 25, 2024
6484991
v db
Neumann-A Apr 25, 2024
55cc98f
adjust wrapper since it cannot be removed
Neumann-A Apr 25, 2024
95cafcf
v db
Neumann-A Apr 25, 2024
3c18789
Merge branch 'master' of https://github.com/microsoft/vcpkg into boos…
Cheney-W Apr 28, 2024
c60f0e7
Merge remote-tracking branch 'upstream/master' into boost-cmake-build
Neumann-A Apr 29, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
7 changes: 5 additions & 2 deletions ports/boost-accumulators/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,8 @@ vcpkg_from_github(
HEAD_REF master
)

include(${CURRENT_INSTALLED_DIR}/share/boost-vcpkg-helpers/boost-modular-headers.cmake)
boost_modular_headers(SOURCE_PATH ${SOURCE_PATH})
set(FEATURE_OPTIONS "")
boost_configure_and_install(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS ${FEATURE_OPTIONS}
)
12 changes: 8 additions & 4 deletions ports/boost-accumulators/vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
"name": "boost-circular-buffer",
"version>=": "1.82.0"
},
{
"name": "boost-cmake",
"version>=": "1.82.0"
},
{
"name": "boost-concept-check",
"version>=": "1.82.0"
Expand All @@ -35,6 +39,10 @@
"name": "boost-fusion",
"version>=": "1.82.0"
},
{
"name": "boost-headers",
"version>=": "1.82.0"
},
{
"name": "boost-iterator",
"version>=": "1.82.0"
Expand Down Expand Up @@ -86,10 +94,6 @@
{
"name": "boost-ublas",
"version>=": "1.82.0"
},
{
"name": "boost-vcpkg-helpers",
"version>=": "1.82.0"
}
]
}
7 changes: 5 additions & 2 deletions ports/boost-algorithm/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,8 @@ vcpkg_from_github(
HEAD_REF master
)

include(${CURRENT_INSTALLED_DIR}/share/boost-vcpkg-helpers/boost-modular-headers.cmake)
boost_modular_headers(SOURCE_PATH ${SOURCE_PATH})
set(FEATURE_OPTIONS "")
boost_configure_and_install(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS ${FEATURE_OPTIONS}
)
12 changes: 8 additions & 4 deletions ports/boost-algorithm/vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
"name": "boost-bind",
"version>=": "1.82.0"
},
{
"name": "boost-cmake",
"version>=": "1.82.0"
},
{
"name": "boost-concept-check",
"version>=": "1.82.0"
Expand All @@ -39,6 +43,10 @@
"name": "boost-function",
"version>=": "1.82.0"
},
{
"name": "boost-headers",
"version>=": "1.82.0"
},
{
"name": "boost-iterator",
"version>=": "1.82.0"
Expand Down Expand Up @@ -74,10 +82,6 @@
{
"name": "boost-unordered",
"version>=": "1.82.0"
},
{
"name": "boost-vcpkg-helpers",
"version>=": "1.82.0"
}
]
}
7 changes: 5 additions & 2 deletions ports/boost-align/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,8 @@ vcpkg_from_github(
HEAD_REF master
)

include(${CURRENT_INSTALLED_DIR}/share/boost-vcpkg-helpers/boost-modular-headers.cmake)
boost_modular_headers(SOURCE_PATH ${SOURCE_PATH})
set(FEATURE_OPTIONS "")
boost_configure_and_install(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS ${FEATURE_OPTIONS}
)
8 changes: 6 additions & 2 deletions ports/boost-align/vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
"name": "boost-assert",
"version>=": "1.82.0"
},
{
"name": "boost-cmake",
"version>=": "1.82.0"
},
{
"name": "boost-config",
"version>=": "1.82.0"
Expand All @@ -20,11 +24,11 @@
"version>=": "1.82.0"
},
{
"name": "boost-static-assert",
"name": "boost-headers",
"version>=": "1.82.0"
},
{
"name": "boost-vcpkg-helpers",
"name": "boost-static-assert",
"version>=": "1.82.0"
}
]
Expand Down
7 changes: 5 additions & 2 deletions ports/boost-any/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,8 @@ vcpkg_from_github(
HEAD_REF master
)

include(${CURRENT_INSTALLED_DIR}/share/boost-vcpkg-helpers/boost-modular-headers.cmake)
boost_modular_headers(SOURCE_PATH ${SOURCE_PATH})
set(FEATURE_OPTIONS "")
boost_configure_and_install(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS ${FEATURE_OPTIONS}
)
12 changes: 8 additions & 4 deletions ports/boost-any/vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
"name": "boost-assert",
"version>=": "1.82.0"
},
{
"name": "boost-cmake",
"version>=": "1.82.0"
},
{
"name": "boost-config",
"version>=": "1.82.0"
Expand All @@ -19,6 +23,10 @@
"name": "boost-core",
"version>=": "1.82.0"
},
{
"name": "boost-headers",
"version>=": "1.82.0"
},
{
"name": "boost-static-assert",
"version>=": "1.82.0"
Expand All @@ -34,10 +42,6 @@
{
"name": "boost-type-traits",
"version>=": "1.82.0"
},
{
"name": "boost-vcpkg-helpers",
"version>=": "1.82.0"
}
]
}
7 changes: 5 additions & 2 deletions ports/boost-array/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,8 @@ vcpkg_from_github(
HEAD_REF master
)

include(${CURRENT_INSTALLED_DIR}/share/boost-vcpkg-helpers/boost-modular-headers.cmake)
boost_modular_headers(SOURCE_PATH ${SOURCE_PATH})
set(FEATURE_OPTIONS "")
boost_configure_and_install(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS ${FEATURE_OPTIONS}
)
10 changes: 7 additions & 3 deletions ports/boost-array/vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
"name": "boost-assert",
"version>=": "1.82.0"
},
{
"name": "boost-cmake",
"version>=": "1.82.0"
},
{
"name": "boost-config",
"version>=": "1.82.0"
Expand All @@ -20,15 +24,15 @@
"version>=": "1.82.0"
},
{
"name": "boost-static-assert",
"name": "boost-headers",
"version>=": "1.82.0"
},
{
"name": "boost-throw-exception",
"name": "boost-static-assert",
"version>=": "1.82.0"
},
{
"name": "boost-vcpkg-helpers",
"name": "boost-throw-exception",
"version>=": "1.82.0"
}
]
Expand Down
9 changes: 6 additions & 3 deletions ports/boost-asio/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,12 @@ vcpkg_from_github(
SHA512 d54fd77ca7996da138b10408df1eae28bbcae0c6475467cc19837bf6f6624c38ad7f9e1eec87ceae27f516583b204fdbaeb04daad7cc28e6aeec02ab5f188731
HEAD_REF master
PATCHES
fix_coro_compile_error_msvc.patch
windows_alloca_header.patch
fix_coro_compile_error_msvc.patch #upstream PR: https://github.com/chriskohlhoff/asio/pull/1313
)

include(${CURRENT_INSTALLED_DIR}/share/boost-vcpkg-helpers/boost-modular-headers.cmake)
boost_modular_headers(SOURCE_PATH ${SOURCE_PATH})
set(FEATURE_OPTIONS "")
boost_configure_and_install(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS ${FEATURE_OPTIONS}
)
14 changes: 9 additions & 5 deletions ports/boost-asio/vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$comment": "Automatically generated by scripts/boost/generate-ports.ps1",
"name": "boost-asio",
"version": "1.82.0",
"port-version": 3,
"port-version": 2,
"description": "Boost asio module",
"homepage": "https://github.com/boostorg/asio",
"license": "BSL-1.0",
Expand All @@ -27,6 +27,10 @@
"name": "boost-chrono",
"version>=": "1.82.0"
},
{
"name": "boost-cmake",
"version>=": "1.82.0"
},
{
"name": "boost-config",
"version>=": "1.82.0"
Expand Down Expand Up @@ -57,6 +61,10 @@
"name": "boost-function",
"version>=": "1.82.0"
},
{
"name": "boost-headers",
"version>=": "1.82.0"
},
{
"name": "boost-regex",
"version>=": "1.82.0"
Expand All @@ -80,10 +88,6 @@
{
"name": "boost-utility",
"version>=": "1.82.0"
},
{
"name": "boost-vcpkg-helpers",
"version>=": "1.82.0"
}
],
"features": {
Expand Down
7 changes: 5 additions & 2 deletions ports/boost-assert/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,8 @@ vcpkg_from_github(
HEAD_REF master
)

include(${CURRENT_INSTALLED_DIR}/share/boost-vcpkg-helpers/boost-modular-headers.cmake)
boost_modular_headers(SOURCE_PATH ${SOURCE_PATH})
set(FEATURE_OPTIONS "")
boost_configure_and_install(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS ${FEATURE_OPTIONS}
)
6 changes: 5 additions & 1 deletion ports/boost-assert/vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,16 @@
"homepage": "https://github.com/boostorg/assert",
"license": "BSL-1.0",
"dependencies": [
{
"name": "boost-cmake",
"version>=": "1.82.0"
},
{
"name": "boost-config",
"version>=": "1.82.0"
},
{
"name": "boost-vcpkg-helpers",
"name": "boost-headers",
"version>=": "1.82.0"
}
]
Expand Down
7 changes: 5 additions & 2 deletions ports/boost-assign/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,8 @@ vcpkg_from_github(
HEAD_REF master
)

include(${CURRENT_INSTALLED_DIR}/share/boost-vcpkg-helpers/boost-modular-headers.cmake)
boost_modular_headers(SOURCE_PATH ${SOURCE_PATH})
set(FEATURE_OPTIONS "")
boost_configure_and_install(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS ${FEATURE_OPTIONS}
)
12 changes: 8 additions & 4 deletions ports/boost-assign/vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
"name": "boost-array",
"version>=": "1.82.0"
},
{
"name": "boost-cmake",
"version>=": "1.82.0"
},
{
"name": "boost-config",
"version>=": "1.82.0"
Expand All @@ -19,6 +23,10 @@
"name": "boost-core",
"version>=": "1.82.0"
},
{
"name": "boost-headers",
"version>=": "1.82.0"
},
{
"name": "boost-move",
"version>=": "1.82.0"
Expand Down Expand Up @@ -50,10 +58,6 @@
{
"name": "boost-type-traits",
"version>=": "1.82.0"
},
{
"name": "boost-vcpkg-helpers",
"version>=": "1.82.0"
}
]
}
14 changes: 4 additions & 10 deletions ports/boost-atomic/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,8 @@ vcpkg_from_github(
HEAD_REF master
)

vcpkg_replace_string("${SOURCE_PATH}/build/Jamfile.v2"
"project.load [ path.join [ path.make $(here:D) ] ../../config/checks/architecture ]"
"project.load [ path.join [ path.make $(here:D) ] ../config/checks/architecture ]"
set(FEATURE_OPTIONS "")
boost_configure_and_install(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS ${FEATURE_OPTIONS}
)
file(COPY "${CURRENT_INSTALLED_DIR}/share/boost-config/checks" DESTINATION "${SOURCE_PATH}/config")
#Make sure to keep this line when updating boost.
file(INSTALL "${SOURCE_PATH}/config/has_synchronization_lib.cpp" DESTINATION "${CURRENT_PACKAGES_DIR}/share/boost-atomic")
include(${CURRENT_HOST_INSTALLED_DIR}/share/boost-build/boost-modular-build.cmake)
boost_modular_build(SOURCE_PATH ${SOURCE_PATH})
include(${CURRENT_INSTALLED_DIR}/share/boost-vcpkg-helpers/boost-modular-headers.cmake)
boost_modular_headers(SOURCE_PATH ${SOURCE_PATH})
14 changes: 2 additions & 12 deletions ports/boost-atomic/vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,15 @@
"version>=": "1.82.0"
},
{
"name": "boost-build",
"host": true,
"name": "boost-cmake",
"version>=": "1.82.0"
},
{
"name": "boost-config",
"version>=": "1.82.0"
},
{
"name": "boost-modular-build-helper",
"host": true,
"name": "boost-headers",
"version>=": "1.82.0"
},
{
Expand All @@ -45,17 +43,9 @@
"name": "boost-type-traits",
"version>=": "1.82.0"
},
{
"name": "boost-vcpkg-helpers",
"version>=": "1.82.0"
},
{
"name": "boost-winapi",
"version>=": "1.82.0"
},
{
"name": "vcpkg-cmake",
"host": true
}
]
}
Loading