File tree 2 files changed +4
-2
lines changed
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 18
18
cmake_flags : >-
19
19
-DBUILD_SHARED_LIBS=OFF
20
20
"-DDFLAGS_LDC=-fprofile-generate${{ runner.os == 'Windows' && ' -vp-counters-per-site=1.5' || '' }}"
21
- # -DEXTRA_CXXFLAGS=-fprofile-generate
21
+ -DEXTRA_CXXFLAGS=-fprofile-instr-generate
22
+ ${{ runner.os == 'Linux' && '-DCMAKE_C_COMPILER="$PWD/../clang/bin/clang"' || '' }}
23
+ ${{ runner.os == 'Linux' && '-DCMAKE_CXX_COMPILER="$PWD/../clang/bin/clang++"' || '' }}
22
24
extra_d_flags : ${{ inputs.extra_d_flags }}
23
25
arch : ${{ inputs.arch }}
24
26
env :
Original file line number Diff line number Diff line change 55
55
fi
56
56
if [[ "$with_pgo" == true ]]; then
57
57
flags+="-DDFLAGS_LDC=-fprofile-use=../pgo-ldc/merged.profdata "
58
- # cxx_flags+=(-fprofile-use=../pgo-ldc/merged.profdata)
58
+ cxx_flags+=(-fprofile-instr -use=../pgo-ldc/merged.profdata)
59
59
fi
60
60
61
61
if [[ "${#d_flags[@]}" -gt 0 ]]; then
You can’t perform that action at this time.
0 commit comments