Skip to content

Commit

Permalink
[boost-context] fix build result on apple arm (#16482)
Browse files Browse the repository at this point in the history
* [boost] fix boost context build on apple arm

* add version files
  • Loading branch information
autoantwort authored Mar 10, 2021
1 parent ce17802 commit 2457130
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 2 deletions.
7 changes: 7 additions & 0 deletions ports/boost-context/b2-options.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,10 @@ if(@VCPKG_TARGET_IS_WINDOWS@)
binary-format=pe
)
endif()

if(@VCPKG_TARGET_IS_OSX@)
list(APPEND B2_OPTIONS
abi=sysv
binary-format=mach-o
)
endif()
2 changes: 1 addition & 1 deletion ports/boost-context/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "boost-context",
"version-string": "1.75.0",
"port-version": 1,
"port-version": 2,
"description": "Boost context module",
"homepage": "https://github.com/boostorg/context",
"supports": "!uwp & !emscripten",
Expand Down
5 changes: 5 additions & 0 deletions versions/b-/boost-context.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "fbf3476b81167645a5f053adfdb7f2bf9a4f4c44",
"version-string": "1.75.0",
"port-version": 2
},
{
"git-tree": "7f3c7f2174e6d43195a6468272d27bf68b12b56b",
"version-string": "1.75.0",
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@
},
"boost-context": {
"baseline": "1.75.0",
"port-version": 1
"port-version": 2
},
"boost-contract": {
"baseline": "1.75.0",
Expand Down

0 comments on commit 2457130

Please sign in to comment.