Skip to content

Commit

Permalink
* Upgrade presets for libdc1394 2.2.6, OpenBLAS 0.3.6, NumPy 1.16.3,…
Browse files Browse the repository at this point in the history
… ONNX 1.5.0, Qt 5.12.3, and cpu_features 0.3.0
  • Loading branch information
saudet committed May 8, 2019
1 parent bb51483 commit 102ef1d
Show file tree
Hide file tree
Showing 899 changed files with 3,088 additions and 2,663 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* Load the symbols from the `python` library globally as often required by Python libraries ([issue ContinuumIO/anaconda-issues#6401](https://github.com/ContinuumIO/anaconda-issues/issues/6401))
* Link OpenCV with OpenBLAS/MKL to accelerate some matrix operations
* Add presets for the `quality` module of OpenCV
* Upgrade presets for OpenCV 4.1.0, CPython 3.7.3, nGraph 0.18.1
* Upgrade presets for OpenCV 4.1.0, libdc1394 2.2.6, OpenBLAS 0.3.6, CPython 3.7.3, NumPy 1.16.3, ONNX 1.5.0, nGraph 0.18.1, Qt 5.12.3, cpu_features 0.3.0, and their dependencies

### April 11, 2019 version 1.5
* Include `setlocale()` in presets for Tesseract to work around issues with locale ([issue #694](https://github.com/bytedeco/javacpp-presets/issues/694))
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
JavaCPP Presets
===============

[![Join the chat at https://gitter.im/bytedeco/javacpp](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/bytedeco/javacpp?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![Maven Central](https://maven-badges.herokuapp.com/maven-central/org.bytedeco/javacpp-presets/badge.svg)](https://maven-badges.herokuapp.com/maven-central/org.bytedeco/javacpp-presets) [![Sonatype Nexus (Snapshots)](https://img.shields.io/nexus/s/https/oss.sonatype.org/org.bytedeco/javacpp-presets.svg)](http://bytedeco.org/builds/) <sup>Android, iOS, Linux, Mac OS X:</sup> [![Travis CI](https://travis-ci.org/bytedeco/javacpp-presets.svg?branch=master)](https://travis-ci.org/bytedeco/javacpp-presets) <sup>Windows:</sup> [![AppVeyor](https://ci.appveyor.com/api/projects/status/github/bytedeco/javacpp-presets?branch=master&svg=true)](https://ci.appveyor.com/project/bytedeco/javacpp-presets)
[![Gitter](https://badges.gitter.im/bytedeco/javacpp.svg)](https://gitter.im/bytedeco/javacpp) [![Maven Central](https://maven-badges.herokuapp.com/maven-central/org.bytedeco/javacpp-presets/badge.svg)](https://maven-badges.herokuapp.com/maven-central/org.bytedeco/javacpp-presets) [![Sonatype Nexus (Snapshots)](https://img.shields.io/nexus/s/https/oss.sonatype.org/org.bytedeco/javacpp-presets.svg)](http://bytedeco.org/builds/) <sup>Android, iOS, Linux, Mac OS X:</sup> [![Travis CI](https://travis-ci.org/bytedeco/javacpp-presets.svg?branch=master)](https://travis-ci.org/bytedeco/javacpp-presets) <sup>Windows:</sup> [![AppVeyor](https://ci.appveyor.com/api/projects/status/github/bytedeco/javacpp-presets?branch=master&svg=true)](https://ci.appveyor.com/project/bytedeco/javacpp-presets)


Introduction
Expand Down Expand Up @@ -121,13 +121,13 @@ Each child module in turn relies by default on the included [`cppbuild.sh` scrip
* HDF5 1.10.5 https://www.hdfgroup.org/downloads/
* MKL 2019.3 https://software.intel.com/intel-mkl
* MKL-DNN 0.18.1 https://github.com/intel/mkl-dnn
* OpenBLAS 0.3.5 http://www.openblas.net/
* OpenBLAS 0.3.6 http://www.openblas.net/
* ARPACK-NG 3.7.0 https://github.com/opencollab/arpack-ng
* CMINPACK 1.3.6 https://github.com/devernay/cminpack
* FFTW 3.3.8 http://www.fftw.org/download.html
* GSL 2.5 http://www.gnu.org/software/gsl/#downloading
* CPython 3.7.3 https://www.python.org/downloads/
* NumPy 1.16.2 https://github.com/numpy/numpy
* NumPy 1.16.3 https://github.com/numpy/numpy
* LLVM 8.0.0 http://llvm.org/releases/download.html
* libpostal 1.1-alpha https://github.com/openvenues/libpostal
* Leptonica 1.78.0 http://www.leptonica.org/download.html
Expand All @@ -140,12 +140,12 @@ Each child module in turn relies by default on the included [`cppbuild.sh` scrip
* TensorFlow 1.13.1 https://github.com/tensorflow/tensorflow
* TensorRT 5.1 https://developer.nvidia.com/tensorrt
* The Arcade Learning Environment 0.6.0 https://github.com/mgbellemare/Arcade-Learning-Environment
* ONNX 1.4.1 https://github.com/onnx/onnx
* ONNX 1.5.0 https://github.com/onnx/onnx
* nGraph 0.18.1 https://github.com/NervanaSystems/ngraph
* LiquidFun http://google.github.io/liquidfun/
* Qt 5.12.2 https://download.qt.io/archive/qt/
* Qt 5.12.3 https://download.qt.io/archive/qt/
* Mono/Skia 1.68.0 https://github.com/mono/skia
* cpu_features 0.2.0 https://github.com/google/cpu_features
* cpu_features 0.3.0 https://github.com/google/cpu_features
* System APIs of the build environments:
* Linux (glibc) https://www.gnu.org/software/libc/
* Mac OS X (XNU libc) https://opensource.apple.com/
Expand Down
2 changes: 1 addition & 1 deletion arpack-ng/platform/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<dependency>
<groupId>org.bytedeco</groupId>
<artifactId>openblas-platform</artifactId>
<version>0.3.5-${project.parent.version}</version>
<version>0.3.6-${project.parent.version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
Expand Down
6 changes: 3 additions & 3 deletions arpack-ng/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<dependency>
<groupId>org.bytedeco</groupId>
<artifactId>openblas</artifactId>
<version>0.3.5-${project.parent.version}</version>
<version>0.3.6-${project.parent.version}</version>
</dependency>
<dependency>
<groupId>org.bytedeco</groupId>
Expand All @@ -46,12 +46,12 @@
<dependency>
<groupId>org.bytedeco</groupId>
<artifactId>openblas</artifactId>
<version>0.3.5-${project.parent.version}</version>
<version>0.3.6-${project.parent.version}</version>
</dependency>
<dependency>
<groupId>org.bytedeco</groupId>
<artifactId>openblas</artifactId>
<version>0.3.5-${project.parent.version}</version>
<version>0.3.6-${project.parent.version}</version>
<classifier>${javacpp.platform}</classifier>
</dependency>
</dependencies>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Targeted by JavaCPP version 1.5: DO NOT EDIT THIS FILE
// Targeted by JavaCPP version 1.5.1-SNAPSHOT: DO NOT EDIT THIS FILE

package org.bytedeco.arpackng.global;

Expand Down
12 changes: 6 additions & 6 deletions caffe/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,42 +34,42 @@ We can use [Maven 3](http://maven.apache.org/) to download and install automatic
<modelVersion>4.0.0</modelVersion>
<groupId>org.bytedeco.caffe</groupId>
<artifactId>caffe</artifactId>
<version>1.5</version>
<version>1.5.1-SNAPSHOT</version>
<properties>
<exec.mainClass>caffe</exec.mainClass>
</properties>
<dependencies>
<dependency>
<groupId>org.bytedeco</groupId>
<artifactId>caffe-platform</artifactId>
<version>1.0-1.5</version>
<version>1.0-1.5.1-SNAPSHOT</version>
</dependency>

<!-- Additional dependencies required to use CUDA and cuDNN -->
<dependency>
<groupId>org.bytedeco</groupId>
<artifactId>caffe</artifactId>
<version>1.0-1.5</version>
<version>1.0-1.5.1-SNAPSHOT</version>
<classifier>linux-x86_64-gpu</classifier>
</dependency>
<dependency>
<groupId>org.bytedeco</groupId>
<artifactId>caffe</artifactId>
<version>1.0-1.5</version>
<version>1.0-1.5.1-SNAPSHOT</version>
<classifier>macosx-x86_64-gpu</classifier>
</dependency>

<!-- Additional dependencies to use bundled CUDA and cuDNN -->
<dependency>
<groupId>org.bytedeco</groupId>
<artifactId>cuda</artifactId>
<version>10.1-7.5-1.5</version>
<version>10.1-7.5-1.5.1-SNAPSHOT</version>
<classifier>linux-x86_64-redist</classifier>
</dependency>
<dependency>
<groupId>org.bytedeco</groupId>
<artifactId>cuda</artifactId>
<version>10.1-7.5-1.5</version>
<version>10.1-7.5-1.5.1-SNAPSHOT</version>
<classifier>macosx-x86_64-redist</classifier>
</dependency>

Expand Down
22 changes: 11 additions & 11 deletions caffe/cppbuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,19 +48,19 @@ case $PLATFORM in
;;
esac

GLOG=0.3.5
GFLAGS=2.2.1
PROTO=3.6.1
LEVELDB=1.20
GLOG=0.4.0
GFLAGS=2.2.2
PROTO=3.7.1
LEVELDB=1.22
SNAPPY=1.1.7
LMDB=0.9.22
BOOST=1_68_0
LMDB=0.9.23
BOOST=1_70_0
CAFFE_VERSION=1.0

download https://github.com/google/glog/archive/v$GLOG.tar.gz glog-$GLOG.tar.gz
download https://github.com/gflags/gflags/archive/v$GFLAGS.tar.gz gflags-$GFLAGS.tar.gz
download https://github.com/google/protobuf/releases/download/v$PROTO/protobuf-cpp-$PROTO.tar.gz protobuf-$PROTO.tar.gz
download https://github.com/google/leveldb/archive/v$LEVELDB.tar.gz leveldb-$LEVELDB.tar.gz
download https://github.com/google/leveldb/archive/$LEVELDB.tar.gz leveldb-$LEVELDB.tar.gz
download https://github.com/google/snappy/archive/$SNAPPY.tar.gz snappy-$SNAPPY.tar.gz
download https://github.com/LMDB/lmdb/archive/LMDB_$LMDB.tar.gz lmdb-LMDB_$LMDB.tar.gz
download http://downloads.sourceforge.net/project/boost/boost/${BOOST//_/.}/boost_$BOOST.tar.gz boost_$BOOST.tar.gz
Expand Down Expand Up @@ -106,6 +106,7 @@ export CFLAGS="-fPIC"
export CXXFLAGS="-fPIC"

cd glog-$GLOG
./autogen.sh
./configure "--prefix=$INSTALL_PATH" --disable-shared
make -j $MAKEJ
make install
Expand All @@ -124,11 +125,10 @@ make install
cd ..

cd leveldb-$LEVELDB
mkdir -p out-static/db out-static/helpers out-static/port out-static/table out-static/util
mkdir -p out-shared/db out-shared/helpers out-shared/port out-shared/table out-shared/util
sedinplace 's/cmake_minimum_required.*/cmake_policy(SET CMP0048 NEW)/g' CMakeLists.txt
"$CMAKE" -DBUILD_SHARED_LIBS=OFF "-DCMAKE_INSTALL_PREFIX=$INSTALL_PATH" -DCMAKE_INSTALL_LIBDIR="lib" .
make -j $MAKEJ
cp -a out-static/libleveldb.a "$INSTALL_PATH/lib"
cp -a include/leveldb "$INSTALL_PATH/include/"
make install
cd ..

cd snappy-$SNAPPY
Expand Down
2 changes: 1 addition & 1 deletion caffe/platform/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
<dependency>
<groupId>org.bytedeco</groupId>
<artifactId>openblas-platform</artifactId>
<version>0.3.5-${project.parent.version}</version>
<version>0.3.6-${project.parent.version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
Expand Down
6 changes: 3 additions & 3 deletions caffe/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<dependency>
<groupId>org.bytedeco</groupId>
<artifactId>openblas</artifactId>
<version>0.3.5-${project.parent.version}</version>
<version>0.3.6-${project.parent.version}</version>
</dependency>
<dependency>
<groupId>org.bytedeco</groupId>
Expand Down Expand Up @@ -65,7 +65,7 @@
<dependency>
<groupId>org.bytedeco</groupId>
<artifactId>openblas</artifactId>
<version>0.3.5-${project.parent.version}</version>
<version>0.3.6-${project.parent.version}</version>
</dependency>
<dependency>
<groupId>org.bytedeco</groupId>
Expand All @@ -82,7 +82,7 @@
<dependency>
<groupId>org.bytedeco</groupId>
<artifactId>openblas</artifactId>
<version>0.3.5-${project.parent.version}</version>
<version>0.3.6-${project.parent.version}</version>
<classifier>${javacpp.platform}</classifier>
</dependency>
</dependencies>
Expand Down
12 changes: 6 additions & 6 deletions caffe/samples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,42 +2,42 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.bytedeco.caffe</groupId>
<artifactId>caffe</artifactId>
<version>1.5</version>
<version>1.5.1-SNAPSHOT</version>
<properties>
<exec.mainClass>caffe</exec.mainClass>
</properties>
<dependencies>
<dependency>
<groupId>org.bytedeco</groupId>
<artifactId>caffe-platform</artifactId>
<version>1.0-1.5</version>
<version>1.0-1.5.1-SNAPSHOT</version>
</dependency>

<!-- Additional dependencies required to use CUDA and cuDNN -->
<dependency>
<groupId>org.bytedeco</groupId>
<artifactId>caffe</artifactId>
<version>1.0-1.5</version>
<version>1.0-1.5.1-SNAPSHOT</version>
<classifier>linux-x86_64-gpu</classifier>
</dependency>
<dependency>
<groupId>org.bytedeco</groupId>
<artifactId>caffe</artifactId>
<version>1.0-1.5</version>
<version>1.0-1.5.1-SNAPSHOT</version>
<classifier>macosx-x86_64-gpu</classifier>
</dependency>

<!-- Additional dependencies to use bundled CUDA and cuDNN -->
<dependency>
<groupId>org.bytedeco</groupId>
<artifactId>cuda</artifactId>
<version>10.1-7.5-1.5</version>
<version>10.1-7.5-1.5.1-SNAPSHOT</version>
<classifier>linux-x86_64-redist</classifier>
</dependency>
<dependency>
<groupId>org.bytedeco</groupId>
<artifactId>cuda</artifactId>
<version>10.1-7.5-1.5</version>
<version>10.1-7.5-1.5.1-SNAPSHOT</version>
<classifier>macosx-x86_64-redist</classifier>
</dependency>

Expand Down
9 changes: 6 additions & 3 deletions caffe/src/gen/java/org/bytedeco/caffe/AccuracyParameter.java
Original file line number Diff line number Diff line change
Expand Up @@ -72,16 +72,19 @@ public class AccuracyParameter extends Message {
public native @Cast("bool") final boolean IsInitialized();

public native @Cast("size_t") final long ByteSizeLong();
// #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
// #else
public native @Cast("bool") final boolean MergePartialFromCodedStream(
CodedInputStream input);
// #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
public native final void SerializeWithCachedSizes(
CodedOutputStream output);
public native @Cast("google::protobuf::uint8*") final BytePointer InternalSerializeWithCachedSizesToArray(
@Cast("bool") boolean deterministic, @Cast("google::protobuf::uint8*") BytePointer target);
@Cast("google::protobuf::uint8*") BytePointer target);
public native @Cast("google::protobuf::uint8*") final ByteBuffer InternalSerializeWithCachedSizesToArray(
@Cast("bool") boolean deterministic, @Cast("google::protobuf::uint8*") ByteBuffer target);
@Cast("google::protobuf::uint8*") ByteBuffer target);
public native @Cast("google::protobuf::uint8*") final byte[] InternalSerializeWithCachedSizesToArray(
@Cast("bool") boolean deterministic, @Cast("google::protobuf::uint8*") byte[] target);
@Cast("google::protobuf::uint8*") byte[] target);
public native final int GetCachedSize();

public native @ByVal final Metadata GetMetadata();
Expand Down
6 changes: 4 additions & 2 deletions caffe/src/gen/java/org/bytedeco/caffe/Arena.java
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
//
// - The type T must have (at least) two constructors: a constructor with no
// arguments, called when a T is allocated on the heap; and a constructor with
// a google::protobuf::Arena* argument, called when a T is allocated on an arena. If the
// a Arena* argument, called when a T is allocated on an arena. If the
// second constructor is called with a NULL arena pointer, it must be
// equivalent to invoking the first (no-argument) constructor.
//
Expand All @@ -70,7 +70,9 @@
// arg1, arg2).
//
// This protocol is implemented by all arena-enabled proto2 message classes as
// well as RepeatedPtrField.
// well as protobuf container types like RepeatedPtrField and Map. The protocol
// is internal to protobuf and is not guaranteed to be stable. Non-proto types
// should not rely on this protocol.
//
// Do NOT subclass Arena. This class will be marked as final when C++11 is
// enabled.
Expand Down
9 changes: 6 additions & 3 deletions caffe/src/gen/java/org/bytedeco/caffe/ArgMaxParameter.java
Original file line number Diff line number Diff line change
Expand Up @@ -72,16 +72,19 @@ public class ArgMaxParameter extends Message {
public native @Cast("bool") final boolean IsInitialized();

public native @Cast("size_t") final long ByteSizeLong();
// #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
// #else
public native @Cast("bool") final boolean MergePartialFromCodedStream(
CodedInputStream input);
// #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
public native final void SerializeWithCachedSizes(
CodedOutputStream output);
public native @Cast("google::protobuf::uint8*") final BytePointer InternalSerializeWithCachedSizesToArray(
@Cast("bool") boolean deterministic, @Cast("google::protobuf::uint8*") BytePointer target);
@Cast("google::protobuf::uint8*") BytePointer target);
public native @Cast("google::protobuf::uint8*") final ByteBuffer InternalSerializeWithCachedSizesToArray(
@Cast("bool") boolean deterministic, @Cast("google::protobuf::uint8*") ByteBuffer target);
@Cast("google::protobuf::uint8*") ByteBuffer target);
public native @Cast("google::protobuf::uint8*") final byte[] InternalSerializeWithCachedSizesToArray(
@Cast("bool") boolean deterministic, @Cast("google::protobuf::uint8*") byte[] target);
@Cast("google::protobuf::uint8*") byte[] target);
public native final int GetCachedSize();

public native @ByVal final Metadata GetMetadata();
Expand Down
9 changes: 6 additions & 3 deletions caffe/src/gen/java/org/bytedeco/caffe/BatchNormParameter.java
Original file line number Diff line number Diff line change
Expand Up @@ -72,16 +72,19 @@ public class BatchNormParameter extends Message {
public native @Cast("bool") final boolean IsInitialized();

public native @Cast("size_t") final long ByteSizeLong();
// #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
// #else
public native @Cast("bool") final boolean MergePartialFromCodedStream(
CodedInputStream input);
// #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
public native final void SerializeWithCachedSizes(
CodedOutputStream output);
public native @Cast("google::protobuf::uint8*") final BytePointer InternalSerializeWithCachedSizesToArray(
@Cast("bool") boolean deterministic, @Cast("google::protobuf::uint8*") BytePointer target);
@Cast("google::protobuf::uint8*") BytePointer target);
public native @Cast("google::protobuf::uint8*") final ByteBuffer InternalSerializeWithCachedSizesToArray(
@Cast("bool") boolean deterministic, @Cast("google::protobuf::uint8*") ByteBuffer target);
@Cast("google::protobuf::uint8*") ByteBuffer target);
public native @Cast("google::protobuf::uint8*") final byte[] InternalSerializeWithCachedSizesToArray(
@Cast("bool") boolean deterministic, @Cast("google::protobuf::uint8*") byte[] target);
@Cast("google::protobuf::uint8*") byte[] target);
public native final int GetCachedSize();

public native @ByVal final Metadata GetMetadata();
Expand Down
9 changes: 6 additions & 3 deletions caffe/src/gen/java/org/bytedeco/caffe/BiasParameter.java
Original file line number Diff line number Diff line change
Expand Up @@ -72,16 +72,19 @@ public class BiasParameter extends Message {
public native @Cast("bool") final boolean IsInitialized();

public native @Cast("size_t") final long ByteSizeLong();
// #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
// #else
public native @Cast("bool") final boolean MergePartialFromCodedStream(
CodedInputStream input);
// #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
public native final void SerializeWithCachedSizes(
CodedOutputStream output);
public native @Cast("google::protobuf::uint8*") final BytePointer InternalSerializeWithCachedSizesToArray(
@Cast("bool") boolean deterministic, @Cast("google::protobuf::uint8*") BytePointer target);
@Cast("google::protobuf::uint8*") BytePointer target);
public native @Cast("google::protobuf::uint8*") final ByteBuffer InternalSerializeWithCachedSizesToArray(
@Cast("bool") boolean deterministic, @Cast("google::protobuf::uint8*") ByteBuffer target);
@Cast("google::protobuf::uint8*") ByteBuffer target);
public native @Cast("google::protobuf::uint8*") final byte[] InternalSerializeWithCachedSizesToArray(
@Cast("bool") boolean deterministic, @Cast("google::protobuf::uint8*") byte[] target);
@Cast("google::protobuf::uint8*") byte[] target);
public native final int GetCachedSize();

public native @ByVal final Metadata GetMetadata();
Expand Down
Loading

0 comments on commit 102ef1d

Please sign in to comment.