Skip to content

Commit

Permalink
Update run.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
ibuclaw authored Feb 18, 2024
1 parent f7109e3 commit 213f2f9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion ci/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,12 @@ build() {
if [ "$OS_NAME" != "windows" ]; then
source ~/dlang/*/activate # activate host compiler, incl. setting `DMD`
fi
$DMD compiler/src/build.d -ofgenerated/build
BUILD_DFLAGS=
if [ "$OS_NAME" == "osx" ]; then
BUILD_DFLAGS="-L-ld_classic"
CI_DFLAGS="$CI_DFLAGS $BUILD_DFLAGS"
fi
$DMD compiler/src/build.d -ofgenerated/build $BUILD_DFLAGS
generated/build -j$N MODEL=$MODEL HOST_DMD=$DMD DFLAGS="$CI_DFLAGS" BUILD=debug unittest
generated/build -j$N MODEL=$MODEL HOST_DMD=$DMD DFLAGS="$CI_DFLAGS" ENABLE_RELEASE=1 dmd
make -j$N -C druntime MODEL=$MODEL
Expand Down

0 comments on commit 213f2f9

Please sign in to comment.