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 5
5
scripts
6
6
venv
7
7
build *
8
+ compile_flags.txt
8
9
._ *
9
10
tensor_test_files
Original file line number Diff line number Diff line change @@ -46,11 +46,6 @@ target_include_directories(${PROJECT_NAME}
46
46
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR} >
47
47
${HDF5_INCLUDE_DIRS} )
48
48
49
- if (CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME )
50
- add_subdirectory (examples)
51
- add_subdirectory (test )
52
- endif ()
53
-
54
49
# Installation rules - these are always needed when the library is built
55
50
install (TARGETS binsparse
56
51
EXPORT binsparse-targets
@@ -87,3 +82,8 @@ install(FILES
87
82
"${CMAKE_CURRENT_BINARY_DIR} /binsparse-config.cmake"
88
83
"${CMAKE_CURRENT_BINARY_DIR} /binsparse-config-version.cmake"
89
84
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
+
1
7
#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
+
1
7
#include <binsparse/read_tensor.h>
2
8
#include <binsparse/tensor.h>
3
9
#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
+
1
7
#pragma once
2
8
3
9
#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
+
1
7
#pragma once
2
8
3
9
#include <binsparse/array.h>
Original file line number Diff line number Diff line change 4
4
5
5
target_sources (binsparse PRIVATE
6
6
read_matrix.c
7
- src/ read_tensor.c
7
+ read_tensor.c
8
8
write_matrix.c
9
- src/ write_tensor.c
9
+ write_tensor.c
10
10
)
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
+
1
7
#include <assert.h>
2
8
#include <binsparse/tensor.h>
3
9
#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
+
1
5
using Finch;
2
6
using HDF5;
3
7
You can’t perform that action at this time.
0 commit comments