summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSignal Linden <signal@lindenlab.com>2022-10-12 12:59:12 -0700
committerSignal Linden <signal@lindenlab.com>2022-10-12 12:59:12 -0700
commitefb987f595d6749d42e3148bf0e071f5bafce450 (patch)
tree141c6d505755bc016281faf0ecbe4f5de7372d17
parent6112e92b61c334d3c0656bacdea92690cea1a76b (diff)
Run on windows-2022-large
-rw-r--r--.github/workflows/build.yaml8
-rw-r--r--indra/cmake/00-Common.cmake9
2 files changed, 4 insertions, 13 deletions
diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index d6916a4808..e90448425b 100644
--- a/.github/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -10,14 +10,14 @@ jobs:
build:
strategy:
matrix:
- runner: [windows_2022_public]
+ runner: [windows-2022-large]
configuration: [ReleaseOS]
addrsize: [64]
include:
- - runner: windows_2022_public
+ - runner: windows-2022-large
configuration: ReleaseOS
addrsize: 32
- runs-on: ${{ matrix.runner }}
+ runs-on: [${{ matrix.runner }}]
env:
AUTOBUILD_CONFIGURATION: ${{ matrix.configuration }}
AUTOBUILD_ADDRSIZE: ${{ matrix.addrsize }}
@@ -43,7 +43,7 @@ jobs:
id: cache-installables
with:
path: .autobuild-installables
- key: ${{ matrix.os }}-${{ matrix.addrsize }}-${{ matrix.configuration }}-${{ hashFiles('autobuild.xml') }}
+ key: ${{ matrix.runner }}-${{ matrix.addrsize }}-${{ matrix.configuration }}-${{ hashFiles('autobuild.xml') }}
- name: Install windows dependencies
if: runner.os == 'Windows'
diff --git a/indra/cmake/00-Common.cmake b/indra/cmake/00-Common.cmake
index c848d00710..bf5a107c73 100644
--- a/indra/cmake/00-Common.cmake
+++ b/indra/cmake/00-Common.cmake
@@ -55,15 +55,6 @@ if (WINDOWS)
# http://www.cmake.org/pipermail/cmake/2009-September/032143.html
string(REPLACE "/Zm1000" " " CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS})
- # Without PreferredToolArchitecture=x64, as of 2020-06-26 the 32-bit
- # compiler on our TeamCity build hosts has started running out of virtual
- # memory for the precompiled header file.
- # CP changed to only append the flag for 32bit builds - on 64bit builds,
- # locally at least, the build output is spammed with 1000s of 'D9002'
- # warnings about this switch being ignored.
- if( ADDRESS_SIZE EQUAL 32 )
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /p:PreferredToolArchitecture=x64")
- endif()
# zlib has assembly-language object files incompatible with SAFESEH
add_link_options(/LARGEADDRESSAWARE
/SAFESEH:NO