forked from mirrors/gecko-dev
Bug 1356140 - Enable tooltool cache on jobs that define one but don't use it. r=chmanchester
--HG-- extra : rebase_source : 085fe8ff6ac368624054bef1f171c8d24c8ecff1
This commit is contained in:
parent
b40c223d77
commit
63f96098ea
4 changed files with 4 additions and 4 deletions
|
|
@ -31,6 +31,6 @@ if ! which mozmake 2>/dev/null; then
|
|||
export PATH="$PATH:$SOURCE/.."
|
||||
if ! which mozmake 2>/dev/null; then
|
||||
TT_SERVER=${TT_SERVER:-https://api.pub.build.mozilla.org/tooltool/}
|
||||
( cd $SOURCE/..; $SOURCE/mach artifact toolchain -v --tooltool-manifest $SOURCE/browser/config/tooltool-manifests/${platform:-win32}/releng.manifest --tooltool-url $TT_SERVER --retry 4 )
|
||||
( cd $SOURCE/..; $SOURCE/mach artifact toolchain -v --tooltool-manifest $SOURCE/browser/config/tooltool-manifests/${platform:-win32}/releng.manifest --tooltool-url $TT_SERVER --retry 4${TOOLTOOL_CACHE:+ --cache-dir ${TOOLTOOL_CACHE}})
|
||||
fi
|
||||
fi
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ if [ ! -e ${TOOLTOOL_AUTH_FILE} ]; then
|
|||
fi
|
||||
|
||||
TOOLTOOL_MANIFEST=build/src/browser/config/tooltool-manifests/win32/build-clang-cl.manifest
|
||||
./build/src/mach artifact toolchain -v --authentication-file="${TOOLTOOL_AUTH_FILE}" --tooltool-manifest "${TOOLTOOL_MANIFEST}"
|
||||
./build/src/mach artifact toolchain -v --authentication-file="${TOOLTOOL_AUTH_FILE}" --tooltool-manifest "${TOOLTOOL_MANIFEST}"${TOOLTOOL_CACHE:+ --cache-dir ${TOOLTOOL_CACHE}}
|
||||
|
||||
# Set up all the Visual Studio paths.
|
||||
MSVC_DIR=vs2015u3
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ if [ ! -e ${TOOLTOOL_AUTH_FILE} ]; then
|
|||
fi
|
||||
|
||||
TOOLTOOL_MANIFEST=build/src/browser/config/tooltool-manifests/win32/build-clang-cl.manifest
|
||||
./build/src/mach artifact toolchain -v --authentication-file="${TOOLTOOL_AUTH_FILE}" --tooltool-manifest "${TOOLTOOL_MANIFEST}"
|
||||
./build/src/mach artifact toolchain -v --authentication-file="${TOOLTOOL_AUTH_FILE}" --tooltool-manifest "${TOOLTOOL_MANIFEST}"${TOOLTOOL_CACHE:+ --cache-dir ${TOOLTOOL_CACHE}}
|
||||
|
||||
# Set up all the Visual Studio paths.
|
||||
MSVC_DIR=vs2015u3
|
||||
|
|
|
|||
|
|
@ -5,6 +5,6 @@ cd $HOME/workspace/build/src
|
|||
: TOOLTOOL_CACHE ${TOOLTOOL_CACHE:=/home/worker/tooltool-cache}
|
||||
export TOOLTOOL_CACHE
|
||||
|
||||
./mach artifact toolchain -v --tooltool-url=http://relengapi/tooltool/ --tooltool-manifest "${TOOLTOOL_MANIFEST}"
|
||||
./mach artifact toolchain -v --tooltool-url=http://relengapi/tooltool/ --tooltool-manifest "${TOOLTOOL_MANIFEST}"${TOOLTOOL_CACHE:+ --cache-dir ${TOOLTOOL_CACHE}}
|
||||
|
||||
cd $OLDPWD
|
||||
|
|
|
|||
Loading…
Reference in a new issue