Skip to content

Commit 8acfd57

Browse files
committed
Emphasize openmp is for advanced users.
1 parent 6cf5755 commit 8acfd57

File tree

2 files changed

+24
-6
lines changed

2 files changed

+24
-6
lines changed

R/openmp.R

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,20 @@
55
#'
66
#' @details
77
#' The `openmp_*()` suite of functions attempts to locate, install, and uninstall
8-
#' OpenMP runtime library based on the Xcode version. OpenMP is installed to:
8+
#' the OpenMP runtime library based on the installed Xcode version. These functions
9+
#' mirror the logic described on the [macOS R Project OpenMP page](https://mac.r-project.org/openmp/)
10+
#' and should be used by advanced users who wish to compile R packages
11+
#' that use OpenMP for parallel processing. They are not required for most users.#'
12+
#'
13+
#' OpenMP runtime is downloaded from the R-project repository for macOS and installed to:
914
#'
1015
#' - Library: `/usr/local/lib/libomp.dylib`
11-
#' - Headers: `/usr/local/include/omp.h`, `/usr/local/include/ompt.h`, `/usr/local/include/omp-tools.h`
16+
#' - Headers:
17+
#' - `/usr/local/include/omp.h`;
18+
#' - `/usr/local/include/ompt.h`; and,
19+
#' - `/usr/local/include/omp-tools.h`
1220
#'
13-
#' Apple has explicitly disabled OpenMP support in Xcode compilers, but the
21+
#' **Note:** Apple has explicitly disabled OpenMP support in Xcode compilers, but the
1422
#' runtime library can be installed separately and used with `-Xclang -fopenmp`
1523
#' compiler flags.
1624
#'

man/openmp.Rd

Lines changed: 13 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)