Skip to content

Commit

Permalink
Enable more languages for better test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
Blackhex committed Nov 4, 2024
1 parent 371102d commit 519e143
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/scripts/install-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ echo "::group::Install Dependencies"
dejagnu \
docbook2x \
flex \
gdc \
libc6-dev-arm64-cross \
libc6-dev-amd64-cross \
texinfo \
Expand Down
2 changes: 1 addition & 1 deletion .github/scripts/toolchain/build-gcc-stage1.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ if [[ "$RUN_CONFIG" = 1 ]] || [[ ! -f "$GCC_BUILD_PATH/Makefile" ]]; then
;;
*mingw*)
TARGET_OPTIONS="$TARGET_OPTIONS \
--enable-languages=c \
--enable-languages=c,d \
--disable-isl-version-check \
--disable-rpath \
--disable-win32-registry \
Expand Down
3 changes: 2 additions & 1 deletion .github/scripts/toolchain/build-gcc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,14 +91,15 @@ if [[ "$RUN_CONFIG" = 1 ]] || [[ ! -f "$GCC_BUILD_PATH/Makefile" ]]; then
;;
esac

# REMOVED: --enable-languages=ada,go,jit
$SOURCE_PATH/gcc/configure \
--prefix=$TOOLCHAIN_PATH \
--build=$BUILD \
--host=$HOST \
--target=$TARGET \
--enable-static \
--enable-shared \
--enable-languages=c,c++,lto,fortran \
--enable-languages=c,c++,d,fortran,lto,m2,objc,obj-c++ \
--disable-bootstrap \
--disable-multilib \
--with-gnu-as \
Expand Down

0 comments on commit 519e143

Please sign in to comment.