Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Lisa Casino
slapos
Commits
79e10cb2
Commit
79e10cb2
authored
Apr 03, 2020
by
Julien Muchembled
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not harcode version of wanted GCC
parent
3f930869
Changes
45
Hide whitespace changes
Inline
Side-by-side
Showing
45 changed files
with
190 additions
and
226 deletions
+190
-226
component/PyWavelets/buildout.cfg
component/PyWavelets/buildout.cfg
+0
-5
component/bazel/bazel_tools_cpp_CROSSTOOL.in
component/bazel/bazel_tools_cpp_CROSSTOOL.in
+11
-12
component/bazel/buildout.cfg
component/bazel/buildout.cfg
+7
-27
component/boost-lib/buildout.cfg
component/boost-lib/buildout.cfg
+1
-3
component/caddy/buildout.cfg
component/caddy/buildout.cfg
+0
-2
component/defaults.cfg
component/defaults.cfg
+52
-0
component/gcc/buildout.cfg
component/gcc/buildout.cfg
+25
-5
component/glibmm/buildout.cfg
component/glibmm/buildout.cfg
+2
-4
component/golang/buildout.cfg
component/golang/buildout.cfg
+1
-8
component/golang/goenv.sh.in
component/golang/goenv.sh.in
+1
-1
component/gtkmm/buildout.cfg
component/gtkmm/buildout.cfg
+8
-13
component/helloweb/buildout.cfg
component/helloweb/buildout.cfg
+0
-1
component/icu/buildout.cfg
component/icu/buildout.cfg
+0
-10
component/inkscape/buildout.cfg
component/inkscape/buildout.cfg
+5
-7
component/jsl/buildout.cfg
component/jsl/buildout.cfg
+6
-2
component/kumo/buildout.cfg
component/kumo/buildout.cfg
+2
-5
component/libatlas/buildout.cfg
component/libatlas/buildout.cfg
+1
-2
component/libsigc/buildout.cfg
component/libsigc/buildout.cfg
+1
-4
component/mariadb/buildout.cfg
component/mariadb/buildout.cfg
+2
-3
component/nodejs/buildout.cfg
component/nodejs/buildout.cfg
+2
-3
component/numpy/openblas.cfg
component/numpy/openblas.cfg
+0
-5
component/onlyoffice-core/buildout.cfg
component/onlyoffice-core/buildout.cfg
+3
-4
component/openblas/buildout.cfg
component/openblas/buildout.cfg
+4
-6
component/powerdns/buildout.cfg
component/powerdns/buildout.cfg
+1
-2
component/python-2.7/buildout.cfg
component/python-2.7/buildout.cfg
+1
-2
component/python3/buildout.cfg
component/python3/buildout.cfg
+2
-5
component/pytorch/buildout.cfg
component/pytorch/buildout.cfg
+3
-16
component/qt/buildout.cfg
component/qt/buildout.cfg
+1
-3
component/r-language/buildout.cfg
component/r-language/buildout.cfg
+1
-3
component/ragel/buildout.cfg
component/ragel/buildout.cfg
+2
-8
component/rpy2/buildout.cfg
component/rpy2/buildout.cfg
+1
-4
component/scikit-image/buildout.cfg
component/scikit-image/buildout.cfg
+0
-5
component/scikit-learn/buildout.cfg
component/scikit-learn/buildout.cfg
+0
-5
component/tensorboard/buildout.cfg
component/tensorboard/buildout.cfg
+1
-11
component/tensorflow/buildout.cfg
component/tensorflow/buildout.cfg
+1
-13
component/tesseract/buildout.cfg
component/tesseract/buildout.cfg
+2
-4
software/cloudooo/software-common.cfg
software/cloudooo/software-common.cfg
+5
-0
software/dream/software.cfg
software/dream/software.cfg
+4
-0
software/gitlab/software.cfg
software/gitlab/software.cfg
+0
-1
software/grafana/software.cfg
software/grafana/software.cfg
+0
-1
software/jupyter/software.cfg
software/jupyter/software.cfg
+4
-0
software/nextcloud/software.cfg
software/nextcloud/software.cfg
+5
-0
software/powerdns/software.cfg
software/powerdns/software.cfg
+5
-0
software/wendelin/software.cfg
software/wendelin/software.cfg
+13
-7
stack/erp5/buildout.cfg
stack/erp5/buildout.cfg
+4
-4
No files found.
component/PyWavelets/buildout.cfg
View file @
79e10cb2
[buildout]
[buildout]
extends =
extends =
../gcc/buildout.cfg
../numpy/openblas.cfg
../numpy/openblas.cfg
../cython/buildout.cfg
../cython/buildout.cfg
../scipy/buildout.cfg
../scipy/buildout.cfg
...
@@ -20,8 +19,6 @@ setup-eggs =
...
@@ -20,8 +19,6 @@ setup-eggs =
${scipy:egg}
${scipy:egg}
${cython:egg}
${cython:egg}
rpath =
rpath =
${gcc:location}/lib
${gcc:location}/lib64
${openblas:location}/lib
${openblas:location}/lib
[PyWavelets-repository]
[PyWavelets-repository]
...
@@ -42,6 +39,4 @@ setup-eggs =
...
@@ -42,6 +39,4 @@ setup-eggs =
${numpy:egg}
${numpy:egg}
${scipy:egg}
${scipy:egg}
rpath =
rpath =
${gcc:location}/lib
${gcc:location}/lib64
${openblas:location}/lib
${openblas:location}/lib
component/bazel/bazel_tools_cpp_CROSSTOOL.in
View file @
79e10cb2
...
@@ -105,15 +105,14 @@ toolchain {
...
@@ -105,15 +105,14 @@ toolchain {
target_system_name: "local"
target_system_name: "local"
toolchain_identifier: "local_linux"
toolchain_identifier: "local_linux"
tool_path { name: "ar" path: "{{ binutils_
path }}
/ar" }
tool_path { name: "ar" path: "{{ binutils_
location }}/bin
/ar" }
tool_path { name: "compat-ld" path: "{{
binutils_path }}
/ld" }
tool_path { name: "compat-ld" path: "{{
gcc_location }}/bin
/ld" }
tool_path { name: "cpp" path: "{{
cpp_path }}
" }
tool_path { name: "cpp" path: "{{
gcc_location }}/bin/cpp
" }
tool_path { name: "dwp" path: "/usr/bin/dwp" }
tool_path { name: "dwp" path: "/usr/bin/dwp" }
tool_path { name: "gcc" path: "{{ gcc_
path }}
" }
tool_path { name: "gcc" path: "{{ gcc_
location }}/bin/gcc
" }
cxx_flag: "-std=c++0x"
cxx_flag: "-std=c++0x"
linker_flag: "-lstdc++"
linker_flag: "-lstdc++"
linker_flag: "-B/usr/bin/"
linker_flag: "-B/usr/bin/"
linker_flag: "-Wl,rpath={{ gcc_lib64_path }}"
# TODO(bazel-team): In theory, the path here ought to exactly match the path
# TODO(bazel-team): In theory, the path here ought to exactly match the path
# used by gcc. That works because bazel currently doesn't track files at
# used by gcc. That works because bazel currently doesn't track files at
...
@@ -122,19 +121,19 @@ toolchain {
...
@@ -122,19 +121,19 @@ toolchain {
cxx_builtin_include_directory: "/usr/lib/gcc/"
cxx_builtin_include_directory: "/usr/lib/gcc/"
cxx_builtin_include_directory: "/usr/local/include"
cxx_builtin_include_directory: "/usr/local/include"
cxx_builtin_include_directory: "/usr/include"
cxx_builtin_include_directory: "/usr/include"
cxx_builtin_include_directory: "{{
include_path }}
"
cxx_builtin_include_directory: "{{
gcc_location }}/include
"
tool_path { name: "gcov" path: "{{ gc
onv_path }}
" }
tool_path { name: "gcov" path: "{{ gc
c_location }}/bin/gconv
" }
# C(++) compiles invoke the compiler (as that is the one knowing where
# C(++) compiles invoke the compiler (as that is the one knowing where
# to find libraries), but we provide LD so other rules can invoke the linker.
# to find libraries), but we provide LD so other rules can invoke the linker.
tool_path { name: "ld" path: "{{
binutils_path }}
/ld" }
tool_path { name: "ld" path: "{{
gcc_location }}/bin
/ld" }
tool_path { name: "nm" path: "{{ binutils_
path }}
/nm" }
tool_path { name: "nm" path: "{{ binutils_
location }}/bin
/nm" }
tool_path { name: "objcopy" path: "{{ binutils_
path }}
/objcopy" }
tool_path { name: "objcopy" path: "{{ binutils_
location }}/bin
/objcopy" }
objcopy_embed_flag: "-I"
objcopy_embed_flag: "-I"
objcopy_embed_flag: "binary"
objcopy_embed_flag: "binary"
tool_path { name: "objdump" path: "{{ binutils_
path }}
/objdump" }
tool_path { name: "objdump" path: "{{ binutils_
location }}/bin
/objdump" }
tool_path { name: "strip" path: "{{ binutils_
path }}
/strip" }
tool_path { name: "strip" path: "{{ binutils_
location }}/bin
/strip" }
# Anticipated future default.
# Anticipated future default.
unfiltered_cxx_flag: "-no-canonical-prefixes"
unfiltered_cxx_flag: "-no-canonical-prefixes"
...
...
component/bazel/buildout.cfg
View file @
79e10cb2
[buildout]
[buildout]
extends =
extends =
../
gcc/buildout
.cfg
../
defaults
.cfg
../unzip/buildout.cfg
../unzip/buildout.cfg
../zip/buildout.cfg
../zip/buildout.cfg
parts =
parts =
...
@@ -22,19 +22,9 @@ mode = 640
...
@@ -22,19 +22,9 @@ mode = 640
filename = bazel_tools_cpp_CROSSTOOL
filename = bazel_tools_cpp_CROSSTOOL
template = ${:_profile_base_location_}/${:filename}.in
template = ${:_profile_base_location_}/${:filename}.in
rendered = ${:location}/${:filename}
rendered = ${:location}/${:filename}
cpp_path = ${gcc:location}/bin/cpp
gcc_path = ${gcc:location}/bin/gcc
binutils_path = ${binutils:location}/bin
gconv_path = ${gcc:location}/bin/gconv
include_path = ${gcc:location}/include
gcc_lib64_path = ${gcc:location}/lib64
context =
context =
key cpp_path template-bazel-crosstool:cpp_path
key gcc_location gcc:prefix
key gcc_path template-bazel-crosstool:gcc_path
key binutils_location binutils:location
key binutils_path template-bazel-crosstool:binutils_path
key gconv_path template-bazel-crosstool:gconv_path
key include_path template-bazel-crosstool:include_path
key gcc_lib64_path template-bazel-crosstool:gcc_lib64_path
[template-bazel-src-main-cpp-build]
[template-bazel-src-main-cpp-build]
recipe = slapos.recipe.template:jinja2
recipe = slapos.recipe.template:jinja2
...
@@ -43,9 +33,11 @@ mode = 640
...
@@ -43,9 +33,11 @@ mode = 640
filename = bazel_src_main_cpp_BUILD
filename = bazel_src_main_cpp_BUILD
template = ${:_profile_base_location_}/${:filename}.in
template = ${:_profile_base_location_}/${:filename}.in
rendered = ${:location}/${:filename}
rendered = ${:location}/${:filename}
linkopts = -Wl,-rpath,${gcc:location}/lib64
# We previously passed an argument that we don't want anymore. Rather than
# changing templates, we pass a dummy argument that will have no effect.
linkopts = -DSLAPOS_DUMMY=
context =
context =
key linkopts
template-bazel-src-main-cpp-build
:linkopts
key linkopts :linkopts
[template-bazel-src-main-tools-build]
[template-bazel-src-main-tools-build]
<= template-bazel-src-main-cpp-build
<= template-bazel-src-main-cpp-build
...
@@ -67,9 +59,6 @@ bazel-src-main-tools-build-path = ${template-bazel-src-main-tools-build:rendered
...
@@ -67,9 +59,6 @@ bazel-src-main-tools-build-path = ${template-bazel-src-main-tools-build:rendered
bazel-src-tools-singlejar-build-path = ${template-bazel-src-tools-singlejar-build:rendered}
bazel-src-tools-singlejar-build-path = ${template-bazel-src-tools-singlejar-build:rendered}
unzip-bin = ${unzip:location}/bin
unzip-bin = ${unzip:location}/bin
zip-bin = ${zip:location}/bin
zip-bin = ${zip:location}/bin
gcc-bin = ${gcc:location}/bin
gcc-lib = ${gcc:location}/lib
gcc-lib64 = ${gcc:location}/lib64
java_home = ${zulu:location}
java_home = ${zulu:location}
bazelrc = ${:_profile_base_location_}/bazelrc
bazelrc = ${:_profile_base_location_}/bazelrc
install =
install =
...
@@ -98,19 +87,10 @@ install =
...
@@ -98,19 +87,10 @@ install =
path = ':'.join((
path = ':'.join((
options['unzip-bin'],
options['unzip-bin'],
options['zip-bin'],
options['zip-bin'],
options['gcc-bin'],
os.environ['PATH']
os.environ['PATH']
))
))
env = {'JAVA_HOME':options['java_home'],
env = {'JAVA_HOME':options['java_home'],
'PATH':path,
'PATH':path,
'LD_LIBRARY_PATH':':'.join((
options['gcc-lib'],
options['gcc-lib64'],
os.environ.get('LD_LIBRARY_PATH', '')
)),
'LDFLAGS':'-Wl,-rpath='+options['gcc-lib64'],
'CC':options['gcc-bin']+'/gcc',
'CXX':options['gcc-bin']+'/g++',
'BAZELRC':options['bazelrc'],
'BAZELRC':options['bazelrc'],
'VERBOSE':'yes',
'VERBOSE':'yes',
}
}
...
...
component/boost-lib/buildout.cfg
View file @
79e10cb2
...
@@ -3,7 +3,6 @@ parts =
...
@@ -3,7 +3,6 @@ parts =
boost-lib
boost-lib
extends =
extends =
../bzip2/buildout.cfg
../bzip2/buildout.cfg
../gcc/buildout.cfg
../zlib/buildout.cfg
../zlib/buildout.cfg
../xz-utils/buildout.cfg
../xz-utils/buildout.cfg
...
@@ -17,9 +16,8 @@ configure-command = ./bootstrap.sh --prefix=${:location} --without-icu
...
@@ -17,9 +16,8 @@ configure-command = ./bootstrap.sh --prefix=${:location} --without-icu
make-binary =
make-binary =
make-options =
make-options =
make-targets = for a in $MAKEFLAGS; do case $a in -j*) j=$a; break;; esac; done;
make-targets = for a in $MAKEFLAGS; do case $a in -j*) j=$a; break;; esac; done;
./b2 $j link=shared dll-path=${:location}/lib:${bzip2:location}/lib:${
gcc:location}/lib:${gcc:location}/lib64:${zlib:location}/lib:${xz-utils
:location}/lib install
./b2 $j link=shared dll-path=${:location}/lib:${bzip2:location}/lib:${
xz-utils:location}/lib:${zlib
:location}/lib install
environment =
environment =
PATH=${gcc:location}/bin:%(PATH)s
BZIP2_INCLUDE=${bzip2:location}/include
BZIP2_INCLUDE=${bzip2:location}/include
BZIP2_LIBPATH=${bzip2:location}/lib
BZIP2_LIBPATH=${bzip2:location}/lib
ZLIB_INCLUDE=${zlib:location}/include
ZLIB_INCLUDE=${zlib:location}/include
...
...
component/caddy/buildout.cfg
View file @
79e10cb2
...
@@ -8,8 +8,6 @@ parts =
...
@@ -8,8 +8,6 @@ parts =
[gowork]
[gowork]
# Caddy 1.x+ uses go modules, for which gowork does not work yet
# Caddy 1.x+ uses go modules, for which gowork does not work yet
golang = ${golang1.12:location}
golang = ${golang1.12:location}
gcc-bin-directory = ${golang1.12:gcc-bin-directory}
install =
install =
[gowork.goinstall]
[gowork.goinstall]
...
...
component/defaults.cfg
View file @
79e10cb2
...
@@ -4,6 +4,11 @@ extends =
...
@@ -4,6 +4,11 @@ extends =
python3/buildout.cfg
python3/buildout.cfg
python = python
python = python
# Unless a software release needs several versions of either Python or GCC
# at the same time, the [pythonX.Y] & [gcc-X.Y] must not be referred directly,
# even if a component works only with specific versions.
# There may be exceptions in profiles that were written before this one.
[python]
[python]
recipe = slapos.recipe.build
recipe = slapos.recipe.build
part = python2.7
part = python2.7
...
@@ -17,3 +22,50 @@ update =
...
@@ -17,3 +22,50 @@ update =
PATH = os.environ['PATH']
PATH = os.environ['PATH']
if path not in PATH.split(os.pathsep):
if path not in PATH.split(os.pathsep):
os.environ['PATH'] = path + os.pathsep + PATH
os.environ['PATH'] = path + os.pathsep + PATH
depends = ${gcc:recipe}
[gcc]
recipe = slapos.recipe.build
# Latest version provided by SlapOS.
part = gcc-8.2
# Minimum version for all components that might be required for
# slapos.rebootstrap (see https://bugs.python.org/issue34112 about Python 3.7+).
min_version = 5.4
init =
import os, subprocess
parse_version = lambda ver: tuple(map(int, ver.strip().split('.')))
try:
current = subprocess.check_output(('gcc', '-dumpfullversion'),
stderr=subprocess.STDOUT,
universal_newlines=True).strip()
except subprocess.CalledProcessError: # BBB: old GCC
current = subprocess.check_output(('gcc', '-dumpversion'),
universal_newlines=True).strip()
self.system_version = current
# If we're still going to use the same GCC,
# the conditions have no impact on the dependant parts.
min_version = options.pop('min_version', None)
max_version = options.pop('max_version', None)
###
if (parse_version(min_version or current)
<= parse_version(current)
<= parse_version(max_version or current)):
del options['part']
for path in os.getenv('PATH', '').split(os.pathsep): # PY3: shutil.which
gcc = os.path.join(path, 'gcc')
if os.access(gcc, os.X_OK) and not os.path.isdir(gcc):
options['prefix'] = os.path.dirname(path)
break
else:
options['prefix'] = self.buildout[options['part']]['location']
options.barrier()
update =
if 'part' in options:
import os
env = os.environ
env['PATH'] = os.pathsep.join((
os.path.join(options['prefix'], 'bin'),
env['PATH']
))
else:
print("Using system GCC (%s)" % self.system_version)
component/gcc/buildout.cfg
View file @
79e10cb2
...
@@ -11,12 +11,16 @@ extends =
...
@@ -11,12 +11,16 @@ extends =
../zlib/buildout.cfg
../zlib/buildout.cfg
parts =
parts =
gcc
gcc
-8.2
[gcc-common]
[gcc-common]
recipe = slapos.recipe.cmmi
recipe = slapos.recipe.cmmi
shared = true
shared = true
url = http://ftp.gnu.org/gnu/gcc/gcc-${:version}/gcc-${:version}.tar.xz
url = http://ftp.gnu.org/gnu/gcc/gcc-${:version}/gcc-${:version}.tar.xz
pre-configure =
set %(location)s/bin
mkdir -p $1
ln -s ${binutils:location}/bin/ld $1/ld
configure-options =
configure-options =
--disable-bootstrap
--disable-bootstrap
--disable-multilib
--disable-multilib
...
@@ -25,17 +29,33 @@ configure-options =
...
@@ -25,17 +29,33 @@ configure-options =
--with-mpc=${mpc:location}
--with-mpc=${mpc:location}
--enable-languages="c,c++,fortran"
--enable-languages="c,c++,fortran"
--with-isl=${isl:location}
--with-isl=${isl:location}
--with-ld=
${binutils:location}
/bin/ld
--with-ld=
@@LOCATION@@
/bin/ld
--with-as=${binutils:location}/bin/as
--with-as=${binutils:location}/bin/as
post-install =
post-install =
cd '
@@LOCATION@@
/bin'
cd '
%(location)s
/bin'
ln -s gcc cc
ln -s gcc cc
rm ld
for x in `for x in %(location)s/lib*/*.so; do echo $${x%%/*}; done |sort -u`
do set $1:$x "$2 -rpath=$x"
done
cat <<EOF >ld
#!/bin/sh -e
case \$#:\$1 in 0:|1:-*) ;; *)
if [ "\$LD_RUN_PATH" ]
then LD_RUN_PATH=\$LD_RUN_PATH$1
else set -- "\$@" $2
fi
;;
esac
exec ${binutils:location}/bin/ld "\$@"
EOF
chmod +x ld
environment =
environment =
CPPFLAGS=-I${zlib:location}/include
CPPFLAGS=-I${zlib:location}/include
LDFLAGS=-Wl,-rpath=${gmp:location}/lib -Wl,-rpath=${isl:location}/lib -Wl,-rpath=${mpc:location}/lib -Wl,-rpath=${mpfr:location}/lib -L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib
LDFLAGS=-Wl,-rpath=${gmp:location}/lib -Wl,-rpath=${isl:location}/lib -Wl,-rpath=${mpc:location}/lib -Wl,-rpath=${mpfr:location}/lib -L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib
PATH=${binutils:location}/bin:${gettext:location}/bin:${perl:location}/bin:${tar:location}/bin:%(PATH)s
PATH=${binutils:location}/bin:${gettext:location}/bin:${perl:location}/bin:${tar:location}/bin:%(PATH)s
[gcc]
[gcc
-5.5
]
<= gcc-common
<= gcc-common
version = 5.5.0
version = 5.5.0
md5sum = 0f70424213b4a1113c04ba66ddda0c1f
md5sum = 0f70424213b4a1113c04ba66ddda0c1f
...
@@ -52,7 +72,7 @@ version = 8.2.0
...
@@ -52,7 +72,7 @@ version = 8.2.0
md5sum = 4ab282f414676496483b3e1793d07862
md5sum = 4ab282f414676496483b3e1793d07862
[gcc-minimal]
[gcc-minimal]
<= gcc
<= gcc
-5.5
configure-options =
configure-options =
--disable-bootstrap
--disable-bootstrap
--disable-multilib
--disable-multilib
...
...
component/glibmm/buildout.cfg
View file @
79e10cb2
[buildout]
[buildout]
extends =
extends =
../gcc/buildout.cfg
../gettext/buildout.cfg
../gettext/buildout.cfg
../glib/buildout.cfg
../glib/buildout.cfg
../libsigc/buildout.cfg
../libsigc/buildout.cfg
...
@@ -19,8 +18,7 @@ pkg_config_depends = ${glib:location}/lib/pkgconfig:${libsigc:location}/lib/pkgc
...
@@ -19,8 +18,7 @@ pkg_config_depends = ${glib:location}/lib/pkgconfig:${libsigc:location}/lib/pkgc
configure-options =
configure-options =
--disable-documentation
--disable-documentation
environment =
environment =
PATH=${
gcc:location}/bin:${
perl:location}/bin:${pkgconfig:location}/bin:${xz-utils:location}/bin:${glib:location}/bin:%(PATH)s
PATH=${perl:location}/bin:${pkgconfig:location}/bin:${xz-utils:location}/bin:${glib:location}/bin:%(PATH)s
PKG_CONFIG_PATH=${:pkg_config_depends}
PKG_CONFIG_PATH=${:pkg_config_depends}
CPPFLAGS=-I${gettext:location}/include
CPPFLAGS=-I${gettext:location}/include
LD_LIBRARY_PATH=${gcc:location}/lib:${gcc:location}/lib64
LDFLAGS=-L${gettext:location}/lib -Wl,-rpath=${gettext:location}/lib
LDFLAGS=-Wl,-rpath=${gcc:location}/lib -Wl,-rpath=${gcc:location}/lib64 -L${gettext:location}/lib -Wl,-rpath=${gettext:location}/lib
component/golang/buildout.cfg
View file @
79e10cb2
...
@@ -17,12 +17,9 @@ configure-command = :
...
@@ -17,12 +17,9 @@ configure-command = :
location = @@LOCATION@@
location = @@LOCATION@@
make-binary =
make-binary =
make-targets= cd src && ./all.bash && cp -alf .. ${:location}
make-targets= cd src && ./all.bash && cp -alf .. ${:location}
# gcc version to use
gcc-bin-directory = ${gcc-8.2:location}/bin
# some testdata files have an issue with slapos.extension.strip.
# some testdata files have an issue with slapos.extension.strip.
post-install = ${findutils:location}/bin/find ${:location}/src -type d -name testdata -exec rm -rf {} \; || true
post-install = ${findutils:location}/bin/find ${:location}/src -type d -name testdata -exec rm -rf {} \; || true
environment =
environment =
PATH=${:gcc-bin-directory}:%(PATH)s
GOROOT_FINAL=${:location}
GOROOT_FINAL=${:location}
${:environment-extra}
${:environment-extra}
...
@@ -106,9 +103,6 @@ depends = ${gowork.goinstall:recipe}
...
@@ -106,9 +103,6 @@ depends = ${gowork.goinstall:recipe}
# go version used for the workspace (possible to override in applications)
# go version used for the workspace (possible to override in applications)
golang = ${golang1.10:location}
golang = ${golang1.10:location}
# gcc version must be compatible with go version selected
gcc-bin-directory = ${golang1.10:gcc-bin-directory}
# no special build flags by default
# no special build flags by default
buildflags =
buildflags =
...
@@ -120,7 +114,6 @@ recipe = plone.recipe.command
...
@@ -120,7 +114,6 @@ recipe = plone.recipe.command
command = :
command = :
# env.sh for compiling and running go programs
# env.sh for compiling and running go programs
[gowork]
env.sh = ${gowork-env.sh:output}
env.sh = ${gowork-env.sh:output}
[gowork-env.sh]
[gowork-env.sh]
...
@@ -128,7 +121,7 @@ recipe = slapos.recipe.template
...
@@ -128,7 +121,7 @@ recipe = slapos.recipe.template
url = ${:_profile_base_location_}/goenv.sh.in
url = ${:_profile_base_location_}/goenv.sh.in
output = ${gowork:directory}/env.sh
output = ${gowork:directory}/env.sh
depends = ${gowork.mkdir:recipe}
depends = ${gowork.mkdir:recipe}
md5sum =
7eaad1f9aabd3cfad554975098c5d4c
3
md5sum =
6bcf96cf18ea68ce6e378ed8d49346a
3
[gowork.mkdir]
[gowork.mkdir]
# NOTE do not use slapos.cookbook:mkdirectory here - if anything in software (not instance)
# NOTE do not use slapos.cookbook:mkdirectory here - if anything in software (not instance)
...
...
component/golang/goenv.sh.in
View file @
79e10cb2
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
# ---- 8< ---- (buildout substitution here)
# ---- 8< ---- (buildout substitution here)
# PATH so that go & friends work out of the box
# PATH so that go & friends work out of the box
export PATH=${gowork:golang}/bin:${git:location}/bin:${pkgconfig:location}/bin:${buildout:bin-directory}:${g
owork:gcc-bin-directory}
:$PATH
export PATH=${gowork:golang}/bin:${git:location}/bin:${pkgconfig:location}/bin:${buildout:bin-directory}:${g
cc:prefix}/bin
:$PATH
X=${gowork:directory}
X=${gowork:directory}
export PKG_CONFIG_PATH=$(echo -n "${gowork:cpkgpath}" |tr '\n' ':'):$PKG_CONFIG_PATH
export PKG_CONFIG_PATH=$(echo -n "${gowork:cpkgpath}" |tr '\n' ':'):$PKG_CONFIG_PATH
...
...
component/gtkmm/buildout.cfg
View file @
79e10cb2
...
@@ -2,7 +2,6 @@
...
@@ -2,7 +2,6 @@
extends =
extends =
../bzip2/buildout.cfg
../bzip2/buildout.cfg
../freetype/buildout.cfg
../freetype/buildout.cfg
../gcc/buildout.cfg
../gettext/buildout.cfg
../gettext/buildout.cfg
../glibmm/buildout.cfg
../glibmm/buildout.cfg
../gtk-2/buildout.cfg
../gtk-2/buildout.cfg
...
@@ -23,11 +22,10 @@ configure-options =
...
@@ -23,11 +22,10 @@ configure-options =
--disable-static
--disable-static
--disable-documentation
--disable-documentation
environment =
environment =
PATH=${freetype:location}/bin:${
gcc:location}/bin:${
perl:location}/bin:${pkgconfig:location}/bin:${xz-utils:location}/bin:%(PATH)s
PATH=${freetype:location}/bin:${perl:location}/bin:${pkgconfig:location}/bin:${xz-utils:location}/bin:%(PATH)s
PKG_CONFIG_PATH=${:pkg_config_depends}
PKG_CONFIG_PATH=${:pkg_config_depends}
CPPFLAGS=-I${libX11:location}/include -I${libXrender:location}/include -I${renderext:location}/include -I${xproto:location}/include
CPPFLAGS=-I${libX11:location}/include -I${libXrender:location}/include -I${renderext:location}/include -I${xproto:location}/include
LD_LIBRARY_PATH=${gcc:location}/lib:${gcc:location}/lib64
LDFLAGS=-L${libX11:location}/lib -Wl,-rpath=${libX11:location}/lib -L${libXext:location}/lib -Wl,-rpath=${libXext:location}/lib -L${libXrender:location}/lib -Wl,-rpath=${libXrender:location}/lib -L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib
LDFLAGS=-Wl,-rpath=${gcc:location}/lib -Wl,-rpath=${gcc:location}/lib64 -L${libX11:location}/lib -Wl,-rpath=${libX11:location}/lib -L${libXext:location}/lib -Wl,-rpath=${libXext:location}/lib -L${libXrender:location}/lib -Wl,-rpath=${libXrender:location}/lib -L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib
[pangomm]
[pangomm]
recipe = slapos.recipe.cmmi
recipe = slapos.recipe.cmmi
...
@@ -38,10 +36,9 @@ configure-options =
...
@@ -38,10 +36,9 @@ configure-options =
--disable-static
--disable-static
--disable-documentation
--disable-documentation
environment =
environment =
PATH=${g
cc:location}/bin:${g
lib:location}/bin:${freetype:location}/bin:${perl:location}/bin:${pkgconfig:location}/bin:${xz-utils:location}/bin:%(PATH)s
PATH=${glib:location}/bin:${freetype:location}/bin:${perl:location}/bin:${pkgconfig:location}/bin:${xz-utils:location}/bin:%(PATH)s
PKG_CONFIG_PATH=${:pkg_config_depends}
PKG_CONFIG_PATH=${:pkg_config_depends}
LD_LIBRARY_PATH=${gcc:location}/lib:${gcc:location}/lib64
LDFLAGS=-L${gettext:location}/lib -Wl,-rpath=${gettext:location}/lib -L${harfbuzz:location}/lib -Wl,-rpath=${harfbuzz:location}/lib
LDFLAGS=-Wl,-rpath=${gcc:location}/lib -Wl,-rpath=${gcc:location}/lib64 -L${gettext:location}/lib -Wl,-rpath=${gettext:location}/lib -L${harfbuzz:location}/lib -Wl,-rpath=${harfbuzz:location}/lib
[atkmm]
[atkmm]
recipe = slapos.recipe.cmmi
recipe = slapos.recipe.cmmi
...
@@ -52,10 +49,9 @@ configure-options =
...
@@ -52,10 +49,9 @@ configure-options =
--disable-static
--disable-static
--disable-documentation
--disable-documentation
environment =
environment =
PATH=${g
cc:location}/bin:${g
lib:location}/bin:${perl:location}/bin:${pkgconfig:location}/bin:${xz-utils:location}/bin:%(PATH)s
PATH=${glib:location}/bin:${perl:location}/bin:${pkgconfig:location}/bin:${xz-utils:location}/bin:%(PATH)s
PKG_CONFIG_PATH=${:pkg_config_depends}
PKG_CONFIG_PATH=${:pkg_config_depends}
LD_LIBRARY_PATH=${gcc:location}/lib:${gcc:location}/lib64
LDFLAGS=-L${gettext:location}/lib -Wl,-rpath=${gettext:location}/lib
LDFLAGS=-Wl,-rpath=${gcc:location}/lib -Wl,-rpath=${gcc:location}/lib64 -L${gettext:location}/lib -Wl,-rpath=${gettext:location}/lib
[gtkmm]
[gtkmm]
recipe = slapos.recipe.cmmi
recipe = slapos.recipe.cmmi
...
@@ -66,7 +62,6 @@ configure-options =
...
@@ -66,7 +62,6 @@ configure-options =
--disable-static
--disable-static
--disable-documentation
--disable-documentation
environment =
environment =
PATH=${g
cc:location}/bin:${g
dk-pixbuf:location}/bin:${glib:location}/bin:${gtk-2:location}/bin:${pango:location}/bin:${perl:location}/bin:${pkgconfig:location}/bin:${xz-utils:location}/bin:%(PATH)s
PATH=${gdk-pixbuf:location}/bin:${glib:location}/bin:${gtk-2:location}/bin:${pango:location}/bin:${perl:location}/bin:${pkgconfig:location}/bin:${xz-utils:location}/bin:%(PATH)s
PKG_CONFIG_PATH=${:pkg_config_depends}
PKG_CONFIG_PATH=${:pkg_config_depends}
LD_LIBRARY_PATH=${gcc:location}/lib:${gcc:location}/lib64
LDFLAGS=-L${bzip2:location}/lib -Wl,-rpath=${bzip2:location}/lib -L${gettext:location}/lib -Wl,-rpath=${gettext:location}/lib -L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib -L${harfbuzz:location}/lib -Wl,-rpath=${harfbuzz:location}/lib
LDFLAGS=-L${bzip2:location}/lib -Wl,-rpath=${bzip2:location}/lib -Wl,-rpath=${gcc:location}/lib -Wl,-rpath=${gcc:location}/lib64 -L${gettext:location}/lib -Wl,-rpath=${gettext:location}/lib -L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib -L${harfbuzz:location}/lib -Wl,-rpath=${harfbuzz:location}/lib
component/helloweb/buildout.cfg
View file @
79e10cb2
...
@@ -26,7 +26,6 @@ install =
...
@@ -26,7 +26,6 @@ install =
lab.nexedi.com/nexedi/helloweb/go/...
lab.nexedi.com/nexedi/helloweb/go/...
golang = ${golang1.12:location}
golang = ${golang1.12:location}
gcc-bin-directory = ${golang1.12:gcc-bin-directory}
# -*- go -*-
# -*- go -*-
[helloweb-go]
[helloweb-go]
...
...
component/icu/buildout.cfg
View file @
79e10cb2
[buildout]
[buildout]
extends =
../gcc/buildout.cfg
parts = icu4c
parts = icu4c
[icu4c]
[icu4c]
...
@@ -17,14 +15,6 @@ configure-options =
...
@@ -17,14 +15,6 @@ configure-options =
patches =
patches =
${:_profile_base_location_}/fix-glibc2.26-ftbfs.patch#f1622be16964029fc66a70b8f9e1693c
${:_profile_base_location_}/fix-glibc2.26-ftbfs.patch#f1622be16964029fc66a70b8f9e1693c
[icu4c-slaposgcc]
# need for onlyoffice-core
<= icu4c
environment =
PATH=${gcc:location}/bin:%(PATH)s
LD_LIBRARY_PATH=${gcc:location}/lib:${gcc:location}/lib64
LDFLAGS=-Wl,-rpath=${gcc:location}/lib -Wl,-rpath=${gcc:location}/lib64
[icu]
[icu]
<= icu4c
<= icu4c
...
...
component/inkscape/buildout.cfg
View file @
79e10cb2
...
@@ -6,7 +6,6 @@ extends =
...
@@ -6,7 +6,6 @@ extends =
../cmake/buildout.cfg
../cmake/buildout.cfg
../freetype/buildout.cfg
../freetype/buildout.cfg
../garbage-collector/buildout.cfg
../garbage-collector/buildout.cfg
../gcc/buildout.cfg
../gettext/buildout.cfg
../gettext/buildout.cfg
../glibmm/buildout.cfg
../glibmm/buildout.cfg
../gtk-2/buildout.cfg
../gtk-2/buildout.cfg
...
@@ -32,10 +31,9 @@ md5sum = bda73a3dd5ff2f30b5956764399db6e7
...
@@ -32,10 +31,9 @@ md5sum = bda73a3dd5ff2f30b5956764399db6e7
configure-options =
configure-options =
--disable-static
--disable-static
environment =
environment =
PATH=${g
cc:location}/bin:${g
lib:location}/bin:${pkgconfig:location}/bin:%(PATH)s
PATH=${glib:location}/bin:${pkgconfig:location}/bin:%(PATH)s
PKG_CONFIG_PATH=${atk:location}/lib/pkgconfig:${glib:location}/lib/pkgconfig:${glibmm:location}/lib/pkgconfig:${libsigc:location}/lib/pkgconfig:${pcre:location}/lib/pkgconfig
PKG_CONFIG_PATH=${atk:location}/lib/pkgconfig:${glib:location}/lib/pkgconfig:${glibmm:location}/lib/pkgconfig:${libsigc:location}/lib/pkgconfig:${pcre:location}/lib/pkgconfig
LD_LIBRARY_PATH=${gcc:location}/lib:${gcc:location}/lib64
LDFLAGS=-L${gettext:location}/lib -Wl,-rpath=${gettext:location}/lib
LDFLAGS=-Wl,-rpath=${gcc:location}/lib -Wl,-rpath=${gcc:location}/lib64 -L${gettext:location}/lib -Wl,-rpath=${gettext:location}/lib
[inkscape]
[inkscape]
recipe = slapos.recipe.cmmi
recipe = slapos.recipe.cmmi
...
@@ -53,8 +51,8 @@ configure-options =
...
@@ -53,8 +51,8 @@ configure-options =
-DWITH_LIBVISIO=OFF
-DWITH_LIBVISIO=OFF
-DWITH_LIBWPG=OFF
-DWITH_LIBWPG=OFF
environment =
environment =
PATH=${cmake:location}/bin:${freetype:location}/bin:${g
cc:location}/bin:${g
dk-pixbuf:location}/bin:${gettext:location}/bin:${glib:location}/bin:${intltool:location}/bin:${libxml2:location}/bin:${pango:location}/bin:${perl:location}/bin:${pkgconfig:location}/bin:%(PATH)s
PATH=${cmake:location}/bin:${freetype:location}/bin:${gdk-pixbuf:location}/bin:${gettext:location}/bin:${glib:location}/bin:${intltool:location}/bin:${libxml2:location}/bin:${pango:location}/bin:${perl:location}/bin:${pkgconfig:location}/bin:%(PATH)s
PKG_CONFIG_PATH=${:pkg_config_depends}
PKG_CONFIG_PATH=${:pkg_config_depends}
CMAKE_INCLUDE_PATH=${boost-lib:location}/include:${freetype:location}/include:${garbage-collector:location}/include:${libjpeg:location}/include:${lcms2:location}/include:${libpng:location}/include:${zlib:location}/include
CMAKE_INCLUDE_PATH=${boost-lib:location}/include:${freetype:location}/include:${garbage-collector:location}/include:${libjpeg:location}/include:${lcms2:location}/include:${libpng:location}/include:${zlib:location}/include
CMAKE_LIBRARY_PATH=${boost-lib:location}/lib:${freetype:location}/lib:${garbage-collector:location}/lib:${
gcc:location}/lib:${gcc:location}/lib64:${
lcms2:location}/lib:${libjpeg:location}/lib:${libpng:location}/lib:${zlib:location}/lib
CMAKE_LIBRARY_PATH=${boost-lib:location}/lib:${freetype:location}/lib:${garbage-collector:location}/lib:${lcms2:location}/lib:${libjpeg:location}/lib:${libpng:location}/lib:${zlib:location}/lib
LDFLAGS=-L${atk:location}/lib -Wl,-rpath=${atk:location}/lib -L${atkmm:location}/lib -Wl,-rpath=${atkmm:location}/lib -L${boost-lib:location}/lib -Wl,-rpath=${boost-lib:location}/lib -L${bzip2:location}/lib -Wl,-rpath=${bzip2:location}/lib -L${cairo:location}/lib -Wl,-rpath=${cairo:location}/lib -L${cairomm:location}/lib -Wl,-rpath=${cairomm:location}/lib -L${fontconfig:location}/lib -Wl,-rpath=${fontconfig:location}/lib -L${freetype:location}/lib -Wl,-rpath=${freetype:location}/lib -L${garbage-collector:location}/lib -Wl,-rpath=${garbage-collector:location}/lib -
Wl,-rpath=${gcc:location}/lib -Wl,-rpath=${gcc:location}/lib64 -
L${gdk-pixbuf:location}/lib -Wl,-rpath=${gdk-pixbuf:location}/lib -L${gettext:location}/lib -Wl,-rpath=${gettext:location}/lib -L${glib:location}/lib -Wl,-rpath=${glib:location}/lib -L${glibmm:location}/lib -Wl,-rpath=${glibmm:location}/lib -L${gsl:location}/lib -Wl,-rpath=${gsl:location}/lib -L${gtk-2:location}/lib -Wl,-rpath=${gtk-2:location}/lib -L${gtkmm:location}/lib -Wl,-rpath=${gtkmm:location}/lib -L${lcms2:location}/lib -Wl,-rpath=${lcms2:location}/lib -L${libX11:location}/lib -Wl,-rpath=${libX11:location}/lib -L${libXext:location}/lib -Wl,-rpath=${libXext:location}/lib -L${libjpeg:location}/lib -Wl,-rpath=${libjpeg:location}/lib -L${libpng:location}/lib -Wl,-rpath=${libpng:location}/lib -L${libsigc:location}/lib -Wl,-rpath=${libsigc:location}/lib -L${libxml2:location}/lib -Wl,-rpath=${libxml2:location}/lib -L${libxslt:location}/lib -Wl,-rpath=${libxslt:location}/lib -L${pango:location}/lib -Wl,-rpath=${pango:location}/lib -L${pangomm:location}/lib -Wl,-rpath=${pangomm:location}/lib -L${popt:location}/lib -Wl,-rpath=${popt:location}/lib -L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib
LDFLAGS=-L${atk:location}/lib -Wl,-rpath=${atk:location}/lib -L${atkmm:location}/lib -Wl,-rpath=${atkmm:location}/lib -L${boost-lib:location}/lib -Wl,-rpath=${boost-lib:location}/lib -L${bzip2:location}/lib -Wl,-rpath=${bzip2:location}/lib -L${cairo:location}/lib -Wl,-rpath=${cairo:location}/lib -L${cairomm:location}/lib -Wl,-rpath=${cairomm:location}/lib -L${fontconfig:location}/lib -Wl,-rpath=${fontconfig:location}/lib -L${freetype:location}/lib -Wl,-rpath=${freetype:location}/lib -L${garbage-collector:location}/lib -Wl,-rpath=${garbage-collector:location}/lib -L${gdk-pixbuf:location}/lib -Wl,-rpath=${gdk-pixbuf:location}/lib -L${gettext:location}/lib -Wl,-rpath=${gettext:location}/lib -L${glib:location}/lib -Wl,-rpath=${glib:location}/lib -L${glibmm:location}/lib -Wl,-rpath=${glibmm:location}/lib -L${gsl:location}/lib -Wl,-rpath=${gsl:location}/lib -L${gtk-2:location}/lib -Wl,-rpath=${gtk-2:location}/lib -L${gtkmm:location}/lib -Wl,-rpath=${gtkmm:location}/lib -L${lcms2:location}/lib -Wl,-rpath=${lcms2:location}/lib -L${libX11:location}/lib -Wl,-rpath=${libX11:location}/lib -L${libXext:location}/lib -Wl,-rpath=${libXext:location}/lib -L${libjpeg:location}/lib -Wl,-rpath=${libjpeg:location}/lib -L${libpng:location}/lib -Wl,-rpath=${libpng:location}/lib -L${libsigc:location}/lib -Wl,-rpath=${libsigc:location}/lib -L${libxml2:location}/lib -Wl,-rpath=${libxml2:location}/lib -L${libxslt:location}/lib -Wl,-rpath=${libxslt:location}/lib -L${pango:location}/lib -Wl,-rpath=${pango:location}/lib -L${pangomm:location}/lib -Wl,-rpath=${pangomm:location}/lib -L${popt:location}/lib -Wl,-rpath=${popt:location}/lib -L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib
component/jsl/buildout.cfg
View file @
79e10cb2
...
@@ -8,6 +8,10 @@ parts = jsl
...
@@ -8,6 +8,10 @@ parts = jsl
recipe = slapos.recipe.build
recipe = slapos.recipe.build
url = http://www.javascriptlint.com/download/jsl-0.3.0-src.tar.gz
url = http://www.javascriptlint.com/download/jsl-0.3.0-src.tar.gz
md5sum = 2b94ffa4fab07acabe0c5e73cd49bcdf
md5sum = 2b94ffa4fab07acabe0c5e73cd49bcdf
init =
import os
# Bypass slapos gcc if any because slapos ld can't find -lm (why?).
self.path = os.environ['PATH']
install =
install =
import os
import os
import sys
import sys
...
@@ -15,5 +19,5 @@ install =
...
@@ -15,5 +19,5 @@ install =
md5sum = options['md5sum']
md5sum = options['md5sum']
extract_dir = self.extract(self.download(url, md5sum))
extract_dir = self.extract(self.download(url, md5sum))
workdir = guessworkdir(extract_dir)
workdir = guessworkdir(extract_dir)
os.chdir(os.path.join(workdir, 'src'))
call(('make', '-f', 'Makefile.ref', '-j1', 'DIST=' + location, 'all', 'export'),
os.system("make -f Makefile.ref -j 1 DIST='%s' all export" % location
)
cwd=os.path.join(workdir, 'src'), env=dict(os.environ, PATH=self.path)
)
component/kumo/buildout.cfg
View file @
79e10cb2
[buildout]
[buildout]
extends =
extends =
../gcc/buildout.cfg
../tokyocabinet/buildout.cfg
../tokyocabinet/buildout.cfg
../messagepack/buildout.cfg
../messagepack/buildout.cfg
../openssl/buildout.cfg
../openssl/buildout.cfg
...
@@ -25,7 +24,5 @@ configure-options =
...
@@ -25,7 +24,5 @@ configure-options =
environment =
environment =
CPPFLAGS=-I${zlib:location}/include -I${openssl:location}/include
CPPFLAGS=-I${zlib:location}/include -I${openssl:location}/include
LD_LIBRARY_PATH=${gcc:location}/lib:${gcc:location}/lib64
LDFLAGS=-L${zlib:location}/lib -L${openssl:location}/lib -Wl,-rpath=${tokyocabinet:location}/lib -Wl,-rpath=${messagepack:location}/lib -Wl,-rpath=${zlib:location}/lib -Wl,-rpath=${openssl:location}/lib
LDFLAGS=-Wl,-rpath=${gcc:location}/lib -Wl,-rpath=${gcc:location}/lib64 -L${zlib:location}/lib -L${openssl:location}/lib -Wl,-rpath=${tokyocabinet:location}/lib -Wl,-rpath=${messagepack:location}/lib -Wl,-rpath=${zlib:location}/lib -Wl,-rpath=${openssl:location}/lib
PATH=${patch:location}/bin:%(PATH)s
PATH=${gcc:location}/bin:${patch:location}/bin:%(PATH)s
# KumoFS is known not to build with gcc>6, so we use our own gcc which is 5.5
\ No newline at end of file
component/libatlas/buildout.cfg
View file @
79e10cb2
...
@@ -39,5 +39,4 @@ configure-options =
...
@@ -39,5 +39,4 @@ configure-options =
make-options =
make-options =
-C build
-C build
environment =
environment =
PATH=${gcc:location}/bin:${patch:location}/bin:%(PATH)s
PATH=${patch:location}/bin:%(PATH)s
LD_LIBRARY_PATH=${gcc:location}/lib:${gcc:location}/lib64
component/libsigc/buildout.cfg
View file @
79e10cb2
[buildout]
[buildout]
extends =
extends =
../gcc/buildout.cfg
../m4/buildout.cfg
../m4/buildout.cfg
../perl/buildout.cfg
../perl/buildout.cfg
../xz-utils/buildout.cfg
../xz-utils/buildout.cfg
...
@@ -16,6 +15,4 @@ md5sum = 70bcbde2c900e4925d6ef4bf50954195
...
@@ -16,6 +15,4 @@ md5sum = 70bcbde2c900e4925d6ef4bf50954195
configure-options =
configure-options =
--disable-documentation
--disable-documentation
environment =
environment =
PATH=${gcc:location}/bin:${m4:location}/bin:${perl:location}/bin:${xz-utils:location}/bin:%(PATH)s
PATH=${m4:location}/bin:${perl:location}/bin:${xz-utils:location}/bin:%(PATH)s
LD_LIBRARY_PATH=${gcc:location}/lib:${gcc:location}/lib64
LDFLAGS=-Wl,-rpath=${gcc:location}/lib -Wl,-rpath=${gcc:location}/lib64
component/mariadb/buildout.cfg
View file @
79e10cb2
...
@@ -21,7 +21,6 @@ extends =
...
@@ -21,7 +21,6 @@ extends =
../xz-utils/buildout.cfg
../xz-utils/buildout.cfg
../zlib/buildout.cfg
../zlib/buildout.cfg
../unixodbc/buildout.cfg
../unixodbc/buildout.cfg
../gcc/buildout.cfg
../zstd/buildout.cfg
../zstd/buildout.cfg
parts =
parts =
...
@@ -69,13 +68,13 @@ configure-options =
...
@@ -69,13 +68,13 @@ configure-options =
-DCMAKE_INCLUDE_PATH=${unixodbc:location}/include
-DCMAKE_INCLUDE_PATH=${unixodbc:location}/include
-DCMAKE_LIBRARY_PATH=${unixodbc:location}/lib
-DCMAKE_LIBRARY_PATH=${unixodbc:location}/lib
CMAKE_CFLAGS = -I${bzip2:location}/include -I${jemalloc:location}/include -I${libaio:location}/include -I${libxml2:location}/include -I${ncurses:location}/include -I${openssl:location}/include -I${pcre:location}/include -I${readline5:location}/include -I${xz-utils:location}/include -I${zlib:location}/include -I${unixodbc:location}/include -I${lz4:location}/include -I${snappy:location}/include -I${zstd:location}/include
CMAKE_CFLAGS = -I${bzip2:location}/include -I${jemalloc:location}/include -I${libaio:location}/include -I${libxml2:location}/include -I${ncurses:location}/include -I${openssl:location}/include -I${pcre:location}/include -I${readline5:location}/include -I${xz-utils:location}/include -I${zlib:location}/include -I${unixodbc:location}/include -I${lz4:location}/include -I${snappy:location}/include -I${zstd:location}/include
CMAKE_LIBRARY_PATH = ${bzip2:location}/lib:${jemalloc:location}/lib:${libaio:location}/lib:${libxml2:location}/lib:${ncurses:location}/lib:${openssl:location}/lib:${pcre:location}/lib:${readline5:location}/lib:${xz-utils:location}/lib:${zlib:location}/lib:${unixodbc:location}/lib:${lz4:location}/lib:${snappy:location}/lib:${zstd:location}/lib
:${gcc:location}/lib:${gcc:location}/lib64
CMAKE_LIBRARY_PATH = ${bzip2:location}/lib:${jemalloc:location}/lib:${libaio:location}/lib:${libxml2:location}/lib:${ncurses:location}/lib:${openssl:location}/lib:${pcre:location}/lib:${readline5:location}/lib:${xz-utils:location}/lib:${zlib:location}/lib:${unixodbc:location}/lib:${lz4:location}/lib:${snappy:location}/lib:${zstd:location}/lib
environment =
environment =
CMAKE_PROGRAM_PATH=${cmake:location}/bin
CMAKE_PROGRAM_PATH=${cmake:location}/bin
CMAKE_INCLUDE_PATH=${bzip2:location}/include:${libaio:location}/include:${libaio:location}/include:${libxml2:location}/include:${ncurses:location}/include:${openssl:location}/include:${pcre:location}/include:${readline5:location}/include:${xz-utils:location}/include:${zlib:location}/include:${unixodbc:location}/include:${lz4:location}/include:${snappy:location}/include:${zstd:location}/include
CMAKE_INCLUDE_PATH=${bzip2:location}/include:${libaio:location}/include:${libaio:location}/include:${libxml2:location}/include:${ncurses:location}/include:${openssl:location}/include:${pcre:location}/include:${readline5:location}/include:${xz-utils:location}/include:${zlib:location}/include:${unixodbc:location}/include:${lz4:location}/include:${snappy:location}/include:${zstd:location}/include
CMAKE_LIBRARY_PATH=${:CMAKE_LIBRARY_PATH}
CMAKE_LIBRARY_PATH=${:CMAKE_LIBRARY_PATH}
LDFLAGS=-L${bzip2:location}/lib -L${jemalloc:location}/lib -L${libaio:location}/lib -L${pcre:location}/lib -L${xz-utils:location}/lib -L${zlib:location}/lib -L${unixodbc:location}/lib -L${lz4:location}/lib -L${snappy:location}/lib -L${zstd:location}/lib
LDFLAGS=-L${bzip2:location}/lib -L${jemalloc:location}/lib -L${libaio:location}/lib -L${pcre:location}/lib -L${xz-utils:location}/lib -L${zlib:location}/lib -L${unixodbc:location}/lib -L${lz4:location}/lib -L${snappy:location}/lib -L${zstd:location}/lib
PATH=${
gcc:location}/bin:${
patch:location}/bin:%(PATH)s
PATH=${patch:location}/bin:%(PATH)s
patch-options = -p1
patch-options = -p1
patches =
patches =
https://sources.debian.org/data/main/m/mariadb-10.3/1:10.3.22-0+deb10u1/debian/patches/0024-Revert-to-using-system-pcre-library.patch#1c6a0f2634f5a56122299674b77b1131
https://sources.debian.org/data/main/m/mariadb-10.3/1:10.3.22-0+deb10u1/debian/patches/0024-Revert-to-using-system-pcre-library.patch#1c6a0f2634f5a56122299674b77b1131
...
...
component/nodejs/buildout.cfg
View file @
79e10cb2
...
@@ -7,7 +7,6 @@ extends =
...
@@ -7,7 +7,6 @@ extends =
../openssl/buildout.cfg
../openssl/buildout.cfg
../zlib/buildout.cfg
../zlib/buildout.cfg
../python-2.7/buildout.cfg
../python-2.7/buildout.cfg
../gcc/buildout.cfg
parts =
parts =
nodejs
nodejs
...
@@ -57,10 +56,10 @@ configure-options =
...
@@ -57,10 +56,10 @@ configure-options =
--shared-openssl-libpath=${:openssl_location}/lib
--shared-openssl-libpath=${:openssl_location}/lib
environment =
environment =
HOME=@@LOCATION@@
HOME=@@LOCATION@@
PATH=${
gcc:location}/bin:${
pkgconfig:location}/bin:%(PATH)s
PATH=${pkgconfig:location}/bin:%(PATH)s
PKG_CONFIG_PATH=${:openssl_location}/lib/pkgconfig/
PKG_CONFIG_PATH=${:openssl_location}/lib/pkgconfig/
CPPFLAGS=-I${zlib:location}/include
CPPFLAGS=-I${zlib:location}/include
LDFLAGS=-Wl,-rpath=${
gcc:location}/lib -Wl,-rpath=${gcc:location}/lib64 -Wl,-rpath=${
:openssl_location}/lib -L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib
LDFLAGS=-Wl,-rpath=${:openssl_location}/lib -L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib
LD_LIBRARY_PATH=${:openssl_location}/lib
LD_LIBRARY_PATH=${:openssl_location}/lib
[nodejs-8.6.0-output]
[nodejs-8.6.0-output]
...
...
component/numpy/openblas.cfg
View file @
79e10cb2
[buildout]
[buildout]
extends =
extends =
buildout.cfg
buildout.cfg
../gcc/buildout.cfg
../openblas/buildout.cfg
../openblas/buildout.cfg
[numpy-env]
[numpy-env]
PATH = ${gcc:location}/bin:%(PATH)s
OPENBLAS = ${openblas:location}/lib/libopenblas.so
OPENBLAS = ${openblas:location}/lib/libopenblas.so
LAPACK = ${openblas:location}/lib/libopenblas.so
LAPACK = ${openblas:location}/lib/libopenblas.so
ATLAS = ${openblas:location}/lib/libopenblas.so
ATLAS = ${openblas:location}/lib/libopenblas.so
...
@@ -14,6 +11,4 @@ ATLAS = ${openblas:location}/lib/libopenblas.so
...
@@ -14,6 +11,4 @@ ATLAS = ${openblas:location}/lib/libopenblas.so
[numpy]
[numpy]
environment = numpy-env
environment = numpy-env
rpath =
rpath =
${gcc:location}/lib
${gcc:location}/lib64
${openblas:location}/lib
${openblas:location}/lib
component/onlyoffice-core/buildout.cfg
View file @
79e10cb2
[buildout]
[buildout]
extends =
extends =
../binutils/buildout.cfg
../binutils/buildout.cfg
../gcc/buildout.cfg
../libxml2/buildout.cfg
../libxml2/buildout.cfg
../zlib/buildout.cfg
../zlib/buildout.cfg
../icu/buildout.cfg
../icu/buildout.cfg
...
@@ -21,9 +20,9 @@ md5sum = 9cd1cd731202511e475971eee58ba7b6
...
@@ -21,9 +20,9 @@ md5sum = 9cd1cd731202511e475971eee58ba7b6
configure-command = true
configure-command = true
make-targets = lib bin
make-targets = lib bin
environment =
environment =
PATH=${binutils:location}/bin:${
gcc:location}/bin:${
qt5-qmake:location}/bin:%(PATH)s
PATH=${binutils:location}/bin:${qt5-qmake:location}/bin:%(PATH)s
CXXFLAGS=-I${libxml2:location}/include -I${zlib:location}/include -I${icu4c
-slaposgcc
:location}/include -I${boost-lib:location}/include -Wno-comment -Wno-deprecated-declarations -Wno-endif-labels -Wno-parentheses -Wno-reorder -Wno-sign-compare -Wno-switch -Wno-unknown-pragmas -Wno-unused
CXXFLAGS=-I${libxml2:location}/include -I${zlib:location}/include -I${icu4c:location}/include -I${boost-lib:location}/include -Wno-comment -Wno-deprecated-declarations -Wno-endif-labels -Wno-parentheses -Wno-reorder -Wno-sign-compare -Wno-switch -Wno-unknown-pragmas -Wno-unused
LDFLAGS=-L${
gcc:location}/lib -Wl,-rpath=${gcc:location}/lib -L${gcc:location}/lib64 -Wl,-rpath=${gcc:location}/lib64 -L${libxml2:location}/lib -Wl,-rpath=${libxml2:location}/lib -L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib -L${icu4c-slaposgcc:location}/lib -Wl,-rpath=${icu4c-slaposgc
c:location}/lib -L${boost-lib:location}/lib -Wl,-rpath=${boost-lib:location}/lib -Wl,-rpath=${:location}/lib
LDFLAGS=-L${
libxml2:location}/lib -Wl,-rpath=${libxml2:location}/lib -L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib -L${icu4c:location}/lib -Wl,-rpath=${icu4
c:location}/lib -L${boost-lib:location}/lib -Wl,-rpath=${boost-lib:location}/lib -Wl,-rpath=${:location}/lib
post-install =
post-install =
set -x
set -x
mkdir -p ${:location}/bin ${:location}/lib
mkdir -p ${:location}/bin ${:location}/lib
...
...
component/openblas/buildout.cfg
View file @
79e10cb2
...
@@ -6,9 +6,6 @@ extends =
...
@@ -6,9 +6,6 @@ extends =
parts =
parts =
openblas
openblas
extends =
../gcc/buildout.cfg
[openblas]
[openblas]
recipe = slapos.recipe.cmmi
recipe = slapos.recipe.cmmi
shared = true
shared = true
...
@@ -29,6 +26,9 @@ build-common-options = BINARY="$(uname -m | grep -q x86_64 && echo 64 || echo 32
...
@@ -29,6 +26,9 @@ build-common-options = BINARY="$(uname -m | grep -q x86_64 && echo 64 || echo 32
# TARGET=HASWELL
# TARGET=HASWELL
build-ext-options =
build-ext-options =
# Fortran is required for LAPACK, which is required for matplotlib.
pre-configure = type gfortran
# First try with auto-detected target and if it fails try TARGET=GENERIC.
# First try with auto-detected target and if it fails try TARGET=GENERIC.
configure-command =
configure-command =
make ${:build-common-options} ${:build-ext-options} || (make -j1 clean && make ${:build-common-options} TARGET=GENERIC)
make ${:build-common-options} ${:build-ext-options} || (make -j1 clean && make ${:build-common-options} TARGET=GENERIC)
...
@@ -37,6 +37,4 @@ make-options =
...
@@ -37,6 +37,4 @@ make-options =
make-targets =
make-targets =
PREFIX="@@LOCATION@@" install
PREFIX="@@LOCATION@@" install
environment =
environment =
PATH=${gcc:location}/bin:${patch:location}/bin:${perl:location}/bin:%(PATH)s
PATH=${patch:location}/bin:${perl:location}/bin:%(PATH)s
LD_LIBRARY_PATH=${gcc:location}/lib:${gcc:location}/lib64
LDFLAGS=-Wl,-rpath=${gcc:location}/lib -Wl,-rpath=${gcc:location}/lib64
component/powerdns/buildout.cfg
View file @
79e10cb2
...
@@ -4,7 +4,6 @@ extends =
...
@@ -4,7 +4,6 @@ extends =
../automake/buildout.cfg
../automake/buildout.cfg
../bison/buildout.cfg
../bison/buildout.cfg
../flex/buildout.cfg
../flex/buildout.cfg
../gcc/buildout.cfg
../git/buildout.cfg
../git/buildout.cfg
../boost-lib/buildout.cfg
../boost-lib/buildout.cfg
../libtool/buildout.cfg
../libtool/buildout.cfg
...
@@ -28,7 +27,7 @@ configure-options =
...
@@ -28,7 +27,7 @@ configure-options =
--with-dynmodules=""
--with-dynmodules=""
--without-lua
--without-lua
environment =
environment =
PATH=${
gcc:location}/bin:${
make:location}/bin:${libtool:location}/bin:${pkgconfig:location}/bin:${bison:location}/bin:${flex:location}/bin:${git:location}/bin:${ragel:location}/bin:%(PATH)s
PATH=${make:location}/bin:${libtool:location}/bin:${pkgconfig:location}/bin:${bison:location}/bin:${flex:location}/bin:${git:location}/bin:${ragel:location}/bin:%(PATH)s
LDFLAGS=-L${boost-lib:location}/lib -Wl,-rpath=${boost-lib:location}/lib -L${zlib:location}/lib -Wl,-rpath -Wl,${zlib:location}/lib -lz
LDFLAGS=-L${boost-lib:location}/lib -Wl,-rpath=${boost-lib:location}/lib -L${zlib:location}/lib -Wl,-rpath -Wl,${zlib:location}/lib -lz
CPPFLAGS=-I${boost-lib:location}/include
CPPFLAGS=-I${boost-lib:location}/include
make-target =
make-target =
...
...
component/python-2.7/buildout.cfg
View file @
79e10cb2
...
@@ -67,10 +67,9 @@ post-install = cd '${:prefix}' &&
...
@@ -67,10 +67,9 @@ post-install = cd '${:prefix}' &&
sed -n 's,:#! */usr/bin/env \+python2\?$,,p' |
sed -n 's,:#! */usr/bin/env \+python2\?$,,p' |
xargs -d '\n' sed -i '1s,.*,#!${:executable},'
xargs -d '\n' sed -i '1s,.*,#!${:executable},'
extra-ldflags =
# the entry "-Wl,-rpath=${file:location}/lib" below is needed by python-magic,
# the entry "-Wl,-rpath=${file:location}/lib" below is needed by python-magic,
# which would otherwise load the system libmagic.so with ctypes
# which would otherwise load the system libmagic.so with ctypes
environment =
environment =
PATH=${patch:location}/bin:${xz-utils:location}/bin:%(PATH)s
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
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
${:extra-ldflags}
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
component/python3/buildout.cfg
View file @
79e10cb2
...
@@ -58,9 +58,6 @@ version = 3.6
...
@@ -58,9 +58,6 @@ version = 3.6
package_version = 3.6.10
package_version = 3.6.10
md5sum = 986078f11b39074be22a199e56491d98
md5sum = 986078f11b39074be22a199e56491d98
# Python 3.7 have to use gcc 8(actually, gcc 4+)
# See https://bugs.python.org/issue34112
# I think gcc 5 may meet the requirement, use gcc 8 all in one step
[python3.7]
[python3.7]
<= python3-common
<= python3-common
version = 3.7
version = 3.7
...
@@ -69,7 +66,7 @@ md5sum = df6ec36011808205beda239c72f947cb
...
@@ -69,7 +66,7 @@ md5sum = df6ec36011808205beda239c72f947cb
patch-options =
patch-options =
patches =
patches =
environment =
environment =
PATH=${
gcc-8.2:location}/bin::${
xz-utils:location}/bin:%(PATH)s
PATH=${xz-utils:location}/bin:%(PATH)s
CPPFLAGS=-I${zlib:location}/include -I${xz-utils: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
CPPFLAGS=-I${zlib:location}/include -I${xz-utils: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${xz-utils: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=${xz-utils: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
LDFLAGS=-L${zlib:location}/lib -L${xz-utils: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=${xz-utils: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
LD_LIBRARY_PATH=${libpng:location}/lib:${gcc-8.2:location}/lib:${gcc-8.2:location}/lib64
# LD_LIBRARY_PATH=${libpng:location}/lib
\ No newline at end of file
component/pytorch/buildout.cfg
View file @
79e10cb2
[buildout]
[buildout]
extends =
extends =
../gcc/buildout.cfg
../openblas/buildout.cfg
../openblas/buildout.cfg
../cmake/buildout.cfg
../cmake/buildout.cfg
../python-cffi/buildout.cfg
../python-cffi/buildout.cfg
...
@@ -57,7 +56,6 @@ no-cuda = 0
...
@@ -57,7 +56,6 @@ no-cuda = 0
cmake-bin = ${cmake:location}/bin
cmake-bin = ${cmake:location}/bin
git-bin = ${git:location}/bin
git-bin = ${git:location}/bin
binutils-location = ${binutils:location}
binutils-location = ${binutils:location}
gcc-location = ${gcc:location}
openblas-location = ${openblas:location}
openblas-location = ${openblas:location}
install =
install =
import os, shutil
import os, shutil
...
@@ -65,31 +63,20 @@ install =
...
@@ -65,31 +63,20 @@ install =
workdir = options['workdir']
workdir = options['workdir']
python_bin = options['python-bin']
python_bin = options['python-bin']
binutils_location = options['binutils-location']
binutils_location = options['binutils-location']
gcc_location = options['gcc-location']
openblas_location = options['openblas-location']
openblas_location = options['openblas-location']
env = {'PYTHONPATH':workdir,
env = {'PYTHONPATH':workdir,
'PATH':':'.join([options['cmake-bin'],
'PATH':':'.join([options['cmake-bin'],
options['git-bin'],
options['git-bin'],
binutils_location+'/bin',
binutils_location+'/bin',
gcc_location+'/bin',
os.environ['PATH']]),
os.environ['PATH']]),
'CMAKE_INCLUDE_PATH':':'.join([gcc_location+'/include',
'CMAKE_INCLUDE_PATH':':'.join([binutils_location+'/include',
binutils_location+'/include',
openblas_location+'/include',
openblas_location+'/include',
]),
]),
'CMAKE_LIBRARY_PATH':':'.join([gcc_location+'/lib',
'CMAKE_LIBRARY_PATH':':'.join([binutils_location+'/lib',
gcc_location+'/lib64',
binutils_location+'/lib',
openblas_location+'/lib',
openblas_location+'/lib',
]),
]),
'CC':gcc_location+'/bin/gcc',
'CXX':gcc_location+'/bin/g++',
'PYTORCH_PYTHON':python_bin,
'PYTORCH_PYTHON':python_bin,
'SLAPOS_COMPILE_ARGS':' '.join(['-Wl,-rpath,'+gcc_location+'/lib',
'SLAPOS_COMPILE_ARGS':'-Wl,-rpath,'+openblas_location+'/lib',
'-Wl,-rpath,'+gcc_location+'/lib64',
'-Wl,-rpath,'+binutils_location+'/lib',
'-Wl,-rpath,'+openblas_location+'/lib',
])
}
}
if options.get('no-cuda') == '1':
if options.get('no-cuda') == '1':
env['NO_CUDA'] = '1'
env['NO_CUDA'] = '1'
...
...
component/qt/buildout.cfg
View file @
79e10cb2
[buildout]
[buildout]
extends =
extends =
../xorg/buildout.cfg
../xorg/buildout.cfg
../gcc/buildout.cfg
parts =
parts =
qt4-qmake
qt4-qmake
...
@@ -23,9 +22,8 @@ configure-options =
...
@@ -23,9 +22,8 @@ configure-options =
-no-opengl
-no-opengl
-nomake examples
-nomake examples
environment =
environment =
PATH=${gcc:location}/bin:%(PATH)s
CPPFLAGS=-I${libX11:location}/include -I${xproto:location}/include -I${libXext:location}/include
CPPFLAGS=-I${libX11:location}/include -I${xproto:location}/include -I${libXext:location}/include
LDFLAGS=-L${
gcc:location}/lib -Wl,-rpath=${gcc:location}/lib -L${gcc:location}/lib64 -Wl,-rpath=${gcc:location}/lib64 -L${
libX11:location}/lib -Wl,-rpath=${libX11:location}/lib -L${xproto:location}/lib -Wl,-rpath=${xproto:location}/lib -L${libXext:location}/lib -Wl,-rpath=${libXext:location}/lib
LDFLAGS=-L${libX11:location}/lib -Wl,-rpath=${libX11:location}/lib -L${xproto:location}/lib -Wl,-rpath=${xproto:location}/lib -L${libXext:location}/lib -Wl,-rpath=${libXext:location}/lib
make-binary = true
make-binary = true
post-install =
post-install =
mkdir -p ${:location}/bin
mkdir -p ${:location}/bin
...
...
component/r-language/buildout.cfg
View file @
79e10cb2
[buildout]
[buildout]
extends =
extends =
../bzip2/buildout.cfg
../bzip2/buildout.cfg
../gcc/buildout.cfg
../openblas/buildout.cfg
../openblas/buildout.cfg
../pcre/buildout.cfg
../pcre/buildout.cfg
../readline/buildout.cfg
../readline/buildout.cfg
...
@@ -32,6 +31,5 @@ configure-options =
...
@@ -32,6 +31,5 @@ configure-options =
--without-ICU
--without-ICU
--without-x
--without-x
environment =
environment =
PATH=${gcc:location}/bin:%(PATH)s
CPPFLAGS=-I${bzip2:location}/include -I${openblas:location}/include -I${pcre:location}/include -I${readline:location}/include -I${ncurses:location}/include -I${xz-utils:location}/include -I${zlib:location}/include
CPPFLAGS=-I${bzip2:location}/include -I${openblas:location}/include -I${pcre:location}/include -I${readline:location}/include -I${ncurses:location}/include -I${xz-utils:location}/include -I${zlib:location}/include
LDFLAGS=-L${bzip2:location}/lib -Wl,-rpath=${bzip2:location}/lib -L${
gcc:location}/lib -Wl,-rpath=${gcc:location}/lib -L${gcc:location}/lib64 -Wl,-rpath=${gcc:location}/lib64 -L${
ncurses:location}/lib -Wl,-rpath=${ncurses:location}/lib -L${openblas:location}/lib -Wl,-rpath=${openblas:location}/lib -L${pcre:location}/lib -Wl,-rpath=${pcre:location}/lib -L${readline:location}/lib -Wl,-rpath=${readline:location}/lib -L${xz-utils:location}/lib -Wl,-rpath=${xz-utils:location}/lib -L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib
LDFLAGS=-L${bzip2:location}/lib -Wl,-rpath=${bzip2:location}/lib -L${ncurses:location}/lib -Wl,-rpath=${ncurses:location}/lib -L${openblas:location}/lib -Wl,-rpath=${openblas:location}/lib -L${pcre:location}/lib -Wl,-rpath=${pcre:location}/lib -L${readline:location}/lib -Wl,-rpath=${readline:location}/lib -L${xz-utils:location}/lib -Wl,-rpath=${xz-utils:location}/lib -L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib
component/ragel/buildout.cfg
View file @
79e10cb2
[buildout]
[buildout]
extends =
extends =
../../component/gcc/buildout.cfg
../make/buildout.cfg
../../component/make/buildout.cfg
parts =
parts =
ragel
ragel
...
@@ -10,10 +9,5 @@ parts =
...
@@ -10,10 +9,5 @@ parts =
recipe = slapos.recipe.cmmi
recipe = slapos.recipe.cmmi
url = http://www.colm.net/files/ragel/ragel-6.8.tar.gz
url = http://www.colm.net/files/ragel/ragel-6.8.tar.gz
md5sum = 1bb39745ac23da449019f9f2cb4b0d01
md5sum = 1bb39745ac23da449019f9f2cb4b0d01
configure-options =
--prefix=${buildout:parts-directory}/${:_buildout_section_name_}
environment =
environment =
PATH=${make:location}/bin:${gcc:location}/bin:%(PATH)s
PATH=${make:location}/bin:%(PATH)s
make-target =
install
component/rpy2/buildout.cfg
View file @
79e10cb2
[buildout]
[buildout]
extends =
extends =
../gcc/buildout.cfg
../pcre/buildout.cfg
../pcre/buildout.cfg
../r-language/buildout.cfg
../r-language/buildout.cfg
../xz-utils/buildout.cfg
../xz-utils/buildout.cfg
...
@@ -10,7 +9,7 @@ extends =
...
@@ -10,7 +9,7 @@ extends =
# see ../manpy/buildout.cfg as an example
# see ../manpy/buildout.cfg as an example
[rpy2_env]
[rpy2_env]
PATH = ${
gcc:location}/bin:${
r-language:location}/bin:%(PATH)s
PATH = ${r-language:location}/bin:%(PATH)s
[rpy2]
[rpy2]
recipe = zc.recipe.egg:custom
recipe = zc.recipe.egg:custom
...
@@ -21,8 +20,6 @@ initialization =
...
@@ -21,8 +20,6 @@ initialization =
import os
import os
os.environ['PATH'] = '${r-language:location}/bin' + os.pathsep + os.environ.get('PATH', '')
os.environ['PATH'] = '${r-language:location}/bin' + os.pathsep + os.environ.get('PATH', '')
rpath =
rpath =
${gcc:location}/lib
${gcc:location}/lib64
${pcre:location}/lib
${pcre:location}/lib
${readline:location}/lib
${readline:location}/lib
${xz-utils:location}/lib
${xz-utils:location}/lib
...
...
component/scikit-image/buildout.cfg
View file @
79e10cb2
[buildout]
[buildout]
extends =
extends =
../gcc/buildout.cfg
../numpy/openblas.cfg
../numpy/openblas.cfg
../cython/buildout.cfg
../cython/buildout.cfg
../scipy/buildout.cfg
../scipy/buildout.cfg
...
@@ -25,8 +24,6 @@ setup-eggs =
...
@@ -25,8 +24,6 @@ setup-eggs =
${pillow-python:egg}
${pillow-python:egg}
networkx
networkx
rpath =
rpath =
${gcc:location}/lib
${gcc:location}/lib64
${openblas:location}/lib
${openblas:location}/lib
[scikit-image-repository]
[scikit-image-repository]
...
@@ -50,6 +47,4 @@ setup-eggs =
...
@@ -50,6 +47,4 @@ setup-eggs =
${pillow-python:egg}
${pillow-python:egg}
networkx
networkx
rpath =
rpath =
${gcc:location}/lib
${gcc:location}/lib64
${openblas:location}/lib
${openblas:location}/lib
component/scikit-learn/buildout.cfg
View file @
79e10cb2
[buildout]
[buildout]
extends =
extends =
../gcc/buildout.cfg
../cython/buildout.cfg
../cython/buildout.cfg
../numpy/openblas.cfg
../numpy/openblas.cfg
../scipy/buildout.cfg
../scipy/buildout.cfg
...
@@ -19,8 +18,6 @@ setup-eggs =
...
@@ -19,8 +18,6 @@ setup-eggs =
${numpy:egg}
${numpy:egg}
${scipy:egg}
${scipy:egg}
rpath =
rpath =
${gcc:location}/lib
${gcc:location}/lib64
${openblas:location}/lib
${openblas:location}/lib
[scikit-learn-repository]
[scikit-learn-repository]
...
@@ -41,6 +38,4 @@ setup-eggs =
...
@@ -41,6 +38,4 @@ setup-eggs =
${numpy:egg}
${numpy:egg}
${scipy:egg}
${scipy:egg}
rpath =
rpath =
${gcc:location}/lib
${gcc:location}/lib64
${openblas:location}/lib
${openblas:location}/lib
component/tensorboard/buildout.cfg
View file @
79e10cb2
...
@@ -26,9 +26,6 @@ egg = ${:_buildout_section_name_}
...
@@ -26,9 +26,6 @@ egg = ${:_buildout_section_name_}
workdir = ${tensorboard-repository:location}
workdir = ${tensorboard-repository:location}
egg-name = ${:egg}-${versions:tensorflow-tensorboard}-py${python:version}.egg
egg-name = ${:egg}-${versions:tensorflow-tensorboard}-py${python:version}.egg
location = ${buildout:eggs-directory}/${:egg-name}
location = ${buildout:eggs-directory}/${:egg-name}
gcc-bin = ${gcc:location}/bin
gcc-lib = ${gcc:location}/lib
gcc-lib64 = ${gcc:location}/lib64
numpy-python-command = ${buildout:bin-directory}/${numpy-egg:interpreter}
numpy-python-command = ${buildout:bin-directory}/${numpy-egg:interpreter}
python-lib = ${python:location}/lib
python-lib = ${python:location}/lib
java_home_bin = ${bazel:java_home}/bin
java_home_bin = ${bazel:java_home}/bin
...
@@ -37,19 +34,12 @@ install =
...
@@ -37,19 +34,12 @@ install =
import os, shutil
import os, shutil
from setuptools.archive_util import unpack_archive
from setuptools.archive_util import unpack_archive
workdir = options['workdir']
workdir = options['workdir']
env = {'PATH':':'.join([options['gcc-bin'],
env = {'PATH':':'.join([options['java_home_bin'],
options['java_home_bin'],
options['bazel-bin'],
options['bazel-bin'],
os.environ['PATH']]),
os.environ['PATH']]),
'COMPILER_PATH':':'.join([options['gcc-bin'],
os.environ.get('COMPILER_PATH') or '']),
'LIBRARY_PATH':':'.join([options['gcc-lib'],
options['gcc-lib64'],
os.environ.get('LIBRARY_PATH') or '']),
'PYTHON_BIN_PATH':options['numpy-python-command'],
'PYTHON_BIN_PATH':options['numpy-python-command'],
'PYTHON_LIB_PATH':options['python-lib'],
'PYTHON_LIB_PATH':options['python-lib'],
}
}
env['LD_LIBRARY_PATH'] = env['LIBRARY_PATH']
bazel_command = ['bazel', 'build', '--spawn_strategy=standalone', '--verbose_failures', '--sandbox_debug', '//tensorboard/pip_package:build_pip_package']
bazel_command = ['bazel', 'build', '--spawn_strategy=standalone', '--verbose_failures', '--sandbox_debug', '//tensorboard/pip_package:build_pip_package']
os.chdir(workdir)
os.chdir(workdir)
try:
try:
...
...
component/tensorflow/buildout.cfg
View file @
79e10cb2
...
@@ -47,9 +47,6 @@ egg = ${:_buildout_section_name_}
...
@@ -47,9 +47,6 @@ egg = ${:_buildout_section_name_}
workdir = ${tensorflow-repository:location}
workdir = ${tensorflow-repository:location}
egg-name = ${:egg}-${versions:tensorflow}-py${python:version}-linux-x86_64.egg
egg-name = ${:egg}-${versions:tensorflow}-py${python:version}-linux-x86_64.egg
location = ${buildout:eggs-directory}/${:egg-name}
location = ${buildout:eggs-directory}/${:egg-name}
gcc-bin = ${gcc:location}/bin
gcc-lib = ${gcc:location}/lib
gcc-lib64 = ${gcc:location}/lib64
numpy-python-command = ${buildout:bin-directory}/${numpy-egg:interpreter}
numpy-python-command = ${buildout:bin-directory}/${numpy-egg:interpreter}
python-lib = ${python:location}/lib
python-lib = ${python:location}/lib
java_home_bin = ${bazel:java_home}/bin
java_home_bin = ${bazel:java_home}/bin
...
@@ -62,15 +59,9 @@ install =
...
@@ -62,15 +59,9 @@ install =
import os, shutil
import os, shutil
from setuptools.archive_util import unpack_archive
from setuptools.archive_util import unpack_archive
workdir = options['workdir']
workdir = options['workdir']
env = {'PATH':':'.join([options['gcc-bin'],
env = {'PATH':':'.join([options['java_home_bin'],
options['java_home_bin'],
options['bazel_bin'],
options['bazel_bin'],
os.environ['PATH']]),
os.environ['PATH']]),
'COMPILER_PATH':':'.join([options['gcc-bin'],
os.environ.get('COMPILER_PATH') or '']),
'LIBRARY_PATH':':'.join([options['gcc-lib'],
options['gcc-lib64'],
os.environ.get('LIBRARY_PATH') or '']),
'PYTHON_BIN_PATH':options['numpy-python-command'],
'PYTHON_BIN_PATH':options['numpy-python-command'],
'PYTHON_LIB_PATH':options['python-lib'],
'PYTHON_LIB_PATH':options['python-lib'],
'CC_OPT_FLAGS':'-march=native',
'CC_OPT_FLAGS':'-march=native',
...
@@ -85,7 +76,6 @@ install =
...
@@ -85,7 +76,6 @@ install =
'TF_NEED_MPI':'0',
'TF_NEED_MPI':'0',
'TF_NEED_CUDA':self.buildout['cuda']['tf_need_cuda'],
'TF_NEED_CUDA':self.buildout['cuda']['tf_need_cuda'],
##### FOR CUDA #####
##### FOR CUDA #####
'GCC_HOST_COMPILER_PATH':os.path.join(options['gcc-bin'], 'gcc'),
'TF_CUDA_VERSION':self.buildout['cuda']['tf_cuda_version'],
'TF_CUDA_VERSION':self.buildout['cuda']['tf_cuda_version'],
'CUDA_TOOLKIT_PATH':self.buildout['cuda']['cuda_toolkit_path'],
'CUDA_TOOLKIT_PATH':self.buildout['cuda']['cuda_toolkit_path'],
'TF_CUDNN_VERSION':self.buildout['cuda']['tf_cudnn_version'],
'TF_CUDNN_VERSION':self.buildout['cuda']['tf_cudnn_version'],
...
@@ -94,8 +84,6 @@ install =
...
@@ -94,8 +84,6 @@ install =
####################
####################
}
}
if not os.path.exists(env['CUDA_TOOLKIT_PATH']): env['TF_NEED_CUDA'] = '0'
if not os.path.exists(env['CUDA_TOOLKIT_PATH']): env['TF_NEED_CUDA'] = '0'
env['LD_LIBRARY_PATH'] = env['LIBRARY_PATH']
env['LDFLAGS'] = '-lW,-rpath='+options['gcc-lib64']
call(['./configure'], cwd=workdir, env=env)
call(['./configure'], cwd=workdir, env=env)
bazel_command = (env['TF_NEED_CUDA'] == '1' and
bazel_command = (env['TF_NEED_CUDA'] == '1' and
['bazel', 'build', '-c', 'opt', '--copt', '-march=native', '--config', 'cuda', '-s', '--verbose_failures', '//tensorflow/tools/pip_package:build_pip_package']
['bazel', 'build', '-c', 'opt', '--copt', '-march=native', '--config', 'cuda', '-s', '--verbose_failures', '//tensorflow/tools/pip_package:build_pip_package']
...
...
component/tesseract/buildout.cfg
View file @
79e10cb2
...
@@ -2,7 +2,6 @@
...
@@ -2,7 +2,6 @@
extends =
extends =
../autoconf/buildout.cfg
../autoconf/buildout.cfg
../automake/buildout.cfg
../automake/buildout.cfg
../gcc/buildout.cfg
../jbigkit/buildout.cfg
../jbigkit/buildout.cfg
../leptonica/buildout.cfg
../leptonica/buildout.cfg
../libpng/buildout.cfg
../libpng/buildout.cfg
...
@@ -33,10 +32,9 @@ configure-options =
...
@@ -33,10 +32,9 @@ configure-options =
# its trained data, so we set its datarootdir above to a controlled location
# its trained data, so we set its datarootdir above to a controlled location
environment =
environment =
PATH=${pkgconfig:location}/bin:${autoconf:location}/bin:${automake:location}/bin:${
gcc:location}/bin:${
libtool:location}/bin:${m4:location}/bin:${patch:location}/bin:%(PATH)s
PATH=${pkgconfig:location}/bin:${autoconf:location}/bin:${automake:location}/bin:${libtool:location}/bin:${m4:location}/bin:${patch:location}/bin:%(PATH)s
PKG_CONFIG_PATH=${:pkg_config_depends}
PKG_CONFIG_PATH=${:pkg_config_depends}
LD_LIBRARY_PATH=${gcc:location}/lib:${gcc:location}/lib64
LDFLAGS=-L${leptonica:location}/lib -Wl,-rpath=${leptonica:location}/lib -L${jbigkit:location}/lib -Wl,-rpath=${jbigkit:location}/lib -L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib
LDFLAGS=-Wl,-rpath=${gcc:location}/lib -Wl,-rpath=${gcc:location}/lib64 -L${leptonica:location}/lib -Wl,-rpath=${leptonica:location}/lib -L${jbigkit:location}/lib -Wl,-rpath=${jbigkit:location}/lib -L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib
[tesseract-traineddata]
[tesseract-traineddata]
location = ${buildout:parts-directory}/${:_buildout_section_name_}
location = ${buildout:parts-directory}/${:_buildout_section_name_}
...
...
software/cloudooo/software-common.cfg
View file @
79e10cb2
...
@@ -7,6 +7,11 @@ extends =
...
@@ -7,6 +7,11 @@ extends =
parts =
parts =
${cloudooo-buildout:parts}
${cloudooo-buildout:parts}
[gcc]
# For old version of glibmm.
part = gcc-5.5
max_version = 6
[cloudooo-buildout]
[cloudooo-buildout]
parts =
parts =
${stack-cloudooo-buildout:parts}
${stack-cloudooo-buildout:parts}
...
...
software/dream/software.cfg
View file @
79e10cb2
...
@@ -13,6 +13,10 @@ parts =
...
@@ -13,6 +13,10 @@ parts =
npm_install
npm_install
instance
instance
[gcc]
# Always build GCC for Fortran (see openblas).
max_version = 0
[instance]
[instance]
recipe = slapos.recipe.template
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/${:filename}
url = ${:_profile_base_location_}/${:filename}
...
...
software/gitlab/software.cfg
View file @
79e10cb2
...
@@ -232,7 +232,6 @@ command = bash -c ". ${gowork:env.sh} && CGO_CFLAGS=-I${:git2go}/include CGO_LDF
...
@@ -232,7 +232,6 @@ command = bash -c ". ${gowork:env.sh} && CGO_CFLAGS=-I${:git2go}/include CGO_LDF
[gowork]
[gowork]
golang = ${golang1.12:location}
golang = ${golang1.12:location}
gcc-bin-directory = ${golang1.12:gcc-bin-directory}
# gitlab.com/gitlab-org/gitlab-workhorse
# gitlab.com/gitlab-org/gitlab-workhorse
# gitlab.com/gitlab-org/gitlab-workhorse/cmd/gitlab-zip-cat
# gitlab.com/gitlab-org/gitlab-workhorse/cmd/gitlab-zip-cat
# gitlab.com/gitlab-org/gitlab-workhorse/cmd/gitlab-zip-metadata
# gitlab.com/gitlab-org/gitlab-workhorse/cmd/gitlab-zip-metadata
...
...
software/grafana/software.cfg
View file @
79e10cb2
...
@@ -50,7 +50,6 @@ promtail-bin = ${:bin}/promtail
...
@@ -50,7 +50,6 @@ promtail-bin = ${:bin}/promtail
# use recent go
# use recent go
golang = ${golang1.12:location}
golang = ${golang1.12:location}
gcc-bin-directory = ${golang1.12:gcc-bin-directory}
[gowork.goinstall]
[gowork.goinstall]
command = :
command = :
...
...
software/jupyter/software.cfg
View file @
79e10cb2
...
@@ -12,6 +12,10 @@ parts +=
...
@@ -12,6 +12,10 @@ parts +=
jupyter-notebook-initialized-scripts
jupyter-notebook-initialized-scripts
instance-jupyter-notebook
instance-jupyter-notebook
[gcc]
# Always build GCC for Fortran (see openblas).
max_version = 0
[jupyter]
[jupyter]
python_executable = ${buildout:bin-directory}/${:interpreter}
python_executable = ${buildout:bin-directory}/${:interpreter}
...
...
software/nextcloud/software.cfg
View file @
79e10cb2
...
@@ -4,6 +4,11 @@ extends =
...
@@ -4,6 +4,11 @@ extends =
../../component/redis/buildout.cfg
../../component/redis/buildout.cfg
../../stack/lamp/buildout.cfg
../../stack/lamp/buildout.cfg
[gcc]
# For old version of glibmm.
part = gcc-5.5
max_version = 6
[nc-download-base]
[nc-download-base]
recipe = hexagonit.recipe.download
recipe = hexagonit.recipe.download
ignore-existing = true
ignore-existing = true
...
...
software/powerdns/software.cfg
View file @
79e10cb2
...
@@ -10,6 +10,11 @@ parts =
...
@@ -10,6 +10,11 @@ parts =
slapos-cookbook
slapos-cookbook
eggs
eggs
[gcc]
# For old version of PowerDNS and Ragel.
part = gcc-5.5
max_version = 6
[eggs]
[eggs]
recipe = zc.recipe.egg
recipe = zc.recipe.egg
eggs =
eggs =
...
...
software/wendelin/software.cfg
View file @
79e10cb2
...
@@ -30,17 +30,23 @@ eggs +=
...
@@ -30,17 +30,23 @@ eggs +=
${ipython:egg}
${ipython:egg}
[generic_testrunner_init]
[generic_testrunner_init]
initialization =
recipe = slapos.recipe.build
init =
import struct
gcc = self.buildout['gcc']
options['initialization'] %= (
gcc['prefix'] + '/lib%s/libstdc++.so' % (8 * struct.calcsize("P"))
) if 'part' in gcc else ''
initialization =
# The 4 lines below will replace the process with another one, with the proper
# The 4 lines below will replace the process with another one, with the proper
# LD_PRELOAD environment variable. This is necessary because LD_PRELOAD is only
# LD_PRELOAD environment variable. This is necessary because LD_PRELOAD is only
# taken into account when the process starts. Modifying it in runtime doesn't
# taken into account when the process starts. Modifying it in runtime doesn't
# work.
# work.
import struct, os
import os
arch = 8 * struct.calcsize("P")
if not os.getenv('LD_PRELOAD'):
rerun = not os.getenv('LD_PRELOAD')
os.environ['LD_PRELOAD'] = %r
if rerun: os.environ['LD_PRELOAD'] = '''${gcc:location}/lib%s/libstdc++.so''' % arch
os.execve(os.path.realpath(__file__), sys.argv, os.environ)
if rerun: os.execve(os.path.realpath(__file__), sys.argv, os.environ)
[test_suite_runner]
[test_suite_runner]
# we need to override the test suite runner to add our custom libstdc++ dynamic
# we need to override the test suite runner to add our custom libstdc++ dynamic
# library to the path
# library to the path
...
...
stack/erp5/buildout.cfg
View file @
79e10cb2
...
@@ -6,7 +6,6 @@ extends =
...
@@ -6,7 +6,6 @@ extends =
zope-versions.cfg
zope-versions.cfg
buildout.hash.cfg
buildout.hash.cfg
../../component/fonts/buildout.cfg
../../component/fonts/buildout.cfg
../../component/gcc/buildout.cfg
../../component/git/buildout.cfg
../../component/git/buildout.cfg
../../component/graphviz/buildout.cfg
../../component/graphviz/buildout.cfg
../../component/gzip/buildout.cfg
../../component/gzip/buildout.cfg
...
@@ -94,9 +93,10 @@ parts +=
...
@@ -94,9 +93,10 @@ parts +=
# jupyter
# jupyter
jupyter-notebook-initialized-scripts
jupyter-notebook-initialized-scripts
# override python2.7 to add SlapOS libstdc++ in RPATH.
[gcc]
[python2.7]
# KumoFS is known not to build with gcc>6.
extra-ldflags = -Wl,-rpath=${gcc:location}/lib -Wl,-rpath=${gcc:location}/lib64
# It may work with slightly more recent but not tested.
part = gcc-5.5
# override instance-jupyter-notebook not to render into default template.cfg
# override instance-jupyter-notebook not to render into default template.cfg
[instance-jupyter-notebook]
[instance-jupyter-notebook]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment