Commit 7fa15b6a authored by gsell's avatar gsell

declaration of dependencies moved to variant files

parent d0f3636e
H5root/1.2.0 stable b:autoconf/2.69 b:automake/1.14 b:libtool/2.4.2 gcc/4.7.4 hdf5_serial/1.8.12 b:H5hut_serial/1.99.13 root/5.34.19
H5root/1.2.0 stable b:autoconf/2.69 b:automake/1.14 b:libtool/2.4.2 gcc/4.8.3 hdf5_serial/1.8.12 b:H5hut_serial/1.99.13 root/5.34.19
H5root/1.3.0 unstable b:autoconf/2.69 b:automake/1.14 b:libtool/2.4.2 gcc/4.8.3 hdf5_serial/1.8.12 b:H5hut_serial/1.99.13 root/5.34.19
......@@ -13,7 +13,5 @@ declare JOBS=1
pbuild::compile_in_sourcetree
pbuild::add_to_group 'Compiler'
pbuild::set_runtime_dependencies "${COMPILER}" 'hdf5_serial' 'root'
pbuild::set_build_dependencies 'autoconf' 'automake' 'libtool' "${COMPILER}" 'hdf5_serial' 'H5hut_serial' 'root'
pbuild::make_all
gcc/4.8.3
hdf5_serial/1.8.12
H5hut_serial/1.99.13
root/5.34.26
OpenBLAS/0.2.9 stable gcc/4.7.4
OpenBLAS/0.2.9 stable gcc/4.8.3
OpenBLAS/0.2.9 stable gcc/4.8.4
OpenBLAS/0.2.9 stable gcc/4.9.2
OpenBLAS/0.2.9 unstable gcc/6.1.0
\ No newline at end of file
......@@ -35,7 +35,6 @@ EOF
}
pbuild::build() {
cd "${MODULE_SRCDIR}"
make
}
......@@ -50,8 +49,7 @@ pbuild::install() {
}
pbuild::add_to_group 'Compiler'
pbuild::set_runtime_dependencies "${COMPILER}"
pbuild::set_build_dependencies "${COMPILER}"
pbuild::compile_in_sourcetree
pbuild::set_docfiles 'LICENSE' 'README.md'
pbuild::set_supported_compilers 'gcc' 'intel'
pbuild::make_all
......
OpenBLAS_OMP/0.2.9 stable gcc/4.7.4
OpenBLAS_OMP/0.2.9 stable gcc/4.8.3
OpenBLAS_OMP/0.2.9 stable gcc/4.8.4
OpenBLAS_OMP/0.2.9 stable gcc/4.9.2
\ No newline at end of file
......@@ -39,8 +39,6 @@ pbuild::install() {
}
pbuild::add_to_group 'Compiler'
pbuild::set_runtime_dependencies "${COMPILER}"
pbuild::set_build_dependencies "${COMPILER}"
pbuild::set_docfiles 'LICENSE' 'README.md'
pbuild::set_supported_compilers 'gcc'
pbuild::make_all
......
SuperLU/4.3 stable gcc/4.7.4 b:OpenBLAS/0.2.9
SuperLU/4.3 stable gcc/4.8.3 b:OpenBLAS/0.2.9
SuperLU/4.3 stable gcc/4.8.4 b:OpenBLAS/0.2.9
SuperLU/4.3 stable gcc/4.9.2 b:OpenBLAS/0.2.9
SuperLU/4.3 stable gcc/4.9.3 b:OpenBLAS/0.2.9
SuperLU/4.3 stable gcc/5.3.0 b:OpenBLAS/0.2.9
SuperLU/4.3 stable gcc/6.1.0 b:OpenBLAS/0.2.9
......@@ -39,8 +39,7 @@ pbuild::install() {
}
pbuild::add_to_group 'Compiler'
pbuild::set_runtime_dependencies "${COMPILER}"
pbuild::set_build_dependencies "${COMPILER}" 'OpenBLAS'
pbuild::compile_in_sourcetree
pbuild::set_docfiles 'README'
pbuild::make_all
pbuild::cleanup_src
UMFPACK/5.6.2 stable gcc/4.7.4 OpenBLAS/0.2.9
UMFPACK/5.6.2 stable gcc/4.8.3 OpenBLAS/0.2.9
UMFPACK/5.6.2 stable gcc/4.8.4 OpenBLAS/0.2.9
UMFPACK/5.6.2 stable gcc/4.9.2 OpenBLAS/0.2.9
UMFPACK/5.6.2 unstable gcc/4.9.3 OpenBLAS/0.2.9
......@@ -30,13 +30,13 @@ pbuild::build() {
}
pbuild::install() {
cd "${MODULE_SRCDIR}/UMFPACK"
install -d "${PREFIX}/include"
install -d "${PREFIX}/lib"
make PREFIX="${PREFIX}" install
}
pbuild::add_to_group 'Compiler'
pbuild::set_runtime_dependencies "${COMPILER}" 'OpenBLAS'
pbuild::set_build_dependencies "${COMPILER}" 'OpenBLAS'
pbuild::compile_in_sourcetree
pbuild::make_all
#pbuild::cleanup_src
pbuild::cleanup_src
atlas/3.10.2 unstable gcc/4.9.2
boost/1.55.0 stable gcc/4.7.4 b:Python/3.4.0
boost/1.55.0 stable gcc/4.8.3 b:Python/3.4.0
boost/1.55.0 stable gcc/4.8.4 b:Python/3.4.0
boost/1.55.0 stable gcc/4.9.2 b:Python/3.4.0
boost/1.58.0 unstable gcc/4.8.4 b:Python/3.4.0
boost/1.58.0 unstable gcc/4.9.3 b:Python/2.7.11
......@@ -38,7 +38,5 @@ pbuild::install() {
}
pbuild::add_to_group 'Compiler'
pbuild::set_runtime_dependencies "${COMPILER}"
pbuild::set_build_dependencies "${COMPILER}" 'Python'
pbuild::make_all
gsl/1.15 stable gcc/4.7.4
gsl/1.15 stable gcc/4.8.3
gsl/1.15 stable gcc/4.8.4
gsl/1.15 deprecated gcc/4.9.2
gsl/1.15 stable gcc/4.9.3
......@@ -18,8 +18,6 @@ pbuild::set_docfiles \
'THANKS' \
'TODO'
pbuild::set_runtime_dependencies "${COMPILER}"
pbuild::set_build_dependencies "${COMPILER}"
pbuild::make_all
# Local Variables:
......
hdf5_serial/1.8.12 stable gcc/4.7.4
hdf5_serial/1.8.12 stable gcc/4.8.3
hdf5_serial/1.8.12 stable gcc/4.8.4
hdf5_serial/1.8.12 stable gcc/4.9.2
hdf5_serial/1.8.14 stable gcc/4.7.4
hdf5_serial/1.8.14 stable gcc/4.8.3
hdf5_serial/1.8.14 stable gcc/4.8.4
hdf5_serial/1.8.14 stable gcc/4.9.2
hdf5_serial/1.8.15-patch1 unstable gcc/5.2.0
......@@ -12,7 +12,5 @@ pbuild::configure() {
}
pbuild::add_to_group 'Compiler'
pbuild::set_runtime_dependencies "${COMPILER}"
pbuild::set_build_dependencies "${COMPILER}"
pbuild::make_all
1.10.0 Linux,Darwin deprecated gcc/4.8.4
1.10.0 Linux,Darwin deprecated gcc/4.9.2
1.10.0 Linux,Darwin deprecated gcc/4.9.3
1.10.2 Linux,Darwin stable gcc/4.8.5
1.10.2 Linux,Darwin stable gcc/4.9.3
1.10.2 Linux,Darwin deprecated gcc/5.2.0
1.10.2 Linux,Darwin stable gcc/5.3.0
1.10.2 Linux,Darwin unstable gcc/6.1.0
1.10.2 Linux unstable intel/15.3
1.6.5 stable Linux,Darwin gcc/4.7.4
1.6.5 stable Linux,Darwin gcc/4.8.3
1.6.5 stable Linux,Darwin gcc/4.8.4
1.6.5 stable Linux,Darwin gcc/4.8.5
1.6.5 deprecated Linux,Darwin gcc/4.9.2
1.6.5 stable Linux,Darwin gcc/4.9.3
1.6.5 stable Linux intel/15.2
1.6.5 stable Linux intel/15.3
1.6.5 stable gcc/4.7.4
1.6.5 stable gcc/4.8.3
1.6.5 stable gcc/4.8.4
1.6.5 stable gcc/4.8.5
1.6.5 deprecated gcc/4.9.2
1.6.5 stable gcc/4.9.3
1.6.5 stable gcc/4.7.4
1.6.5 stable gcc/4.8.3
1.6.5 stable gcc/4.8.4
1.6.5 stable gcc/4.8.5
1.6.5 deprecated gcc/4.9.2
1.6.5 stable gcc/4.9.3
1.6.5 stable intel/15.2
1.6.5 stable intel/15.3
# comment
1.8.2 Linux,Darwin stable gcc/4.7.4
1.8.2 Linux,Darwin stable gcc/4.8.3
1.8.2 Linux,Darwin stable gcc/4.8.4
1.8.2 Linux,Darwin stable gcc/4.8.5
1.8.2 Linux,Darwin deprecated gcc/4.9.2
1.8.2 Linux,Darwin stable gcc/4.9.3
1.8.4 Linux,Darwin stable gcc/4.7.4
1.8.4 Linux,Darwin stable gcc/4.8.3
1.8.4 Linux,Darwin stable gcc/4.8.4
1.8.4 Linux,Darwin stable gcc/4.9.2
1.8.8 Linux,Darwin deprecated gcc/4.8.4
1.8.8 Linux,Darwin stable gcc/4.8.5
1.8.8 Linux,Darwin stable gcc/4.9.3
1.8.8 Linux,Darwin deprecated gcc/5.2.0
1.8.8 Linux,Darwin stable gcc/5.3.0
1.8.8 Linux,Darwin unstable gcc/6.1.0
1.8.2 stable gcc/4.7.4
1.8.2 stable gcc/4.8.3
1.8.2 stable gcc/4.8.4
1.8.2 stable gcc/4.8.5
1.8.2 deprecated gcc/4.9.2
1.8.2 stable gcc/4.9.3
1.8.4 stable gcc/4.7.4
1.8.4 stable gcc/4.8.3
1.8.4 stable gcc/4.8.4
1.8.4 stable gcc/4.9.2
1.8.8 deprecated gcc/4.8.4
1.8.8 stable gcc/4.8.5
1.8.8 stable gcc/4.9.3
1.8.8 deprecated gcc/5.2.0
1.8.8 stable gcc/5.3.0
1.8.8 unstable gcc/6.1.0
# comment
1.8.2 stable gcc/4.7.4
1.8.2 stable gcc/4.8.3
1.8.2 stable gcc/4.8.4
1.8.2 stable gcc/4.8.5
1.8.2 deprecated gcc/4.9.2
1.8.2 stable gcc/4.9.3
1.8.4 stable gcc/4.7.4
1.8.4 stable gcc/4.8.3
1.8.4 stable gcc/4.8.4
1.8.4 stable gcc/4.9.2
1.8.8 deprecated gcc/4.8.4
1.8.8 stable gcc/4.8.5
1.8.8 stable gcc/4.9.3
1.8.8 deprecated gcc/5.2.0
1.8.8 stable gcc/5.3.0
1.8.8 unstable gcc/6.1.0
5.1.1 Linux,Darwin stable
5.1.1 stable
6.0.0 Linux,Darwin stable
6.1.0 Linux,Darwin stable
6.0.0 stable
6.1.0 stable
1.0.2 Linux,Darwin stable gmp/5.1.1 mpfr/3.1.2
1.0.3 Linux,Darwin stable gmp/6.1.0 mpfr/3.1.4
1.0.2 stable b:gmp/5.1.1 b:mpfr/3.1.2
1.0.3 stable b:gmp/6.1.0 b:mpfr/3.1.4
3.1.2 Linux,Darwin stable gmp/5.1.1
3.1.3 Linux,Darwin stable gmp/6.0.0
3.1.4 Linux,Darwin stable gmp/6.1.0
mpfr/3.1.2 stable b:gmp/5.1.1
mpfr/3.1.3 stable b:gmp/6.0.0
mpfr/3.1.4 stable b:gmp/6.1.0
......@@ -14,5 +14,4 @@ declare -rx CC=gcc
module use 'Libraries'
pbuild::add_to_group 'Libraries'
pbuild::set_build_dependencies 'gmp'
pbuild::make_all
......@@ -9,6 +9,7 @@ pbuild::configure() {
|| exit 1
}
CC=gcc
pbuild::add_to_group 'Libraries'
pbuild::set_build_dependencies "${COMPILER}"
pbuild::make_all
1.10.0 Linux,Darwin unstable gcc/4.8.5 openmpi/1.10.2
1.10.0 Linux,Darwin unstable gcc/4.9.3 openmpi/1.10.2
1.10.0 Linux,Darwin unstable gcc/5.3.0 openmpi/1.10.2
1.10.0 unstable gcc/4.8.5 openmpi/1.10.2
1.10.0 unstable gcc/4.9.3 openmpi/1.10.2
1.10.0 unstable gcc/5.3.0 openmpi/1.10.2
1.10.0 unstable gcc/6.1.0 openmpi/1.10.2
1.8.12 Linux,Darwin stable gcc/4.7.4 openmpi/1.6.5
1.8.12 Linux,Darwin stable gcc/4.7.4 openmpi/1.8.2
1.8.12 Linux,Darwin stable gcc/4.7.4 openmpi/1.8.4
1.8.12 Linux,Darwin stable gcc/4.8.3 openmpi/1.6.5
1.8.12 Linux,Darwin stable gcc/4.8.3 openmpi/1.8.2
1.8.12 Linux,Darwin stable gcc/4.8.3 openmpi/1.8.4
1.8.12 Linux,Darwin stable gcc/4.8.4 openmpi/1.6.5
1.8.12 Linux,Darwin stable gcc/4.8.4 openmpi/1.8.2
1.8.12 Linux,Darwin stable gcc/4.8.4 openmpi/1.8.4
1.8.12 Linux,Darwin stable gcc/4.9.2 openmpi/1.6.5
1.8.12 Linux,Darwin stable gcc/4.9.2 openmpi/1.8.2
1.8.12 Linux,Darwin stable gcc/4.9.2 openmpi/1.8.4
1.8.14 Linux,Darwin stable gcc/4.7.4 openmpi/1.6.5
1.8.14 Linux,Darwin stable gcc/4.7.4 openmpi/1.8.2
1.8.14 Linux,Darwin stable gcc/4.7.4 openmpi/1.8.4
1.8.14 Linux,Darwin stable gcc/4.8.3 openmpi/1.6.5
1.8.14 Linux,Darwin stable gcc/4.8.3 openmpi/1.8.2
1.8.14 Linux,Darwin stable gcc/4.8.3 openmpi/1.8.4
1.8.14 Linux,Darwin stable gcc/4.8.4 openmpi/1.6.5
1.8.14 Linux,Darwin stable gcc/4.8.4 openmpi/1.8.2
1.8.14 Linux,Darwin stable gcc/4.8.4 openmpi/1.8.4
1.8.14 Linux,Darwin stable gcc/4.8.4 openmpi/1.8.8
1.8.14 Linux,Darwin stable gcc/4.9.2 openmpi/1.6.5
1.8.14 Linux,Darwin stable gcc/4.9.2 openmpi/1.8.2
1.8.14 Linux,Darwin stable gcc/4.9.2 openmpi/1.8.4
1.8.15.1 Linux,Darwin stable gcc/5.2.0 openmpi/1.8.8
1.8.16 Linux,Darwin stable gcc/4.8.5 openmpi/1.8.8
1.8.16 Linux,Darwin stable gcc/4.8.5 openmpi/1.10.2
1.8.16 Linux,Darwin stable gcc/4.9.3 openmpi/1.8.8
1.8.16 Linux,Darwin stable gcc/4.9.3 openmpi/1.10.2
1.8.16 Linux,Darwin stable gcc/5.3.0 openmpi/1.8.8
1.8.16 Linux,Darwin stable gcc/5.3.0 openmpi/1.10.2
1.8.16 Linux,Darwin unstable gcc/6.1.0 openmpi/1.8.8
1.8.16 Linux,Darwin unstable gcc/6.1.0 openmpi/1.10.2
1.8.12 stable gcc/4.7.4 openmpi/1.6.5
1.8.12 stable gcc/4.7.4 openmpi/1.8.2
1.8.12 stable gcc/4.7.4 openmpi/1.8.4
1.8.12 stable gcc/4.8.3 openmpi/1.6.5
1.8.12 stable gcc/4.8.3 openmpi/1.8.2
1.8.12 stable gcc/4.8.3 openmpi/1.8.4
1.8.12 stable gcc/4.8.4 openmpi/1.6.5
1.8.12 stable gcc/4.8.4 openmpi/1.8.2
1.8.12 stable gcc/4.8.4 openmpi/1.8.4
1.8.12 deprecated gcc/4.9.2 openmpi/1.6.5
1.8.12 deprecated gcc/4.9.2 openmpi/1.8.2
1.8.12 deprecated gcc/4.9.2 openmpi/1.8.4
1.8.14 stable gcc/4.7.4 openmpi/1.6.5
1.8.14 stable gcc/4.7.4 openmpi/1.8.2
1.8.14 stable gcc/4.7.4 openmpi/1.8.4
1.8.14 stable gcc/4.8.3 openmpi/1.6.5
1.8.14 stable gcc/4.8.3 openmpi/1.8.2
1.8.14 stable gcc/4.8.3 openmpi/1.8.4
1.8.14 stable gcc/4.8.4 openmpi/1.6.5
1.8.14 stable gcc/4.8.4 openmpi/1.8.2
1.8.14 stable gcc/4.8.4 openmpi/1.8.4
1.8.14 stable gcc/4.8.4 openmpi/1.8.8
1.8.14 deprecated gcc/4.9.2 openmpi/1.6.5
1.8.14 deprecated gcc/4.9.2 openmpi/1.8.2
1.8.14 deprecated gcc/4.9.2 openmpi/1.8.4
1.8.15.1 deprecated gcc/5.2.0 openmpi/1.8.8
1.8.16 stable gcc/4.8.5 openmpi/1.8.8
1.8.16 stable gcc/4.8.5 openmpi/1.10.2
1.8.16 stable gcc/4.9.3 openmpi/1.8.8
1.8.16 stable gcc/4.9.3 openmpi/1.10.2
1.8.16 stable gcc/5.3.0 openmpi/1.8.8
1.8.16 stable gcc/5.3.0 openmpi/1.10.2
1.8.16 unstable gcc/6.1.0 openmpi/1.8.8
1.8.16 unstable gcc/6.1.0 openmpi/1.10.2
......@@ -22,8 +22,6 @@ pbuild::configure() {
pbuild::add_to_group 'MPI'
pbuild::set_runtime_dependencies "${COMPILER}" "${MPI}"
#pbuild::set_build_dependencies "${COMPILER}" "${MPI}"
pbuild::set_docfiles \
ACKNOWLEDGMENTS \
COPYING \
......
3.2.0 Linux,Darwin stable gcc/4.7.4 openmpi/1.6.5
3.2.0 Linux,Darwin stable gcc/4.7.4 openmpi/1.8.2
3.2.0 Linux,Darwin stable gcc/4.7.4 openmpi/1.8.4
3.2.0 Linux,Darwin stable gcc/4.7.4 openmpi/1.8.8
3.2.0 Linux,Darwin stable gcc/4.8.3 openmpi/1.6.5
3.2.0 Linux,Darwin stable gcc/4.8.3 openmpi/1.8.2
3.2.0 Linux,Darwin stable gcc/4.8.3 openmpi/1.8.4
3.2.0 Linux,Darwin stable gcc/4.8.4 openmpi/1.6.5
3.2.0 Linux,Darwin stable gcc/4.8.4 openmpi/1.8.2
3.2.0 Linux,Darwin stable gcc/4.8.4 openmpi/1.8.4
3.2.0 Linux,Darwin stable gcc/4.8.5 openmpi/1.8.8
3.2.0 Linux,Darwin stable gcc/4.9.2 openmpi/1.6.5
3.2.0 Linux,Darwin stable gcc/4.9.2 openmpi/1.8.2
3.2.0 Linux,Darwin stable gcc/4.9.2 openmpi/1.8.4
3.2.0 Linux,Darwin stable gcc/4.9.3 openmpi/1.8.8
3.2.0 Linux,Darwin unstable gcc/5.3.0 openmpi/1.8.8
3.2.0 Linux,Darwin unstable gcc/5.3.0 openmpi/1.10.2
3.2.0 stable gcc/4.7.4 openmpi/1.6.5
3.2.0 stable gcc/4.7.4 openmpi/1.8.2
3.2.0 stable gcc/4.7.4 openmpi/1.8.4
3.2.0 stable gcc/4.7.4 openmpi/1.8.8
3.2.0 stable gcc/4.8.3 openmpi/1.6.5
3.2.0 stable gcc/4.8.3 openmpi/1.8.2
3.2.0 stable gcc/4.8.3 openmpi/1.8.4
3.2.0 stable gcc/4.8.4 openmpi/1.6.5
3.2.0 stable gcc/4.8.4 openmpi/1.8.2
3.2.0 stable gcc/4.8.4 openmpi/1.8.4
3.2.0 stable gcc/4.8.5 openmpi/1.8.8
3.2.0 stable gcc/4.9.2 openmpi/1.6.5
3.2.0 stable gcc/4.9.2 openmpi/1.8.2
3.2.0 stable gcc/4.9.2 openmpi/1.8.4
3.2.0 stable gcc/4.9.3 openmpi/1.8.8
3.2.0 unstable gcc/5.3.0 openmpi/1.8.8
3.2.0 unstable gcc/5.3.0 openmpi/1.10.2
3.2.0 unstable gcc/6.1.0 openmpi/1.8.8
3.2.0 unstable gcc/6.1.0 openmpi/1.10.2
4.0.3 Linux,Darwin unstable gcc/5.3.0 openmpi/1.10.2 cmake
4.0.3 unstable gcc/5.3.0 openmpi/1.10.2 cmake
4.0.3 unstable gcc/6.1.0 openmpi/1.10.2 cmake
......@@ -15,6 +15,5 @@ pbuild::install() {
pbuild::add_to_group 'MX'
pbuild::set_build_dependencies ''
pbuild::make_all
2.7.11 Linux,Darwin unstable openssl/1.0.2h Tcl/8.6.4 Tk/8.6.4
2.7.11 unstable openssl/1.0.2h Tcl/8.6.4 Tk/8.6.4
diff --git a/gcc/config/darwin.c b/gcc/config/darwin.c
index 40804b8..0080299 100644
--- a/gcc/config/darwin.c
+++ b/gcc/config/darwin.c
@@ -1259,6 +1259,11 @@ darwin_encode_section_info (tree decl, rtx rtl, int first ATTRIBUTE_UNUSED)
void
darwin_mark_decl_preserved (const char *name)
{
+ /* Actually we shouldn't mark any local symbol this way, but for now
+ this only happens with ObjC meta-data. */
+ if (darwin_label_is_anonymous_local_objc_name (name))
+ return;
+
fprintf (asm_out_file, "\t.no_dead_strip ");
assemble_name (asm_out_file, name);
fputc ('\n', asm_out_file);
4.7.4 Linux,Darwin stable gmp/5.1.1 mpfr/3.1.2 mpc/1.0.2
4.8.3 Linux,Darwin stable gmp/5.1.1 mpfr/3.1.2 mpc/1.0.2
4.8.4 Linux,Darwin stable gmp/5.1.1 mpfr/3.1.2 mpc/1.0.2
4.8.5 Linux,Darwin stable gmp/6.0.0 mpfr/3.1.3 mpc/1.0.3
4.9.0 Linux,Darwin deprecated gmp/5.1.1 mpfr/3.1.2 mpc/1.0.2
4.9.2 Linux,Darwin deprecated gmp/5.1.1 mpfr/3.1.2 mpc/1.0.2
4.9.3 Linux,Darwin stable gmp/6.0.0 mpfr/3.1.3 mpc/1.0.3
gcc/4.7.4 stable b:gmp/5.1.1 b:mpfr/3.1.2 b:mpc/1.0.2
gcc/4.8.3 stable b:gmp/5.1.1 b:mpfr/3.1.2 b:mpc/1.0.2
gcc/4.8.4 stable b:gmp/5.1.1 b:mpfr/3.1.2 b:mpc/1.0.2
gcc/4.8.5 stable b:gmp/6.0.0 b:mpfr/3.1.3 b:mpc/1.0.3
gcc/4.9.0 deprecated b:gmp/5.1.1 b.mpfr/3.1.2 b:mpc/1.0.2
gcc/4.9.2 deprecated b:gmp/5.1.1 b:mpfr/3.1.2 b:mpc/1.0.2
gcc/4.9.3 stable b:gmp/6.1.0 b:mpfr/3.1.4 b:mpc/1.0.3
5.1.0 Linux,Darwin deprecated gmp/5.1.1 mpfr/3.1.2 mpc/1.0.2
5.2.0 Linux,Darwin deprecated gmp/6.0.0 mpfr/3.1.3 mpc/1.0.3
5.3.0 Linux,Darwin stable gmp/6.0.0 mpfr/3.1.3 mpc/1.0.3
gcc/5.1.0 deprecated b:gmp/5.1.1 b:mpfr/3.1.2 b:mpc/1.0.2
gcc/5.2.0 deprecated b:gmp/6.0.0 b:mpfr/3.1.3 b:mpc/1.0.3
gcc/5.3.0 stable b:gmp/6.0.0 b:mpfr/3.1.3 b:mpc/1.0.3
6.1.0 Linux,Darwin unstable gmp/6.1.0 mpfr/3.1.4 mpc/1.0.3
gcc/6.1.0 unstable b:gmp/6.1.0 b:mpfr/3.1.4 b:mpc/1.0.3
#!/usr/bin/env modbuild
pbuild::patch_sources_Darwin() {
if [[ "${V_MAJOR}" == "4" ]]; then
patch -p1 < "${BUILD_BLOCK_DIR}/${V_MAJOR}/non-dead-strip.patch"
fi
}
pbuild::configure() {
"${MODULE_SRCDIR}"/configure \
--prefix="${PREFIX}" \
......@@ -10,17 +16,15 @@ pbuild::configure() {
--enable-lto \
--disable-multilib \
--with-pkgversion="PSI Environment Module" \
--with-build-config=bootstrap-debug \
|| exit 1
}
# use system gcc to compile
declare -rx CC=gcc
declare -rx CXX=g++
module use 'Libraries'
pbuild::add_to_group 'Programming'
#pbuild::set_build_dependencies 'gmp' 'mpfr' 'mpc'
pbuild::set_docfiles 'COPYING' 'COPYING.LIB' 'COPYING.RUNTIME' 'COPYING3' 'COPYING3.LIB' 'NEWS' 'README'
pbuild::make_all
......@@ -3,14 +3,12 @@
declare buildblock=$1
declare variants=$2
declare -r OS=$(uname -s)
# File format example
# 1.10.2 Linux,Darwin unstable gcc/4.8.5
# 1.10.2 unstable gcc/4.8.5
declare -a toks=()
declare version=''
declare oss=''
declare release=''
declare -a dependencies=()
......@@ -18,13 +16,11 @@ while read -a toks; do
# skip comment and empty line
(( ${#toks[@]} == 0 )) && continue
[[ "${toks[0]:0:1}" == "#" ]] && continue
version=${toks[0]}
oss=${toks[1]}
release=${toks[2]}
dependencies=( ${toks[@]:3} )
module=${toks[0]}
release=${toks[1]}
dependencies=( ${toks[@]:2} )
[[ "${oss}" =~ "${OS}" ]] || continue
"${buildblock}" "${version}" --release=${release} "${dependencies[@]/#/--with=}"
"${buildblock}" "${module#*/}" --release=${release} "${dependencies[@]/#/--with=}"
if [[ $? != 0 ]]; then
echo "Failed building: ${version} --release=${release} ${dependencies[@]/#/--with=}" 1>&2
exit 42
......
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