We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 354b8d3 commit 7b0cde4Copy full SHA for 7b0cde4
.github/workflows/R-CMD-check.yaml
@@ -70,6 +70,18 @@ jobs:
70
with:
71
type: 'minimal'
72
73
+ - name: Intall and configure OpenMP runtime
74
+ if: runner.os == 'macOS'
75
+ run: |
76
+ if clang --version | grep 'clang version 17'; then
77
+ curl -O https://mac.r-project.org/openmp/openmp-19.1.0-darwin20-Release.tar.gz
78
+ sudo tar fvvxz openmp-19.1.0-darwin20-Release.tar.gz -C /
79
+ rm -f openmp-19.1.0-darwin20-Release.tar.gz
80
+ echo 'PKG_CFLAGS=-Xclang -fopenmp' >> $GITHUB_ENV
81
+ # Not the R-bundled -lomp, but our custom file installed just now
82
+ echo 'PKG_LIBS=/usr/local/lib/libomp.dylib' >> $GITHUB_ENV
83
+ fi # otherwise R-bundled runtime is fine
84
+
85
- name: Install dependencies
86
run: |
87
remotes::install_deps(dependencies = TRUE)
0 commit comments