Skip to content

Commit

Permalink
Bug 1832467 - Switch builds to VS 2019. r=firefox-build-system-review…
Browse files Browse the repository at this point in the history
…ers,andi

While here, we switch to using an alias to make such changes easier in
the future. This will also ensure that CI builds and bootstrap use the
same one.

Differential Revision: https://phabricator.services.mozilla.com/D177717
  • Loading branch information
glandium committed May 11, 2023
1 parent 01e5cb5 commit c179c1f
Show file tree
Hide file tree
Showing 13 changed files with 55 additions and 54 deletions.
2 changes: 1 addition & 1 deletion build/win32/mozconfig.vs-latest
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
. $topsrcdir/build/win32/mozconfig.vs2017
. $topsrcdir/build/win32/mozconfig.vs2019
. "$topsrcdir/build/mozconfig.clang-cl"
. "$topsrcdir/build/mozconfig.lld-link"
4 changes: 2 additions & 2 deletions build/win32/mozconfig.vs2017 → build/win32/mozconfig.vs2019
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ if [ -z "${VSPATH}" ]; then
fi

if [ -d "${VSPATH}" ]; then
export WIN32_REDIST_DIR="${VSPATH}/VC/Redist/MSVC/14.16.27012/x86/Microsoft.VC141.CRT"
export WIN_UCRT_REDIST_DIR="${VSPATH}/Windows Kits/10/Redist/ucrt/DLLs/x86"
export WIN32_REDIST_DIR="${VSPATH}/VC/Redist/MSVC/14.29.30133/x86/Microsoft.VC142.CRT"
export WIN_UCRT_REDIST_DIR="${VSPATH}/Windows Kits/10/Redist/10.0.19041.0/ucrt/DLLs/x86"
export WINSYSROOT="${VSPATH}"
fi

Expand Down
2 changes: 1 addition & 1 deletion build/win64-aarch64/mozconfig.vs-latest
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
. $topsrcdir/build/win64-aarch64/mozconfig.vs2017
. $topsrcdir/build/win64-aarch64/mozconfig.vs2019
. "$topsrcdir/build/mozconfig.clang-cl"
. "$topsrcdir/build/mozconfig.lld-link"
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ if [ -z "${VSPATH}" ]; then
fi

if [ -d "${VSPATH}" ]; then
export WIN32_REDIST_DIR="${VSPATH}/VC/Redist/MSVC/14.16.27012/arm64/Microsoft.VC141.CRT"
export WIN32_REDIST_DIR="${VSPATH}/VC/Redist/MSVC/14.29.30133/arm64/Microsoft.VC142.CRT"
export WINSYSROOT="${VSPATH}"
fi
2 changes: 1 addition & 1 deletion build/win64/mozconfig.vs-latest
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
. $topsrcdir/build/win64/mozconfig.vs2017
. $topsrcdir/build/win64/mozconfig.vs2019
. "$topsrcdir/build/mozconfig.clang-cl"
. "$topsrcdir/build/mozconfig.lld-link"
4 changes: 2 additions & 2 deletions build/win64/mozconfig.vs2017 → build/win64/mozconfig.vs2019
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ if [ -z "${VSPATH}" ]; then
fi

if [ -d "${VSPATH}" ]; then
export WIN32_REDIST_DIR=${VSPATH}/VC/Redist/MSVC/14.16.27012/x64/Microsoft.VC141.CRT
export WIN_UCRT_REDIST_DIR="${VSPATH}/Windows Kits/10/Redist/ucrt/DLLs/x64"
export WIN32_REDIST_DIR=${VSPATH}/VC/Redist/MSVC/14.29.30133/x64/Microsoft.VC142.CRT
export WIN_UCRT_REDIST_DIR="${VSPATH}/Windows Kits/10/Redist/10.0.19041.0/ucrt/DLLs/x64"
export WINSYSROOT="${VSPATH}"
fi
64 changes: 32 additions & 32 deletions taskcluster/ci/build/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ win32/debug:
- nsis
- sysroot-x86_64-linux-gnu
- sysroot-wasm32-wasi
- win64-vs2017
- vs
fetch:
- upx-3.95-win

Expand Down Expand Up @@ -100,7 +100,7 @@ win32/opt:
- nsis
- sysroot-x86_64-linux-gnu
- sysroot-wasm32-wasi
- win64-vs2017
- vs
fetch:
- upx-3.95-win

