File tree Expand file tree Collapse file tree 10 files changed +42
-11
lines changed Expand file tree Collapse file tree 10 files changed +42
-11
lines changed Original file line number Diff line number Diff line change 55scripts
66venv
77build *
8+ compile_flags.txt
89._ *
910tensor_test_files
Original file line number Diff line number Diff line change @@ -46,11 +46,6 @@ target_include_directories(${PROJECT_NAME}
4646 $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR} >
4747 ${HDF5_INCLUDE_DIRS} )
4848
49- if (CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME )
50- add_subdirectory (examples)
51- add_subdirectory (test )
52- endif ()
53-
5449# Installation rules - these are always needed when the library is built
5550install (TARGETS binsparse
5651 EXPORT binsparse-targets
@@ -87,3 +82,8 @@ install(FILES
8782 "${CMAKE_CURRENT_BINARY_DIR} /binsparse-config.cmake"
8883 "${CMAKE_CURRENT_BINARY_DIR} /binsparse-config-version.cmake"
8984 DESTINATION ${CMAKE_INSTALL_LIBDIR} /cmake/binsparse)
85+
86+ if (CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME )
87+ add_subdirectory (examples)
88+ add_subdirectory (test )
89+ endif ()
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ /*
2+ * SPDX-FileCopyrightText: 2024 Binsparse Developers
3+ *
4+ * SPDX-License-Identifier: BSD-3-Clause
5+ */
6+
17#include " ../tensor_test.c"
Original file line number Diff line number Diff line change 1+ /*
2+ * SPDX-FileCopyrightText: 2024 Binsparse Developers
3+ *
4+ * SPDX-License-Identifier: BSD-3-Clause
5+ */
6+
17#include <binsparse/read_tensor.h>
28#include <binsparse/tensor.h>
39#include <binsparse/write_tensor.h>
Original file line number Diff line number Diff line change 1+ /*
2+ * SPDX-FileCopyrightText: 2024 Binsparse Developers
3+ *
4+ * SPDX-License-Identifier: BSD-3-Clause
5+ */
6+
17#pragma once
28
39#ifdef __cplusplus
Original file line number Diff line number Diff line change 1+ /*
2+ * SPDX-FileCopyrightText: 2024 Binsparse Developers
3+ *
4+ * SPDX-License-Identifier: BSD-3-Clause
5+ */
6+
17#pragma once
28
39#include <binsparse/array.h>
Original file line number Diff line number Diff line change 44
55target_sources (binsparse PRIVATE
66 read_matrix.c
7- src/ read_tensor.c
7+ read_tensor.c
88 write_matrix.c
9- src/ write_tensor.c
9+ write_tensor.c
1010)
Original file line number Diff line number Diff line change 1+ /*
2+ * SPDX-FileCopyrightText: 2024 Binsparse Developers
3+ *
4+ * SPDX-License-Identifier: BSD-3-Clause
5+ */
6+
17#include <assert.h>
28#include <binsparse/tensor.h>
39#include <unistd.h>
Original file line number Diff line number Diff line change 1+ # SPDX-FileCopyrightText: 2024 Binsparse Developers
2+ #
3+ # SPDX-License-Identifier: BSD-3-Clause
4+
15using Finch;
26using HDF5;
37
You can’t perform that action at this time.
0 commit comments