clMathLibraries / clBLAS

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

installing clblas installs 7349 files into $PREFIX/lib/src directory #248

Closed hughperkins closed 8 years ago

hughperkins commented 8 years ago

Installing clblas installs 7349 files into $PREFIX/lib/src directory:

ls -Rf ~/torch/install/lib/src | wc -l
7499

ls ~/torch/install/lib/src/
build/                        FindNetlib.cmake
build-2.8/                    FindOpenCL.cmake
clAmdBlas.h                   flags_public.txt
clAmdBlas.version.h           .gitignore
clBLAS-complex.h              include/
clBLASConfig.cmake.in         library/
clBLASConfigVersion.cmake.in  samples/
clBLAS.def                    scripts/
clBLAS.h                      targetver.h
clBLAS.version.h.in           tests/
client/                       wrappers/
CMakeLists.txt  

Seems like there is probably a GLOB being used in the CMakeLists.txt install command I guess?

hughperkins commented 8 years ago

Ah, seems this is intentional:

# Install a snapshot of the source as it was for this build; useful for the .pdb's
install(    DIRECTORY ${PROJECT_SOURCE_DIR}
            DESTINATION ${CLBLAS_RUNTIME_DESTINATION}
            OPTIONAL
            CONFIGURATIONS Debug )