mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-15 18:13:10 -04:00
dev-cpp/tiny-dnn: initial import
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
--- a/docs/conf.py
|
||||
+++ b/docs/conf.py
|
||||
@@ -32,7 +32,7 @@
|
||||
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
|
||||
# ones.
|
||||
extensions = [
|
||||
- 'sphinx.ext.mathjax'
|
||||
+ 'sphinx.ext.mathjax', 'sphinx.ext.autodoc'
|
||||
]
|
||||
|
||||
# Add any paths that contain templates here, relative to this directory.
|
||||
29
dev-cpp/tiny-dnn/files/tiny-dnn-disable-gtest-download.patch
Normal file
29
dev-cpp/tiny-dnn/files/tiny-dnn-disable-gtest-download.patch
Normal file
@@ -0,0 +1,29 @@
|
||||
--- a/test/CMakeLists.txt
|
||||
+++ b/test/CMakeLists.txt
|
||||
@@ -2,17 +2,6 @@
|
||||
enable_testing()
|
||||
|
||||
|
||||
-include(../cmake/DownloadProject/DownloadProject.cmake)
|
||||
-#set(gtest_disable_pthreads on) #TODO(randl): Windows?
|
||||
-download_project(
|
||||
- PROJ googletest
|
||||
- GIT_REPOSITORY https://github.com/google/googletest.git
|
||||
- GIT_TAG master
|
||||
- UPDATE_DISCONNECTED 1
|
||||
-)
|
||||
-
|
||||
-add_subdirectory(${googletest_SOURCE_DIR} ${googletest_BINARY_DIR})
|
||||
-
|
||||
enable_testing()
|
||||
|
||||
# in ../googletest-src/googletest/CMakeLists.txt, BUILD_SHARED_LIBS is set to OFF
|
||||
@@ -29,7 +18,7 @@
|
||||
|
||||
add_executable(tiny_dnn_test test.cpp test_no_duplicate_symbols.cpp)
|
||||
target_link_libraries(tiny_dnn_test
|
||||
- ${project_library_target_name} ${REQUIRED_LIBRARIES} gtest gmock)
|
||||
+ ${project_library_target_name} ${REQUIRED_LIBRARIES})
|
||||
|
||||
add_test(all_tests tiny_dnn_test)
|
||||
# workaround for https://gitlab.kitware.com/cmake/cmake/issues/8774
|
||||
Reference in New Issue
Block a user