Last active
May 30, 2017 18:41
-
-
Save AhiyaHiya/9c44e309d566d9272be3c37ac5bc2c56 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| set -o nounset | |
| SetupIntelTBB() | |
| { | |
| printf "*********************************\n${FUNCNAME[0]}\n" | |
| if [[ ! -d $CURRENT_PATH/components/intel/tbb ]]; then | |
| mkdir -p $CURRENT_PATH/components/intel/tbb | |
| fi | |
| cd $CURRENT_PATH/components/intel/tbb | |
| curl -O https://www.threadingbuildingblocks.org/sites/default/files/software_releases/mac/tbb2017_20161128oss_osx.tgz | |
| tar -xzvf tbb2017_20161128oss_osx.tgz | |
| mv ./tbb2017_20161128oss/include ./include | |
| mv ./tbb2017_20161128oss/lib ./lib | |
| rm -R ./tbb2017_20161128oss | |
| rm tbb2017_20161128oss_osx.tgz | |
| cd $CURRENT_PATH/ | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment