diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2022-09-29 01:46:55 -0700 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2022-09-29 01:47:43 -0700 |
commit | 23fc86a8b2366268ee83462175702b90c2074bc2 (patch) | |
tree | 484ad412f05b2d8fb5c77f24e50911a54db1803c /misc/caffe/files | |
parent | net/haproxy24: update to version 2.4.19. (diff) |
misc/caffe: Re-add port: Fast open framework for deep learning
Diffstat (limited to 'misc/caffe/files')
-rw-r--r-- | misc/caffe/files/patch-python_CMakeLists.txt | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/misc/caffe/files/patch-python_CMakeLists.txt b/misc/caffe/files/patch-python_CMakeLists.txt new file mode 100644 index 000000000000..f35ac9083cca --- /dev/null +++ b/misc/caffe/files/patch-python_CMakeLists.txt @@ -0,0 +1,25 @@ +--- python/CMakeLists.txt.orig 2020-02-13 07:20:36 UTC ++++ python/CMakeLists.txt +@@ -23,12 +23,12 @@ endif() + + # ---[ Install + # scripts +-file(GLOB python_files *.py requirements.txt) +-install(FILES ${python_files} DESTINATION python) ++#file(GLOB python_files *.py requirements.txt) ++#install(FILES ${python_files} DESTINATION python) + + # module + install(DIRECTORY caffe +- DESTINATION python ++ DESTINATION ${FREEBSD_PYTHONPREFIX_SITELIBDIR}/caffe + FILES_MATCHING + PATTERN "*.py" + PATTERN "ilsvrc_2012_mean.npy" +@@ -36,5 +36,5 @@ install(DIRECTORY caffe + ) + + # _caffe.so +-install(TARGETS pycaffe DESTINATION python/caffe) ++install(TARGETS pycaffe DESTINATION ${FREEBSD_PYTHONPREFIX_SITELIBDIR}/caffe) + |