mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
Tweak the bindgen setup scripts.
This commit is contained in:
parent
286da1bbe4
commit
a778b03f36
2 changed files with 3 additions and 3 deletions
|
@ -11,7 +11,7 @@ You can see a description of them below.
|
||||||
## `setup_bindgen.sh`
|
## `setup_bindgen.sh`
|
||||||
|
|
||||||
This uses downloads a custom version of bindgen, up to date to generate the
|
This uses downloads a custom version of bindgen, up to date to generate the
|
||||||
bindings, and uses the custom `clang` to build it.
|
bindings, and uses the required `llvm38` to build it.
|
||||||
|
|
||||||
It will also rebuild it if it's already downloaded.
|
It will also rebuild it if it's already downloaded.
|
||||||
|
|
||||||
|
|
|
@ -5,9 +5,9 @@ cd "$(dirname $0)"
|
||||||
|
|
||||||
# Setup and build bindgen.
|
# Setup and build bindgen.
|
||||||
if [ "$(uname)" == "Linux" ]; then
|
if [ "$(uname)" == "Linux" ]; then
|
||||||
LIBCLANG_PATH=/usr/lib/llvm-3.8/lib;
|
export LIBCLANG_PATH=/usr/lib/llvm-3.8/lib;
|
||||||
else
|
else
|
||||||
LIBCLANG_PATH=`brew --prefix llvm38`/lib/llvm-3.8/lib;
|
export LIBCLANG_PATH=`brew --prefix llvm38`/lib/llvm-3.8/lib;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Make sure we have llvm38.
|
# Make sure we have llvm38.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue