summaryrefslogtreecommitdiff
path: root/indra/cmake/Prebuilt.cmake
diff options
context:
space:
mode:
authorRye Cogtail <rye@lindenlab.com>2024-10-01 20:13:09 -0400
committerRye Cogtail <rye@lindenlab.com>2024-10-01 21:37:46 -0400
commit558ea362f017936e41f73a15513217ce865dcfdb (patch)
tree63287d8f4ddb5feb13a28b212956e98430c1ce4b /indra/cmake/Prebuilt.cmake
parent46d0001bffdf5d8bc7eecc02c06debe9196ede53 (diff)
Skip sourcing the extended autobuild environment during prebuilt install and pass address size explicitly to avoid breaking build autoreconfigures
This decreased configure time from 67 to 31 seconds on my machine.
Diffstat (limited to 'indra/cmake/Prebuilt.cmake')
-rw-r--r--indra/cmake/Prebuilt.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/cmake/Prebuilt.cmake b/indra/cmake/Prebuilt.cmake
index a8c702bfef..c040090ea3 100644
--- a/indra/cmake/Prebuilt.cmake
+++ b/indra/cmake/Prebuilt.cmake
@@ -43,6 +43,8 @@ macro (use_prebuilt_binary _binary)
message(STATUS "Installing ${_binary}...")
execute_process(COMMAND "${AUTOBUILD_EXECUTABLE}"
install
+ -A${ADDRESS_SIZE}
+ --skip-source-environment
--install-dir=${AUTOBUILD_INSTALL_DIR}
${_binary}
WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}"