Skip to content

Instantly share code, notes, and snippets.

@AhiyaHiya
Last active May 30, 2017 18:41
Show Gist options
  • Select an option

  • Save AhiyaHiya/9c44e309d566d9272be3c37ac5bc2c56 to your computer and use it in GitHub Desktop.

Select an option

Save AhiyaHiya/9c44e309d566d9272be3c37ac5bc2c56 to your computer and use it in GitHub Desktop.
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