mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-12 22:28:59 +02:00
libclang 3.9 has a bug that makes bindgen unable to distinguish some typedefs from the underlying type, which matters for bug 1523071. We have had quite a few workarounds for this bug and I don't really want to add more, since in this case it is non-trivial. I think requiring libclang 4.0+ is reasonable at this point. Of the distros that can't build Firefox out of the box with clang, dropping support for clang 3.9 would only break Ubuntu 14.04 LTS, which support ends April 2019, right before we release 67. Differential Revision: https://phabricator.services.mozilla.com/D18889 --HG-- rename : build/build-clang/clang-3.9-linux64.json => build/build-clang/clang-4.0-linux64.json rename : taskcluster/scripts/misc/build-clang-3.9-linux.sh => taskcluster/scripts/misc/build-clang-4.0-linux.sh extra : moz-landing-system : lando
25 lines
480 B
Bash
Executable file
25 lines
480 B
Bash
Executable file
#!/bin/bash
|
|
set -x -e -v
|
|
|
|
# This script is for building clang for Linux.
|
|
|
|
WORKSPACE=$HOME/workspace
|
|
HOME_DIR=$WORKSPACE/build
|
|
UPLOAD_DIR=$HOME/artifacts
|
|
|
|
cd $HOME_DIR/src
|
|
|
|
. taskcluster/scripts/misc/tooltool-download.sh
|
|
|
|
# gets a bit too verbose here
|
|
set +x
|
|
|
|
cd build/build-clang
|
|
# |mach python| sets up a virtualenv for us!
|
|
../../mach python ./build-clang.py -c clang-4.0-linux64.json
|
|
|
|
set -x
|
|
|
|
# Put a tarball in the artifacts dir
|
|
mkdir -p $UPLOAD_DIR
|
|
cp clang.tar.* $UPLOAD_DIR
|