Expand Down Expand Up @@ -150,7 +150,7 @@ win32-fuzzing/debug:
- nsis
- sysroot-x86_64-linux-gnu
- sysroot-wasm32-wasi
- win64-vs2017
- vs
fetch:
- upx-3.95-win
optimization:
Expand Down Expand Up @@ -201,7 +201,7 @@ win64/debug:
- nsis
- sysroot-x86_64-linux-gnu
- sysroot-wasm32-wasi
- win64-vs2017
- vs
fetch:
- upx-3.95-win

Expand Down Expand Up @@ -247,7 +247,7 @@ win64-non-unified/plain:
- nsis
- sysroot-x86_64-linux-gnu
- sysroot-wasm32-wasi
- win64-vs2017
- vs
fetch:
- upx-3.95-win

Expand Down Expand Up @@ -296,7 +296,7 @@ win64-fuzzing/debug:
- nsis
- sysroot-x86_64-linux-gnu
- sysroot-wasm32-wasi
- win64-vs2017
- vs
fetch:
- upx-3.95-win
optimization:
Expand Down Expand Up @@ -339,7 +339,7 @@ win64-plain/debug:
- win64-winchecksec
- win64-mozmake
- win64-dump_syms
- win64-vs2017
- vs
- nsis
- sysroot-wasm32-wasi
optimization:
Expand Down Expand Up @@ -390,7 +390,7 @@ win64/opt:
- nsis
- sysroot-x86_64-linux-gnu
- sysroot-wasm32-wasi
- win64-vs2017
- vs
fetch:
- upx-3.95-win

Expand Down Expand Up @@ -431,7 +431,7 @@ win64-plain/opt:
- win64-winchecksec
- win64-mozmake
- win64-dump_syms
- win64-vs2017
- vs
- nsis
- sysroot-wasm32-wasi
optimization:
Expand Down Expand Up @@ -496,7 +496,7 @@ win32-shippable/opt:
- nsis
- sysroot-x86_64-linux-gnu
- sysroot-wasm32-wasi
- win64-vs2017
- vs
fetch:
- upx-3.95-win

Expand Down Expand Up @@ -548,7 +548,7 @@ win64-shippable/opt:
- nsis
- sysroot-x86_64-linux-gnu
- sysroot-wasm32-wasi
- win64-vs2017
- vs
fetch:
- upx-3.95-win

Expand Down Expand Up @@ -597,7 +597,7 @@ win64-nightlyasrelease/opt:
- nsis
- sysroot-x86_64-linux-gnu
- sysroot-wasm32-wasi
- win64-vs2017
- vs
fetch:
- upx-3.95-win

Expand Down Expand Up @@ -642,7 +642,7 @@ win32-add-on-devel/opt:
- nsis
- sysroot-x86_64-linux-gnu
- sysroot-wasm32-wasi
- win64-vs2017
- vs
fetch:
- upx-3.95-win

Expand Down Expand Up @@ -687,7 +687,7 @@ win64-add-on-devel/opt:
- nsis
- sysroot-x86_64-linux-gnu
- sysroot-wasm32-wasi
- win64-vs2017
- vs
fetch:
- upx-3.95-win

Expand Down Expand Up @@ -732,7 +732,7 @@ win64-noopt/debug:
- nsis
- sysroot-x86_64-linux-gnu
- sysroot-wasm32-wasi
- win64-vs2017
- vs
fetch:
- upx-3.95-win

Expand Down Expand Up @@ -777,7 +777,7 @@ win32-noopt/debug:
- nsis
- sysroot-x86_64-linux-gnu
- sysroot-wasm32-wasi
- win64-vs2017
- vs
fetch:
- upx-3.95-win

Expand Down Expand Up @@ -822,7 +822,7 @@ win32-rusttests/opt:
- win64-winchecksec
- win64-mozmake
- win64-dump_syms
- win64-vs2017
- vs
optimization:
test-inclusive: [rusttests]

Expand Down Expand Up @@ -867,7 +867,7 @@ win32-rusttests/debug:
- win64-winchecksec
- win64-mozmake
- win64-dump_syms
- win64-vs2017
- vs
optimization:
test-inclusive: [rusttests]

Expand Down Expand Up @@ -909,7 +909,7 @@ win64-rusttests/opt:
- win64-winchecksec
- win64-mozmake
- win64-dump_syms
- win64-vs2017
- vs
optimization:
test-inclusive: [rusttests]

