Skip to content

Commit 3525d91

Browse files
authored
Merge pull request #149 from hsbadr/develop
README: Cleanup Intel TBB instructions
2 parents c0a82ba + 130b801 commit 3525d91

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

README.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -12,34 +12,34 @@ For additional documentation on using RcppParallel see the package website at ht
1212

1313
### Intel TBB
1414

15-
`RcppParallel` now supports the new interface of Intel TBB and allows using external library (e.g., with [oneTBB](https://github.com/oneapi-src/oneTBB), [OneAPI](https://software.intel.com/content/www/us/en/develop/articles/intel-oneapi-toolkit-release-notes.html), or the system TBB library), using `TBB_LIB` and `TBB_INC` environment variables. The updated TBB functionality are summarized [here](https://software.intel.com/content/www/us/en/develop/articles/tbb-revamp.html) and the release notes and backward compatibility are reported [here](https://software.intel.com/content/www/us/en/develop/articles/intel-oneapi-threading-building-blocks-release-notes.html).
15+
`RcppParallel` now supports the new interface of Intel TBB and allows using external library (e.g., with [`oneTBB`](https://github.com/oneapi-src/oneTBB) or the system TBB library), using `TBB_LIB` and `TBB_INC` environment variables.
1616

17-
To build the development version of `RcppParallel` with [oneTBB](https://github.com/oneapi-src/oneTBB) or [OneAPI](https://software.intel.com/content/www/us/en/develop/articles/intel-oneapi-toolkit-release-notes.html):
17+
To build the development version of `RcppParallel` with [`oneTBB`](https://github.com/oneapi-src/oneTBB):
1818

19-
- Install [oneTBB](https://github.com/oneapi-src/oneTBB) or [OneAPI](https://software.intel.com/content/www/us/en/develop/articles/intel-oneapi-toolkit-release-notes.html).
19+
- Install [`oneTBB`](https://github.com/oneapi-src/oneTBB).
2020

21-
For example, installing [oneTBB](https://github.com/oneapi-src/oneTBB) on Linux 64-bit (`x86_64`) to `$HOME` directory (change if needed!):
22-
```
23-
TBB_VERSION="2021.1.1"
21+
For example, installing [`oneTBB`](https://github.com/oneapi-src/oneTBB) on Linux 64-bit (`x86_64`) to `$HOME` directory (change if needed!):
22+
```bash
23+
TBB_VERSION="2021.1.1"
2424

25-
wget https://github.com/oneapi-src/oneTBB/releases/download/v2021.1.1/oneapi-tbb-$TBB_VERSION-lin.tgz
26-
tar zxvf oneapi-tbb-$TBB_VERSION-lin.tgz -C $HOME
25+
wget https://github.com/oneapi-src/oneTBB/releases/download/v2021.1.1/oneapi-tbb-$TBB_VERSION-lin.tgz
26+
tar zxvf oneapi-tbb-$TBB_VERSION-lin.tgz -C $HOME
2727

28-
export TBB="$HOME/oneapi-tbb-$TBB_VERSION"
28+
export TBB="$HOME/oneapi-tbb-$TBB_VERSION"
2929
```
3030

3131
- Set the TBB environment variables (specifically: `TBB` for the installation prefix, `TBB_INC` for the directory that includes the header files, and `TBB_LIB` for the libraries directory).
3232

33-
For example, installing [oneTBB](https://github.com/oneapi-src/oneTBB) on Linux 64-bit (`x86_64`) to `$HOME` directory (change if needed!):
34-
```
35-
source $TBB/env/vars.sh intel64
33+
For example, installing [`oneTBB`](https://github.com/oneapi-src/oneTBB) on Linux 64-bit (`x86_64`) to `$HOME` directory (change if needed!):
34+
```bash
35+
source $TBB/env/vars.sh intel64
3636

37-
export TBB_INC="$TBB/include"
38-
export TBB_LIB="$TBB/lib/intel64/gcc4.8"
37+
export TBB_INC="$TBB/include"
38+
export TBB_LIB="$TBB/lib/intel64/gcc4.8"
3939
```
4040

4141
- Build the development version of `RcppParallel`:
42-
```
42+
```r
4343
install.packages("remotes")
4444
remotes::install_github("RcppCore/RcppParallel@develop", force = TRUE)
4545
```

0 commit comments

Comments
 (0)