clMathLibraries / clBLAS

a software library containing BLAS functions written in OpenCL
Apache License 2.0
838 stars 242 forks source link

CMake Error: The source directory "/root/clBLAS-master/src/tests/gtest-external-prefix/src/gtest-external" does not appear to contain CMakeLists.txt. #271

Open wuzhijiexia opened 8 years ago

wuzhijiexia commented 8 years ago

There is a problem when I install clBLAS-master. image 1 loading initial cache file /root/clBLAS-master/src/tests/gtest-external-prefix/tmp/gtest-external-cache.cmake CMake Error: The source directory "/root/clBLAS-master/src/tests/gtest-external-prefix/src/gtest-external" does not appear to contain CMakeLists.txt. Specify --help for usage, or press the help button on the CMake GUI. make[2]: * [tests/gtest-external-prefix/src/gtest-external-stamp/gtest-external-configure] Error 1 make[1]: * [tests/CMakeFiles/gtest-external.dir/all] Error 2

The following installation steps:

cd clBLAS/src cmake ./ make

Then, I encouter the error as the above.

guacamoleo commented 8 years ago

Does the directory “gtest-external-prefix” exist? I assume external prefix means that you’re telling CMake where to find your own external gtest.

David E. Tanner


Sr Software Engineer | Radeon Technologies Group – Open Compute

From: wuzhijiexia [mailto:notifications@github.com] Sent: Tuesday, May 31, 2016 12:37 AM To: clMathLibraries/clBLAS clBLAS@noreply.github.com Subject: [clMathLibraries/clBLAS] CMake Error: The source directory "/root/clBLAS-master/src/tests/gtest-external-prefix/src/gtest-external" does not appear to contain CMakeLists.txt. (#271)

There is a problem when I install clBLAS-master. [image 1]https://cloud.githubusercontent.com/assets/19603119/15664144/1c00f8ac-2734-11e6-8a0e-ca5fb01f6b47.png loading initial cache file /root/clBLAS-master/src/tests/gtest-external-prefix/tmp/gtest-external-cache.cmake CMake Error: The source directory "/root/clBLAS-master/src/tests/gtest-external-prefix/src/gtest-external" does not appear to contain CMakeLists.txt. Specify --help for usage, or press the help button on the CMake GUI. make[2]: * [tests/gtest-external-prefix/src/gtest-external-stamp/gtest-external-configure] Error 1 make[1]: * [tests/CMakeFiles/gtest-external.dir/all] Error 2

The following installation steps:

cd clBLAS/src cmake ./ make

Then, I encouter the error as the above.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/clMathLibraries/clBLAS/issues/271, or mute the threadhttps://github.com/notifications/unsubscribe/ACiWnrd9JSDiFmNkIWskaUphyK1GCdT-ks5qG8kCgaJpZM4IqMWZ.

sai19 commented 8 years ago

@wuzhijiexia did you find the solution? I am also facing the same problem, I think we need to externally add cmakelists.txt file. Do you know where can I download the correct file?

wuzhijiexia commented 8 years ago

Finally, I solve the problem according reinstall clBLAS-master. Meanwhile, If you want package clBLAS for distribution, you don’t need to package the tests or benchmarks. When configuring with cmake, pass in 【-DBUILD_TEST=OFF -DBUILD_PERFORMANCE=OFF】.

sai19 commented 8 years ago

I need clBLAS to run theano codes on my AMD gpu, so I guess I need to package the tests. For which I am following the script given here https://gist.github.com/jarutis/ff28bca8cfb9ce0c8b1a, any ideas on how to configure?

marwon34 commented 5 years ago

root@kali:~# mkdir build root@kali:~# cd build root@kali:~/build# cmake -DFX3_INSTALL_PATH=/opt/cypress/fx3_sdk -DCMAKE_TOOLCHAIN_FILE=../cmake/fx3-toolchain.cmake ../ CMake Error: The source directory "/root" does not appear to contain CMakeLists.txt. Specify --help for usage, or press the help button on the CMake GUI. kali linux 2019.1