diff options
author | Daniel Bermond | 2018-04-23 17:17:07 +0000 |
---|---|---|
committer | Daniel Bermond | 2018-04-23 17:17:07 +0000 |
commit | a6a85a911659c4f8aba3bf96cccb139c8020749e (patch) | |
tree | 762b34ee26f53e44615de1e5476dbf17c37f1694 /.SRCINFO | |
parent | f39bc06c770fd1dddc3362cadc9427e7f2186f11 (diff) | |
download | aur-a6a85a911659c4f8aba3bf96cccb139c8020749e.tar.gz |
Fix build: use gcc5. Switch to python3. Change source repo.
Fix build: use gcc5
-------------------
Unfortunatelly, the current git master branch of caffe2
does not build with the current cuda 9.1 and gcc6 from the
official repositories. This prevented the package to be built
for a long time.
Details here:
https://github.com/caffe2/caffe2/issues/1459
https://github.com/caffe2/caffe2/issues/1636
But it is possible to build with gcc5 from the AUR. Be warned
that gcc5 from the AUR takes a lot of time to compile.
Switch from python2 to python3
------------------------------
Upstream now provides python3 support at git master branch.
Change source to pytorch repository to match upstream changes
-------------------------------------------------------------
Caffe2 source code moved to PyTorch repository.
References
----------
https://github.com/caffe2/caffe2/issues/315#issuecomment-350974915
https://github.com/caffe2/caffe2/commit/a062b05d70c75a6005c6e76109a1dde482729a53#diff-04c6e90faac2675aa89e2176d2eec7d8
Diffstat (limited to '.SRCINFO')
-rw-r--r-- | .SRCINFO | 114 |
1 files changed, 66 insertions, 48 deletions
@@ -1,23 +1,20 @@ -# Generated by mksrcinfo v8 -# Thu Oct 19 17:21:45 UTC 2017 pkgbase = caffe2-git pkgdesc = A new lightweight, modular, and scalable deep learning framework (git version, gpu enabled) - pkgver = 0.8.1.r525.g20edf4eb + pkgver = 0.1.11.r7977.g3b63be063 pkgrel = 1 + epoch = 1 url = http://caffe2.ai/ arch = x86_64 - license = APACHE + license = BSD makedepends = git makedepends = cmake - makedepends = gcc6 - makedepends = ninja - makedepends = confu-git - makedepends = python-peachpy-git + makedepends = gcc5 depends = google-glog depends = protobuf - depends = python2 - depends = python2-numpy - depends = python2-protobuf + depends = lapack + depends = python + depends = python-numpy + depends = python-protobuf depends = cuda depends = cudnn depends = gflags @@ -25,31 +22,32 @@ pkgbase = caffe2-git depends = openmp depends = leveldb depends = lmdb + depends = numactl depends = openmpi depends = snappy depends = zeromq depends = hiredis depends = ffmpeg - depends = python2-flask - depends = python2-future + depends = python-flask + depends = python-future depends = graphviz - depends = python2-hypothesis - depends = python2-jupyter_core - depends = python2-matplotlib - depends = python2-pydot - depends = python2-yaml - depends = python2-requests - depends = python2-scipy - depends = python2-setuptools - depends = python2-six - depends = python2-tornado - depends = python2-gflags - depends = python2-pyzmq - depends = python2-nvd3 - depends = python2-scikit-image - depends = python2-glog - depends = python2-leveldb - depends = python2-lmdb + depends = python-hypothesis + depends = python-jupyter_core + depends = python-matplotlib + depends = python-pydot + depends = python-yaml + depends = python-requests + depends = python-scipy + depends = python-setuptools + depends = python-six + depends = python-tornado + depends = python-gflags + depends = python-pyzmq + depends = python-nvd3 + depends = python-scikit-image + depends = python-glog + depends = python-leveldb + depends = python-lmdb provides = caffe2 conflicts = caffe conflicts = caffe-cpu @@ -59,24 +57,44 @@ pkgbase = caffe2-git conflicts = caffe2-cpu conflicts = caffe2-cpu-git options = !emptydirs - source = caffe2-git::git+https://github.com/caffe2/caffe2.git - source = submodule-pybind11::git+https://github.com/pybind/pybind11.git - source = submodule-nccl::git+https://github.com/nvidia/nccl.git - source = submodule-cub::git+https://github.com/NVlabs/cub.git - source = submodule-eigen::git+https://github.com/RLovelett/eigen.git - source = submodule-googletest::git+https://github.com/google/googletest.git - source = submodule-nervanagpu::git+https://github.com/NervanaSystems/nervanagpu.git - source = submodule-benchmark::git+https://github.com/google/benchmark.git - source = submodule-protobuf::git+https://github.com/google/protobuf.git - source = submodule-android-cmake::git+https://github.com/Yangqing/android-cmake.git - source = submodule-ios-cmake::git+https://github.com/Yangqing/ios-cmake.git - source = submodule-NNPACK::git+https://github.com/Maratyszcza/NNPACK.git - source = submodule-gloo::git+https://github.com/facebookincubator/gloo - source = submodule-NNPACK_deps-pthreadpool::git+https://github.com/Maratyszcza/pthreadpool.git - source = submodule-NNPACK_deps-FXdiv::git+https://github.com/Maratyszcza/FXdiv.git - source = submodule-NNPACK_deps-FP16::git+https://github.com/Maratyszcza/FP16.git - source = submodule-NNPACK_deps-psimd::git+https://github.com/Maratyszcza/psimd.git - source = submodule-aten::git+https://github.com/zdevito/ATen.git + source = pytorch-git::git+https://github.com/pytorch/pytorch.git + source = caffe2-submodule-aten-cpuinfo::git+https://github.com/Maratyszcza/cpuinfo + source = caffe2-submodule-aten-tbb_remote::git+https://github.com/01org/tbb#branch=tbb_2018 + source = caffe2-submodule-aten-catch::git+https://github.com/catchorg/Catch2.git + source = caffe2-submodule-nanopb::git+https://github.com/nanopb/nanopb.git + source = caffe2-submodule-pybind11::git+https://github.com/pybind/pybind11.git + source = caffe2-submodule-nccl::git+https://github.com/nvidia/nccl.git + source = caffe2-submodule-cub::git+https://github.com/NVlabs/cub.git + source = caffe2-submodule-eigen::git+https://github.com/RLovelett/eigen.git + source = caffe2-submodule-googletest::git+https://github.com/google/googletest.git + source = caffe2-submodule-nervanagpu::git+https://github.com/NervanaSystems/nervanagpu.git + source = caffe2-submodule-benchmark::git+https://github.com/google/benchmark.git + source = caffe2-submodule-protobuf::git+https://github.com/google/protobuf.git + source = caffe2-submodule-ios-cmake::git+https://github.com/Yangqing/ios-cmake.git + source = caffe2-submodule-NNPACK::git+https://github.com/Maratyszcza/NNPACK.git + source = caffe2-submodule-gloo::git+https://github.com/facebookincubator/gloo + source = caffe2-submodule-NNPACK_deps-pthreadpool::git+https://github.com/Maratyszcza/pthreadpool.git + source = caffe2-submodule-NNPACK_deps-FXdiv::git+https://github.com/Maratyszcza/FXdiv.git + source = caffe2-submodule-NNPACK_deps-FP16::git+https://github.com/Maratyszcza/FP16.git + source = caffe2-submodule-NNPACK_deps-psimd::git+https://github.com/Maratyszcza/psimd.git + source = caffe2-submodule-zstd::git+https://github.com/facebook/zstd.git + source = caffe2-submodule-cpuinfo::git+https://github.com/Maratyszcza/cpuinfo.git + source = caffe2-submodule-python-enum::git+https://github.com/PeachPy/enum34.git + source = caffe2-submodule-python-peachpy::git+https://github.com/Maratyszcza/PeachPy.git + source = caffe2-submodule-python-six::git+https://github.com/benjaminp/six.git + source = caffe2-submodule-ComputeLibrary::git+https://github.com/ARM-software/ComputeLibrary.git + source = caffe2-submodule-onnx::git+https://github.com/onnx/onnx.git + source = caffe2-submodule-ideep::git+https://github.com/intel/ideep.git + sha256sums = SKIP + sha256sums = SKIP + sha256sums = SKIP + sha256sums = SKIP + sha256sums = SKIP + sha256sums = SKIP + sha256sums = SKIP + sha256sums = SKIP + sha256sums = SKIP + sha256sums = SKIP sha256sums = SKIP sha256sums = SKIP sha256sums = SKIP |