alpaka-group / cupla

C++ User interface for the Platform independent Library Alpaka :arrows_clockwise:
Other
37 stars 18 forks source link

cupla examples can not be build without installing cupla #224

Open psychocoderHPC opened 2 years ago

psychocoderHPC commented 2 years ago

When I try to build the cupla examples out of the repository tree the build process is failing because cupla can not be found.

cupla/build$ cmake ../example/CUDASamples/vectorAdd/
-- The C compiler identification is GNU 9.4.0
-- The CXX compiler identification is GNU 9.4.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:38 (find_package):
  By not providing "Findcupla.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "cupla", but
  CMake did not find one.

  Could not find a package configuration file provided by "cupla" with any of
  the following names:

    cuplaConfig.cmake
    cupla-config.cmake

  Add the installation prefix of "cupla" to CMAKE_PREFIX_PATH or set
  "cupla_DIR" to a directory containing one of the above files.  If "cupla"
  provides a separate development package or SDK, be sure it has been
  installed.

-- Configuring incomplete, errors occurred!
sbastrakov commented 2 years ago

I thought cmake-installing is our normal way now, and so it's the supposed behavior?