-
Notifications
You must be signed in to change notification settings - Fork 12.2k
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 ccd0e7d
Showing
5 changed files
with
38 additions
and
5 deletions.
There are no files selected for viewing
25 changes: 25 additions & 0 deletions
25
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,25 @@ | ||
#!/bin/sh | ||
|
||
set -ex | ||
|
||
# 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 | ||
pwd |
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