Commit 18967775 authored by Nikola Dinev's avatar Nikola Dinev
Browse files

Remove code for finding and installing quickvec as an external dependency

parent bfb00778
Pipeline #754616 failed with stages
in 16 minutes and 8 seconds
......@@ -84,11 +84,6 @@ cache:
- install-elsa/include/elsa/**/*.cuh
- install-elsa/lib/cmake/elsa/**/*.cmake
- install-elsa/lib/libelsa*.a
# Add quickvec install to artifact
- install-elsa/include/quickvec/**/*.h
- install-elsa/include/quickvec/**/*.hpp
- install-elsa/lib/cmake/quickvec/*.cmake
- install-elsa/lib/libquickvec.a
# Add doctest install to artifact
- install-elsa/include/doctest/**/*.h
- install-elsa/lib/cmake/doctest/**/*.cmake
......
# Find Quickvec library which implements GPU based vector arithmetic
#
# The following variables are set if Quickvec is found. Quickvec_FOUND - True when the include directory is found.
# Quickvec_INCLUDE_DIR - The path to the headers
#
# This module reads hints about search locations from the following environment variables:
#
# Quickvec_ROOT Quickvec_ROOT_DIR
#
# as well as in the following subdirectories
#
# include thirdparty ThirdParty external
#
# If
#
# Quickvec_INCLUDE_DIR
#
# is explicitly set, the search falls back to the values in these variables
include(FindPackageHandleStandardArgs)
macro(_quickvec_find_include)
find_path(Quickvec_INCLUDE_DIR
NAMES quickvec/src/Quickvec.h
HINTS ENV
Quickvec_ROOT
ENV
Quickvec_ROOT_DIR
include
thirdparty
ThirdParty
external
DOC "Quickvec header files"
PATH_SUFFIXES quickvec)
endmacro(_quickvec_find_include)
if(NOT EXISTS "${Quickvec_INCLUDE_DIR}")
_quickvec_find_include()
endif()
find_package_handle_standard_args(Quickvec
DEFAULT_MSG
Quickvec_INCLUDE_DIR)
mark_as_advanced(Quickvec_INCLUDE_DIR)
......@@ -31,10 +31,6 @@ if(EXISTS "@CMAKE_CUDA_COMPILER@")
find_library(CUDART_LIBRARY cudart ${CMAKE_CUDA_IMPLICIT_LINK_DIRECTORIES})
endif()
if(@ELSA_BUILD_WITH_QUICKVEC@) # ELSA_BUILD_WITH_QUICKVEC
find_dependency(quickvec REQUIRED)
endif()
set(_supported_components @ELSA_REGISTERED_COMPONENTS@)
if(NOT elsa_FIND_COMPONENTS)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment