Commit fddde5f6 authored by Yusei Tahara's avatar Yusei Tahara

component/keras: version up 2.0.0. load scipy.stats with our own libstdc++...

component/keras: version up 2.0.0. load scipy.stats with our own libstdc++ explicitly at the very beginning so that we don't need to build python2 with our won libstdc++.
parent cc70c6e8
...@@ -34,14 +34,6 @@ context = ...@@ -34,14 +34,6 @@ context =
key include_path template-bazel-crosstool:include_path key include_path template-bazel-crosstool:include_path
key gcc_lib64_path template-bazel-crosstool:gcc_lib64_path key gcc_lib64_path template-bazel-crosstool:gcc_lib64_path
[python2.7]
# link to gcc libraries to solve GLIBXXX undefined reference error.
environment =
PATH=${patch:location}/bin:${xz-utils:location}/bin:%(PATH)s
CPPFLAGS=-I${zlib:location}/include -I${readline:location}/include -I${libexpat:location}/include -I${libffi:location}/include -I${ncurses:location}/include -I${ncurses:location}/include/ncursesw -I${bzip2:location}/include -I${gdbm:location}/include -I${openssl:location}/include -I${sqlite3:location}/include -I${gettext:location}/include
LDFLAGS=-L${zlib:location}/lib -L${readline:location}/lib -L${libexpat:location}/lib -L${libffi:location}/lib -L${ncurses:location}/lib -L${bzip2:location}/lib -L${gdbm:location}/lib -L${openssl:location}/lib -L${sqlite3:location}/lib -Wl,-rpath=${zlib:location}/lib -Wl,-rpath=${readline:location}/lib -Wl,-rpath=${libexpat:location}/lib -Wl,-rpath=${libffi:location}/lib -Wl,-rpath=${ncurses:location}/lib -Wl,-rpath=${bzip2:location}/lib -Wl,-rpath=${gdbm:location}/lib -Wl,-rpath=${openssl:location}/lib -Wl,-rpath=${sqlite3:location}/lib -L${gettext:location}/lib -Wl,-rpath=${gettext:location}/lib -Wl,-rpath=${file:location}/lib -Wl,-rpath=${gcc:location}/lib64
[bazel] [bazel]
recipe = slapos.recipe.build recipe = slapos.recipe.build
url = https://github.com/bazelbuild/bazel/releases/download/0.4.3/bazel-0.4.3-dist.zip url = https://github.com/bazelbuild/bazel/releases/download/0.4.3/bazel-0.4.3-dist.zip
......
[buildout] [buildout]
extends = extends =
../tensorflow/buildout.cfg ../tensorflow/buildout.cfg
../python-PyYAML/buildout.cfg
../h5py/buildout.cfg ../h5py/buildout.cfg
../pillow/buildout.cfg ../pillow/buildout.cfg
parts = parts =
...@@ -8,20 +9,23 @@ parts = ...@@ -8,20 +9,23 @@ parts =
[keras-egg] [keras-egg]
recipe = zc.recipe.egg recipe = zc.recipe.egg
initialization =
import scipy.stats # load our own libstdc++ explicitly at the very beginning
eggs = eggs =
${scipy:egg} ${scipy:egg}
${numpy:egg} ${numpy:egg}
${tensorflow-build-install-egg:egg} ${tensorflow-build-install-egg:egg}
${protobuf-python:egg} ${protobuf-python:egg}
Keras ${python-PyYAML:egg}
six
keras
${h5py:egg} ${h5py:egg}
${pillow-python:egg} ${pillow-python:egg}
interpreter = keras-python interpreter = keras-python
scripts = keras-python scripts = keras-python
[versions] [versions]
Keras = 1.2.1 Keras = 2.0.0
Theano = 0.8.2 tensorflow = 1.0.1
tensorflow = 0.12.0
h5py = 2.7.0rc2 h5py = 2.7.0rc2
Cython = 0.25.2 Cython = 0.25.2
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment