Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

guide to install TBB #7

Open
blockspacer opened this issue Mar 15, 2020 · 2 comments
Open

guide to install TBB #7

blockspacer opened this issue Mar 15, 2020 · 2 comments

Comments

@blockspacer
Copy link

blockspacer commented Mar 15, 2020

Please share some info about your TBB installation path, can't manage to install TBB with TBBConfig

Related to
uxlfoundation/oneTBB#126 (comment)
uxlfoundation/oneTBB#6

tried

cd tbb
python build/build.py --install-libs --install-devel --prefix=/tmp/tbb_prefix

cd hush/build
cmake -DTBB_DIR="/tmp/tbb_prefix/lib/cmake/tbb" -DMKLDNN_CPU_RUNTIME=TBB ..

CMake Error at /opt/cmake/share/cmake-3.13/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
  Could NOT find TBB (missing: TBB_IMPORTED_TARGETS tbb tbbmalloc
  tbbmalloc_proxy)
@blockspacer
Copy link
Author

UPD: fixed by tbb from wjakob

git clone https://github.com/wjakob/tbb.git tbb_cmake --recursive
cd tbb_cmake/
 mdir build
cd build
cmake ..
cmake --build .
sudo make install

Now complains about EMBREE

  Could not find a package configuration file provided by "EMBREE" (requested
  version 3.0) with any of the following names:

    EMBREEConfig.cmake
    embree-config.cmake

@blockspacer
Copy link
Author

fixed by
https://github.com/dut09/arap/blob/25462ea973165ca6f10c85ae9a39a1807a4e8280/cmake/FindEMBREE.cmake
(save as FindEMBREE.cmake)

and https://www.embree.org/downloads.html

wget https://github.com/embree/embree/releases/download/v3.8.0/embree-3.8.0.x86_64.rpm.tar.gz

tar xzf embree-3.8.0.x86_64.rpm.tar.gz

sudo apt-get install alien dpkg-dev debhelper build-essential

sudo alien embree3-lib-3.8.0-1.x86_64.rpm
sudo alien embree3-devel-3.8.0-1.noarch.rpm
sudo alien embree3-examples-3.8.0-1.x86_64.rpm

sudo dpkg -i embree3-lib_3.8.0-2_amd64.deb
sudo dpkg -i embree3-devel_3.8.0-2_all.deb
sudo dpkg -i embree3-examples_3.8.0-2_amd64.deb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant