-
Notifications
You must be signed in to change notification settings - Fork 13k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7151f60
commit 391bb9c
Showing
5 changed files
with
39 additions
and
5 deletions.
There are no files selected for viewing
26 changes: 26 additions & 0 deletions
26
src/ci/docker/host-x86_64/dist-x86_64-linux/build-gccjit.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#!/bin/sh | ||
|
||
set -ex | ||
|
||
cd $1 | ||
|
||
# Setting up folders for GCC | ||
git clone https://github.com/antoyo/gcc gcc-src | ||
cd gcc-src | ||
git checkout $(head -1 /scripts/libgccjit.version) | ||
|
||
mkdir ../gcc-build ../gcc-install | ||
cd ../gcc-build | ||
|
||
# Building GCC. | ||
../gcc-src/configure \ | ||
--enable-host-shared \ | ||
--enable-languages=jit \ | ||
--enable-checking=release \ | ||
--disable-bootstrap \ | ||
--disable-multilib \ | ||
--prefix=$(pwd)/../gcc-install | ||
make | ||
make install | ||
|
||
rm -rf ../gcc-src |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
cf9554126 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters