Skip to content

Commit 03efb63

Browse files
Skip tensor build for coverage
1 parent fd8c438 commit 03efb63

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

dpnp/CMakeLists.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,10 @@ install(
182182
REGEX "\\.h(pp)?$"
183183
)
184184

185-
add_subdirectory(tensor)
185+
# Skip tensor build for coverage to reduce memory usage on Public CI
186+
if(NOT DPNP_SKIP_TENSOR_BUILD)
187+
add_subdirectory(tensor)
188+
endif()
186189

187190
add_subdirectory(backend)
188191
add_subdirectory(backend/extensions/blas)

scripts/gen_coverage.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ def main():
175175
verbose=args.verbose,
176176
)
177177
cmake_args.append("-DDPNP_GENERATE_COVERAGE=ON")
178+
cmake_args.append("-DDPNP_SKIP_TENSOR_BUILD=ON")
178179

179180
env = os.environ.copy()
180181

0 commit comments

Comments
 (0)