Expand Down Expand Up @@ -951,7 +951,7 @@ win64-rusttests/debug:
- win64-winchecksec
- win64-mozmake
- win64-dump_syms
- win64-vs2017
- vs
optimization:
test-inclusive: [rusttests]

Expand Down Expand Up @@ -1001,7 +1001,7 @@ win64-ccov/opt:
- win64-winchecksec
- win64-mozmake
- win64-dump_syms
- win64-vs2017
- vs
- nsis
- sysroot-wasm32-wasi

Expand Down Expand Up @@ -1051,7 +1051,7 @@ win64-fuzzing-ccov/opt:
- win64-winchecksec
- win64-mozmake
- win64-dump_syms
- win64-vs2017
- vs
- nsis
- sysroot-wasm32-wasi

Expand Down Expand Up @@ -1098,7 +1098,7 @@ win64-asan/debug:
- sysroot-x86_64-linux-gnu
- sysroot-wasm32-wasi
- win64-llvm-symbolizer
- win64-vs2017
- vs
fetch:
- upx-3.95-win
optimization:
Expand Down Expand Up @@ -1148,7 +1148,7 @@ win64-asan/opt:
- sysroot-x86_64-linux-gnu
- sysroot-wasm32-wasi
- win64-llvm-symbolizer
- win64-vs2017
- vs
fetch:
- upx-3.95-win

Expand Down Expand Up @@ -1207,7 +1207,7 @@ win64-asan-reporter-shippable/opt:
- sysroot-x86_64-linux-gnu
- sysroot-wasm32-wasi
- win64-llvm-symbolizer
- win64-vs2017
- vs
fetch:
- upx-3.95-win

Expand Down Expand Up @@ -1253,7 +1253,7 @@ win64-asan-fuzzing/opt:
- sysroot-x86_64-linux-gnu
- sysroot-wasm32-wasi
- win64-llvm-symbolizer
- win64-vs2017
- vs
fetch:
- upx-3.95-win
optimization:
Expand Down Expand Up @@ -1318,7 +1318,7 @@ win32-devedition/opt:
- nsis
- sysroot-x86_64-linux-gnu
- sysroot-wasm32-wasi
- win64-vs2017
- vs
fetch:
- upx-3.95-win

Expand Down Expand Up @@ -1371,7 +1371,7 @@ win64-devedition/opt:
- nsis
- sysroot-x86_64-linux-gnu
- sysroot-wasm32-wasi
- win64-vs2017
- vs
fetch:
- upx-3.95-win

Expand Down Expand Up @@ -1419,7 +1419,7 @@ win64-aarch64/debug:
- nsis
- sysroot-x86_64-linux-gnu
- sysroot-wasm32-wasi
- win64-vs2017
- vs
fetch:
- upx-3.95-win
optimization:
Expand Down Expand Up @@ -1475,7 +1475,7 @@ win64-aarch64/opt:
- nsis
- sysroot-x86_64-linux-gnu
- sysroot-wasm32-wasi
- win64-vs2017
- vs
fetch:
- upx-3.95-win
optimization:
Expand Down Expand Up @@ -1671,7 +1671,7 @@ win64-aarch64-shippable-no-eme/opt:
- nsis
- sysroot-x86_64-linux-gnu
- sysroot-wasm32-wasi
- win64-vs2017
- vs
fetch:
- upx-3.95-win
optimization:
Expand Down Expand Up @@ -1826,6 +1826,6 @@ win64-aarch64-devedition-no-eme/opt:
- nsis
- sysroot-x86_64-linux-gnu
- sysroot-wasm32-wasi
- win64-vs2017
- vs
fetch:
- upx-3.95-win
4 changes: 2 additions & 2 deletions taskcluster/ci/instrumented-build/kind.yml
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ jobs:
- nsis
- sysroot-x86_64-linux-gnu
- sysroot-wasm32-wasi
- win64-vs2017
- vs
fetch:
- upx-3.95-win

Expand Down Expand Up @@ -313,6 +313,6 @@ jobs:
- nsis
- sysroot-x86_64-linux-gnu
- sysroot-wasm32-wasi
- win64-vs2017
- vs
fetch:
- upx-3.95-win
2 changes: 1 addition & 1 deletion taskcluster/ci/searchfox/kind.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ jobs:
- nsis
- sysroot-x86_64-linux-gnu
- sysroot-wasm32-wasi
- win64-vs2017
- vs
fetch:
- upx-3.95-win

Expand Down
Loading

0 comments on commit c179c1f

Please sign in to comment.