File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed
Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change 8080 if : runner.os == 'macOS'
8181 run : |
8282 if clang --version | grep 'clang version 17'; then
83- curl -O https://mac.r-project.org/openmp/openmp-19.1.0-darwin20-Release.tar.gz
84- sudo tar fvvxz openmp-19.1.0-darwin20-Release.tar.gz -C /
85- rm -f openmp-19.1.0-darwin20-Release.tar.gz
83+ openmp_tarball=openmp-19.1.5-darwin20-Release.tar.gz
84+ if curl --fail --location --retry 3 --retry-all-errors --connect-timeout 20 --max-time 180 \
85+ -O "https://mac.r-project.org/openmp/${openmp_tarball}"; then
86+ sudo tar fvxz "${openmp_tarball}" -C /
87+ rm -f "${openmp_tarball}"
88+ else
89+ echo "Warning: failed to fetch OpenMP runtime from https://mac.r-project.org/openmp/; continuing without it"
90+ fi
8691 fi # otherwise R-bundled runtime is fine
8792
8893 - name : Install dependencies
You can’t perform that action at this time.
0 commit comments