@@ -39,21 +39,25 @@ function(find_and_configure_blazingsql)
3939
4040 if (NOT TARGET blazingdb::blazingsql-io)
4141 _get_major_minor_version(${VERSION} MAJOR_AND_MINOR)
42- CPMFindPackage(NAME blazingsql-io
43- VERSION ${VERSION}
44- GIT_REPOSITORY https://github.com/trxcllnt/blazingsql.git
45- GIT_TAG fea/rapids-cmake-${MAJOR_AND_MINOR}
46- SOURCE_SUBDIR io
47- OPTIONS # "S3_SUPPORT ON"
48- "S3_SUPPORT OFF"
49- "GCS_SUPPORT OFF"
50- "BUILD_TESTS OFF"
51- "BUILD_BENCHMARKS OFF"
52- "BUILD_SHARED_LIBS OFF"
53- # "ARROW_DEPENDENCY_SOURCE AUTO"
54- "BLAZINGSQL_IO_BUILD_ARROW_ORC OFF"
55- "BLAZINGSQL_IO_USE_ARROW_STATIC ON"
56- "BLAZINGSQL_IO_BUILD_ARROW_PYTHON OFF"
42+ _get_update_disconnected_state(blazingsql-io ${VERSION} UPDATE_DISCONNECTED)
43+ CPMFindPackage(NAME blazingsql-io
44+ VERSION ${VERSION}
45+ # EXCLUDE_FROM_ALL TRUE
46+ GIT_REPOSITORY https://github.com/trxcllnt/blazingsql.git
47+ GIT_TAG fea/rapids-cmake-${MAJOR_AND_MINOR}
48+ GIT_SHALLOW TRUE
49+ ${UPDATE_DISCONNECTED}
50+ SOURCE_SUBDIR io
51+ OPTIONS # "S3_SUPPORT ON"
52+ "S3_SUPPORT OFF"
53+ "GCS_SUPPORT OFF"
54+ "BUILD_TESTS OFF"
55+ "BUILD_BENCHMARKS OFF"
56+ "BUILD_SHARED_LIBS OFF"
57+ # "ARROW_DEPENDENCY_SOURCE AUTO"
58+ "BLAZINGSQL_IO_BUILD_ARROW_ORC OFF"
59+ "BLAZINGSQL_IO_USE_ARROW_STATIC ON"
60+ "BLAZINGSQL_IO_BUILD_ARROW_PYTHON OFF"
5761 )
5862 endif ()
5963
@@ -66,31 +70,35 @@ function(find_and_configure_blazingsql)
6670
6771 if (NOT TARGET blazingdb::blazingsql-engine)
6872 _get_major_minor_version(${VERSION} MAJOR_AND_MINOR)
69- CPMFindPackage(NAME blazingsql-engine
70- VERSION ${VERSION}
71- GIT_REPOSITORY https://github.com/trxcllnt/blazingsql.git
72- GIT_TAG fea/rapids-cmake-${MAJOR_AND_MINOR}
73- SOURCE_SUBDIR engine
74- OPTIONS "BUILD_TESTS OFF"
75- "BUILD_BENCHMARKS OFF"
76- "BUILD_SHARED_LIBS OFF"
77- # "S3_SUPPORT ON"
78- "S3_SUPPORT OFF"
79- "GCS_SUPPORT OFF"
80- "MYSQL_SUPPORT OFF"
81- "SQLITE_SUPPORT OFF"
82- "POSTGRESQL_SUPPORT OFF"
83- "CUDA_STATIC_RUNTIME ON"
84- # "ARROW_DEPENDENCY_SOURCE AUTO"
85- "BLAZINGSQL_ENGINE_USE_ARROW_STATIC ON"
86- "DISABLE_DEPRECATION_WARNING ON"
87- "BLAZINGSQL_IO_USE_ARROW_STATIC ON"
88- "BLAZINGSQL_IO_BUILD_ARROW_ORC OFF"
89- "BLAZINGSQL_IO_BUILD_ARROW_PYTHON OFF"
90- "BLAZINGSQL_ENGINE_ENABLE_DEBUG_UTILS OFF"
91- "BLAZINGSQL_ENGINE_BUILD_ARROW_ORC OFF"
92- "BLAZINGSQL_ENGINE_BUILD_ARROW_PYTHON OFF"
93- "BLAZINGSQL_ENGINE_WITH_PYTHON_ERRORS OFF"
73+ _get_update_disconnected_state(blazingsql-engine ${VERSION} UPDATE_DISCONNECTED)
74+ CPMFindPackage(NAME blazingsql-engine
75+ VERSION ${VERSION}
76+ # EXCLUDE_FROM_ALL TRUE
77+ GIT_REPOSITORY https://github.com/trxcllnt/blazingsql.git
78+ GIT_TAG fea/rapids-cmake-${MAJOR_AND_MINOR}
79+ GIT_SHALLOW TRUE
80+ ${UPDATE_DISCONNECTED}
81+ SOURCE_SUBDIR engine
82+ OPTIONS "BUILD_TESTS OFF"
83+ "BUILD_BENCHMARKS OFF"
84+ "BUILD_SHARED_LIBS OFF"
85+ # "S3_SUPPORT ON"
86+ "S3_SUPPORT OFF"
87+ "GCS_SUPPORT OFF"
88+ "MYSQL_SUPPORT OFF"
89+ "SQLITE_SUPPORT OFF"
90+ "POSTGRESQL_SUPPORT OFF"
91+ "CUDA_STATIC_RUNTIME ON"
92+ # "ARROW_DEPENDENCY_SOURCE AUTO"
93+ "BLAZINGSQL_ENGINE_USE_ARROW_STATIC ON"
94+ "DISABLE_DEPRECATION_WARNING ON"
95+ "BLAZINGSQL_IO_USE_ARROW_STATIC ON"
96+ "BLAZINGSQL_IO_BUILD_ARROW_ORC OFF"
97+ "BLAZINGSQL_IO_BUILD_ARROW_PYTHON OFF"
98+ "BLAZINGSQL_ENGINE_ENABLE_DEBUG_UTILS OFF"
99+ "BLAZINGSQL_ENGINE_BUILD_ARROW_ORC OFF"
100+ "BLAZINGSQL_ENGINE_BUILD_ARROW_PYTHON OFF"
101+ "BLAZINGSQL_ENGINE_WITH_PYTHON_ERRORS OFF"
94102 )
95103 endif ()
96104
0 commit comments