forked from mirrors/gecko-dev
We leave the following ones unchanged: - geckodriver because the results are used to releases on github. - sixgill because the script that creates it is not in-tree. - *-dist-toolchain because sccache is not expecting a .tar.zst. We use native tar support in most cases, except for toolchain scripts also used on Windows, for which we use our zstdpy script. Differential Revision: https://phabricator.services.mozilla.com/D124733
21 lines
566 B
Bash
Executable file
21 lines
566 B
Bash
Executable file
#!/bin/bash
|
|
set -e -v
|
|
|
|
# This script is for building GN on Linux.
|
|
|
|
WORKSPACE=$HOME/workspace
|
|
COMPRESS_EXT=zst
|
|
export CC=$MOZ_FETCHES_DIR/gcc/bin/gcc
|
|
export CXX=$MOZ_FETCHES_DIR/gcc/bin/g++
|
|
export LDFLAGS=-lrt
|
|
|
|
# Gn build scripts use #!/usr/bin/env python, which will be python 2.6 on
|
|
# the worker and cause failures. Work around this by putting python2.7
|
|
# ahead of it in PATH.
|
|
mkdir -p $WORKSPACE/python_bin
|
|
ln -s /usr/bin/python2.7 $WORKSPACE/python_bin/python
|
|
export PATH=$WORKSPACE/python_bin:$PATH
|
|
|
|
cd $GECKO_PATH
|
|
|
|
. taskcluster/scripts/misc/build-gn-common.sh
|