Skip to content

Commit f6a5d4e

Browse files
authored
Patch Tuesday June 2023 + Ubuntu 22.04 (#32014)
1 parent 223b8d5 commit f6a5d4e

File tree

9 files changed

+40
-41
lines changed

9 files changed

+40
-41
lines changed

ports/bond/portfile.cmake

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ vcpkg_from_github(
66
REF "${VERSION}"
77
SHA512 a5475d3f988928fc3d03b69fc34b33ada35bd790138a0f4a733642558c72945e79c5dcde88b656cbc1cafbc3cb2dd4ba28031e09e507d730056876148ef65014
88
HEAD_REF master
9-
PATCHES fix-install-path.patch skip-grpc-compilation.patch
9+
PATCHES
10+
fix-install-path.patch
11+
skip-grpc-compilation.patch
1012
)
1113

1214
if (VCPKG_TARGET_IS_WINDOWS)
@@ -31,22 +33,22 @@ else()
3133
# The build needs a version of the Haskel Tool stack that is newer than some distros ship with.
3234
# For this reason the message is not guarded by checking to see if the tool is installed.
3335
message("\nA recent version of Haskell Tool Stack is required to build.\n For information on how to install see https://docs.haskellstack.org/en/stable/README/\n")
34-
3536
endif()
3637

3738
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
3839
FEATURES
3940
bond-over-grpc BOND_ENABLE_GRPC
4041
)
4142

