fune/taskcluster/scripts/misc/source-test-common.sh
Mike Hommey 57a88cbf46 Bug 1573435 - Use toolchain fetches for source-test builds. r=nalexander
While here, use GECKO_PATH instead of $HOME/checkouts/gecko.

Differential Revision: https://phabricator.services.mozilla.com/D41889
2019-08-15 11:21:51 +09:00

16 lines
468 B
Bash
Executable file

#! /bin/bash -vex
set -x -e
export MOZBUILD_STATE_PATH=$HOME/workspace
# Add toolchain binaries to PATH to run ./mach configure
export PATH=$MOZ_FETCHES_DIR/clang/bin:$PATH
export PATH=$MOZ_FETCHES_DIR/rustc/bin:$PATH
export PATH=$MOZ_FETCHES_DIR/cbindgen:$PATH
export PATH=$MOZ_FETCHES_DIR/nasm:$PATH
export PATH=$MOZ_FETCHES_DIR/node/bin:$PATH
# Use clang as host compiler
export CC=$MOZ_FETCHES_DIR/clang/bin/clang
export CXX=$MOZ_FETCHES_DIR/clang/bin/clang++