summaryrefslogtreecommitdiff
path: root/dev-cpp/tiny-dnn/files
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-04-12 21:03:09 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-04-12 21:03:09 +0000
commitd97953e6ff67978da9554e7b4601aedceb21e215 (patch)
tree674053c902db6972b9716c9ac3b1e960ee7a5358 /dev-cpp/tiny-dnn/files
parent1d1fa5bb30df70070bbbbd2b777b839d31f09c41 (diff)
downloadsrcux-d97953e6ff67978da9554e7b4601aedceb21e215.tar.gz
srcux-d97953e6ff67978da9554e7b4601aedceb21e215.tar.xz
srcux-d97953e6ff67978da9554e7b4601aedceb21e215.zip
Adding metadata
Diffstat (limited to 'dev-cpp/tiny-dnn/files')
-rw-r--r--dev-cpp/tiny-dnn/files/tiny-dnn-add-sphinx-ext-autodoc-to-conf-py.patch11
-rw-r--r--dev-cpp/tiny-dnn/files/tiny-dnn-disable-gtest-download.patch29
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-cpp/tiny-dnn/files/tiny-dnn-add-sphinx-ext-autodoc-to-conf-py.patch b/dev-cpp/tiny-dnn/files/tiny-dnn-add-sphinx-ext-autodoc-to-conf-py.patch
new file mode 100644
index 000000000000..4fadeaa907c0
--- /dev/null
+++ b/dev-cpp/tiny-dnn/files/tiny-dnn-add-sphinx-ext-autodoc-to-conf-py.patch
@@ -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.
diff --git a/dev-cpp/tiny-dnn/files/tiny-dnn-disable-gtest-download.patch b/dev-cpp/tiny-dnn/files/tiny-dnn-disable-gtest-download.patch
new file mode 100644
index 000000000000..40b65ed23dfc
--- /dev/null
+++ b/dev-cpp/tiny-dnn/files/tiny-dnn-disable-gtest-download.patch
@@ -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