43+
set(ENV{STACK_ROOT} "${CURRENT_BUILDTREES_DIR}/stack")
44+
4245
vcpkg_cmake_configure(
4346
SOURCE_PATH "${SOURCE_PATH}"
4447
DISABLE_PARALLEL_CONFIGURE
4548
OPTIONS
4649
-DBOND_LIBRARIES_ONLY=TRUE
4750
-DBOND_GBC_PATH=${FETCHED_GBC_PATH}
4851
-DBOND_SKIP_GBC_TESTS=TRUE
49-
-DBOND_ENABLE_COMM=FALSE
5052
-DBOND_FIND_RAPIDJSON=TRUE
5153
-DBOND_STACK_OPTIONS=--allow-different-user
5254
${FEATURE_OPTIONS}

ports/bond/vcpkg.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "bond",
33
"version": "10.0.0",
4+
"port-version": 1,
45
"description": "Bond is a cross-platform framework for working with schematized data. It supports cross-language de/serialization and powerful generic mechanisms for efficiently manipulating data. Bond is broadly used at Microsoft in high scale services.",
56
"homepage": "https://github.com/Microsoft/bond",
67
"dependencies": [

scripts/azure-pipelines/azure-pipelines.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
# SPDX-License-Identifier: MIT
33
#
44
variables:
5-
android-pool: 'PrAnd-2023-05-09'
6-
linux-pool: 'PrLin-2023-05-09'
7-
windows-pool: 'PrWin-2023-05-09'
5+
android-pool: 'PrAnd-2023-06-14'
6+
linux-pool: 'PrLin-2023-06-14'
7+
windows-pool: 'PrWin-2023-06-14'
88
osx-pool: 'PrOsx-2022-02-04'
99
linux-docker-image: 'andcontainerregistry.azurecr.io/vcpkg-android:2023-04-20'
1010

@@ -112,4 +112,4 @@ jobs:
112112
poolName: $(android-pool)
113113
dockerImage: $(linux-docker-image)
114114
vcpkgToolSha: ${{ parameters.vcpkgToolSha }}
115-
tripletPattern: ${{ parameters.tripletPattern }}
115+
tripletPattern: ${{ parameters.tripletPattern }}

scripts/azure-pipelines/linux/create-image.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@ $VM = Add-AzVMNetworkInterface -VM $VM -Id $Nic.Id
9595
$VM = Set-AzVMSourceImage `
9696
-VM $VM `
9797
-PublisherName 'Canonical' `
98-
-Offer '0001-com-ubuntu-server-focal' `
99-
-Skus '20_04-lts' `
98+
-Offer '0001-com-ubuntu-server-jammy' `
99+
-Skus '22_04-lts' `
100100
-Version latest
101101

102102
$VM = Set-AzVMBootDiagnostic -VM $VM -Disable

scripts/azure-pipelines/linux/provision-image.sh

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,13 @@ export DEBIAN_FRONTEND=noninteractive
88
# Add apt repos
99

1010
## CUDA
11-
apt-key del 7fa2af80
12-
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/cuda-ubuntu2004.pin
13-
mv cuda-ubuntu2004.pin /etc/apt/preferences.d/cuda-repository-pin-600
14-
apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/3bf863cc.pub
15-
add-apt-repository "deb https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/ /"
11+
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-ubuntu2204.pin
12+
mv cuda-ubuntu2204.pin /etc/apt/preferences.d/cuda-repository-pin-600
13+
apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/3bf863cc.pub
14+
add-apt-repository "deb https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/ /"
1615

1716
## PowerShell
18-
wget -q https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb
17+
wget -q https://packages.microsoft.com/config/ubuntu/22.04/packages-microsoft-prod.deb
1918
dpkg -i packages-microsoft-prod.deb
2019
rm -f packages-microsoft-prod.deb
2120
add-apt-repository universe
@@ -72,7 +71,7 @@ APT_PACKAGES="$APT_PACKAGES nodejs"
7271
APT_PACKAGES="$APT_PACKAGES libwayland-dev"
7372

7473
## required by all GN projects
75-
APT_PACKAGES="$APT_PACKAGES python2 python-is-python3"
74+
APT_PACKAGES="$APT_PACKAGES python-is-python3"
7675

7776
## required by libctl
7877
APT_PACKAGES="$APT_PACKAGES guile-2.2-dev"
@@ -89,9 +88,6 @@ APT_PACKAGES="$APT_PACKAGES libxtst-dev"
8988
## required by bond
9089
APT_PACKAGES="$APT_PACKAGES haskell-stack"
9190

92-
## required by duktape
93-
APT_PACKAGES="$APT_PACKAGES python-yaml"
94-
9591
## CUDA
9692
APT_PACKAGES="$APT_PACKAGES cuda-compiler-12-1 cuda-libraries-dev-12-1 cuda-driver-dev-12-1 \
9793
cuda-cudart-dev-12-1 libcublas-12-1 libcurand-dev-12-1 cuda-nvml-dev-12-1 libcudnn8-dev libnccl2 \
@@ -104,7 +100,7 @@ APT_PACKAGES="$APT_PACKAGES powershell"
104100
if [[ $(grep microsoft /proc/version) ]]; then
105101
echo "Skipping install of ADO prerequisites on WSL."
106102
else
107-
APT_PACKAGES="$APT_PACKAGES libkrb5-3 zlib1g libicu66"
103+
APT_PACKAGES="$APT_PACKAGES libkrb5-3 zlib1g libicu70 debsums liblttng-ust1"
108104
fi
109105

110106
apt-get -y --no-install-recommends install $APT_PACKAGES

scripts/ci.baseline.txt

Lines changed: 12 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -84,12 +84,17 @@ blitz:x64-android=fail
8484
blitz:x64-uwp=fail
8585
blitz:arm64-windows=fail
8686
blitz:arm-uwp=fail
87+
blitz:x64-linux=fail # python2
8788
boinc:arm-neon-android=fail
8889
boinc:arm64-android=fail
8990
boinc:x64-android=fail
9091
bond:arm-neon-android=fail
92+
bond:arm-uwp=fail
9193
bond:arm64-android=fail
94+
bond:arm64-osx=fail
9295
bond:x64-android=fail
96+
bond:x64-osx=fail
97+
bond:x64-uwp=fail
9398
# Conflicts with openssl
9499
boringssl:arm-neon-android=skip
95100
boringssl:arm64-android=skip
@@ -104,10 +109,6 @@ boringssl:x64-windows=skip
104109
boringssl:x64-windows-static=skip
105110
boringssl:x64-windows-static-md=skip
106111
boringssl:x86-windows=skip
107-
bond:arm-uwp=fail
108-
bond:x64-osx=fail
109-
bond:arm64-osx=fail
110-
bond:x64-uwp=fail
111112
botan:arm-neon-android=fail
112113
botan:arm64-android=fail
113114
botan:x64-android=fail
@@ -240,8 +241,7 @@ cnats:x64-android=fail
240241
coin:arm64-windows=fail
241242
coin:arm-uwp=fail
242243
coin:x64-uwp=fail
243-
# coinutils requires autoconf2.71 not yet available in CI
244-
coinutils:x64-linux=fail
244+
coin-or-ipopt:x64-linux=fail
245245
# there is an ICE in VS2022 with colmap in release mode
246246
colmap:x86-windows=fail
247247
colmap:x64-windows=fail
@@ -256,12 +256,10 @@ concurrencpp:x64-osx=fail
256256
constexpr-contracts:arm-neon-android=fail
257257
constexpr-contracts:arm64-android=fail
258258
constexpr-contracts:x64-android=fail
259-
constexpr-contracts:x64-linux=fail
260259
coroutine:arm-neon-android=fail
261260
coroutine:arm-uwp=fail
262261
coroutine:arm64-android=fail
263262
coroutine:x64-android=fail
264-
coroutine:x64-linux=fail
265263
coroutine:x64-uwp=fail
266264
cpp-ipc:arm-neon-android=fail
267265
cpp-ipc:arm64-android=fail
@@ -289,9 +287,6 @@ cppslippi:x64-osx=fail
289287
cppcoro:x64-linux=fail
290288
cppcoro:arm-uwp=fail
291289
cppcoro:x64-uwp=fail
292-
# The x64-linux pipeline uses gcc 9.3.0, which lacks C++20 coroutine support.
293-
# This is known to work on x64-linux as of gcc 10.3.0.
294-
cppgraphqlgen:x64-linux=fail
295290
cpptoml:arm-neon-android=fail
296291
cpptoml:arm64-android=fail
297292
cpptoml:x64-android=fail
@@ -341,8 +336,6 @@ discord-game-sdk:x64-windows-static=fail
341336
discord-game-sdk:x64-windows-static-md=fail
342337
discord-rpc:arm-uwp=fail
343338
discord-rpc:x64-uwp=fail
344-
# requires g++11
345-
discordcoreapi:x64-linux=fail
346339
discount:x64-android=fail
347340
dlib:arm-uwp=fail
348341
dlib:x64-uwp=fail
@@ -359,6 +352,7 @@ duktape:arm64-android=fail
359352
duktape:x64-android=fail
360353
duktape:x64-osx=skip
361354
duktape:arm64-osx=skip
355+
duktape:x64-linux=fail
362356

363357
eastl:arm-uwp=fail
364358
easyloggingpp:arm-uwp=fail
@@ -633,6 +627,7 @@ jinja2cpplight:x64-android=fail
633627
jinja2cpplight:x64-uwp=fail
634628
json-schema-validator:arm-neon-android=fail
635629
json-schema-validator:arm64-android=fail
630+
keystone:x64-linux=fail # python2
636631
kfr:arm64-windows=fail
637632
kfr:x64-android=fail
638633
kfr:x64-uwp=fail
@@ -772,6 +767,7 @@ libmysql:arm64-android=fail
772767
libmysql:x64-android=fail
773768
libmysql:x86-windows=fail
774769
libmysql:arm64-windows=fail
770+
libodb:x64-linux=fail # dynamic exception specifications
775771
libopensp:arm-neon-android=fail
776772
libopensp:arm64-android=fail
777773
libopensp:x64-android=fail
@@ -895,6 +891,7 @@ llvm:arm64-android=fail
895891
llvm:x64-android=fail
896892
log4cplus:arm-uwp=fail
897893
log4cplus:x64-uwp=fail
894+
log4cpp:x64-linux=fail # dynamic exception specifications
898895
log4cxx:arm-uwp=fail
899896
log4cxx:x64-uwp=fail
900897
loguru:arm-neon-android=fail
@@ -1148,6 +1145,7 @@ openmesh:x64-uwp=fail
11481145
openmpi:arm-neon-android=fail
11491146
openmpi:arm64-android=fail
11501147
openmpi:x64-android=fail
1148+
openmvg:x64-linux=fail
11511149
openscap:arm-neon-android=fail
11521150
openscap:arm64-android=fail
11531151
openscap:x64-android=fail
@@ -1365,13 +1363,9 @@ rsasynccpp:arm64-windows=fail
13651363
rsasynccpp:arm-uwp=fail
13661364
rsasynccpp:x64-linux=fail
13671365
rsasynccpp:x64-osx=fail
1368-
# Requires g++10 but CI compiler only has g++9
1369-
rsm-binary-io:x64-linux=fail
13701366
rsm-bsa:arm-neon-android=fail
13711367
rsm-bsa:arm64-android=fail
13721368
rsm-bsa:x64-android=fail
1373-
# Requires g++10 but CI compiler only has g++9
1374-
rsm-bsa:x64-linux=fail
13751369
rtlsdr:x64-uwp=fail
13761370
rtlsdr:arm64-windows=fail
13771371
rtlsdr:arm-uwp=fail
@@ -1689,6 +1683,7 @@ wpilib:arm64-android=fail
16891683
wpilib:arm64-windows=fail
16901684
wpilib:x64-android=fail
16911685
wpilib:x64-osx=fail
1686+
wpilib:x64-linux=fail
16921687
wincrypt:arm64-windows=skip # https://github.com/microsoft/vcpkg-tool/pull/599
16931688
x264:arm-neon-android=fail
16941689
x264:arm64-android=fail

scripts/test_ports/vcpkg-find-acquire-program/portfile.cmake

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ set(VCPKG_POLICY_EMPTY_PACKAGE enabled)
33
# For each vcpkg_find_acquire_program(NAME).cmake script,
44
# there must be a literal call to vcpkg_find_acquire_program(NAME).cmake
55

6-
set(variables BAZEL BISON FLEX GIT GN NINJA PERL PKGCONFIG PYTHON2 PYTHON3 YASM)
6+
set(variables BAZEL BISON FLEX GIT GN NINJA PERL PKGCONFIG PYTHON3 YASM)
77
vcpkg_find_acquire_program(BAZEL)
88
vcpkg_find_acquire_program(BISON)
99
vcpkg_find_acquire_program(FLEX)
@@ -12,7 +12,6 @@ vcpkg_find_acquire_program(GN)
1212
vcpkg_find_acquire_program(NINJA)
1313
vcpkg_find_acquire_program(PERL)
1414
vcpkg_find_acquire_program(PKGCONFIG)
15-
vcpkg_find_acquire_program(PYTHON2)
1615
vcpkg_find_acquire_program(PYTHON3)
1716
vcpkg_find_acquire_program(YASM)
1817

@@ -28,7 +27,7 @@ if(VCPKG_HOST_IS_LINUX)
2827
endif()
2928

3029
if(VCPKG_HOST_IS_WINDOWS)
31-
list(APPEND variables 7Z ARIA2 CLANG DARK DOXYGEN GASPREPROCESSOR GO GPERF JOM NASM NUGET RUBY SCONS SWIG)
30+
list(APPEND variables 7Z ARIA2 CLANG DARK DOXYGEN GASPREPROCESSOR GO GPERF JOM NASM NUGET PYTHON2 RUBY SCONS SWIG)
3231
vcpkg_find_acquire_program(7Z)
3332
vcpkg_find_acquire_program(ARIA2)
3433
vcpkg_find_acquire_program(CLANG)
@@ -40,6 +39,7 @@ if(VCPKG_HOST_IS_WINDOWS)
4039
vcpkg_find_acquire_program(JOM)
4140
vcpkg_find_acquire_program(NASM)
4241
vcpkg_find_acquire_program(NUGET)
42+
vcpkg_find_acquire_program(PYTHON2)
4343
vcpkg_find_acquire_program(RUBY)
4444
vcpkg_find_acquire_program(SCONS)
4545
vcpkg_find_acquire_program(SWIG)

versions/b-/bond.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
{
22
"versions": [
3+
{
4+
"git-tree": "5d9b960403809575097267ac43d1ce18e9b2a7f2",
5+
"version": "10.0.0",
6+
"port-version": 1
7+
},
38
{
49
"git-tree": "5ce8875d8de21ca31d61b521c2e84a974e325436",
510
"version": "10.0.0",

versions/baseline.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,7 @@
622622
},
623623
"bond": {
624624
"baseline": "10.0.0",
625-
"port-version": 0
625+
"port-version": 1
626626
},
627627
"boolinq": {
628628
"baseline": "3.0.4",

0 commit comments

Comments
 (0)