We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 93b976b commit a3684adCopy full SHA for a3684ad
.github/workflows/scripts/run_affected_benchmarks
@@ -145,6 +145,12 @@ main() {
145
echo "Finding C benchmark files in ${directories}..."
146
c_bench_files=$(find "${directories}" -maxdepth 5 \( -wholename '**/benchmark/c/benchmark*.c' -or -wholename '**/benchmark/c/**/benchmark*.c' \) -exec realpath {} \; | grep -v '/fixtures/' | sort -u | tr '\n' ' ') || true
147
148
+ # If benchmarks requiring Cephes are found, install the Cephes library:
149
+ c_cephes_makefiles=$(find "${directories}" -maxdepth 5 -wholename '**/benchmark/c/**/Makefile' -exec grep -l 'CEPHES' {} + || true)
150
+ if [ -n "${c_cephes_makefiles}" ]; then
151
+ make install-deps-cephes
152
+ fi
153
+
154
if [ -n "${c_bench_files}" ]; then
155
make benchmark-c-files FILES="${c_bench_files}"
156
else
0 commit comments