File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2525 MODEL : 64
2626 FULL_BUILD : false
2727 HOST_DMD : ldc-1.42.0
28- ENABLE_LTO : 1
2928 defaults :
3029 run :
3130 shell : bash
@@ -79,17 +78,13 @@ jobs:
7978 source ~/dlang/*/activate
8079 BASE_SHA="${{ steps.refs.outputs.base }}"
8180
82- # Check out a ref and build a plain dmd + phobos, then dmd-pgo trains a profile
83- # on the ref's own testsuite and rebuilds with it.
81+ # Check out a ref in an isolated temp dir, clone phobos and build (LTO+PGO'd dmd, druntime and phobos).
8482 setup_ref() {
8583 local dir="$RUNNER_TEMP/$2/dmd"
8684 mkdir -p "$RUNNER_TEMP/$2"
8785 git worktree add --force "$dir" "$1"
8886 ( cd "$dir" && ci/run.sh setup_repos "${{ steps.refs.outputs.branch }}" )
89- ( cd "$dir" && $DMD -of=generated/build -g compiler/src/build.d )
90- ( cd "$dir" && generated/build HOST_DMD=$DMD MODEL=$MODEL -j$N )
91- ( cd "$dir/../phobos" && make -j$N MODEL=$MODEL )
92- ( cd "$dir" && generated/build HOST_DMD=$DMD MODEL=$MODEL dmd-pgo -j$N --force )
87+ make -C "$dir" -j$N HOST_DMD=$DMD MODEL=$MODEL dmd-pgo
9388 }
9489
9590 setup_ref "${{ steps.refs.outputs.head }}" head
You can’t perform that action at this time.
0 commit comments