Commit 344794aa authored by gsell's avatar gsell

em.add_to_family is now used in all build scripts

parent 56bcd79d
...@@ -17,4 +17,5 @@ module() { ...@@ -17,4 +17,5 @@ module() {
# use system gcc to compile # use system gcc to compile
declare -rx CC=gcc declare -rx CC=gcc
em.add_to_family "core"
em.make_all em.make_all
...@@ -9,6 +9,6 @@ function em.configure() { ...@@ -9,6 +9,6 @@ function em.configure() {
} }
em.set_build_dependencies "${COMPILER}" em.set_build_dependencies "${COMPILER}"
em.set_env em.add_to_family "core"
em.make_all em.make_all
...@@ -23,6 +23,7 @@ function em.install_doc() { ...@@ -23,6 +23,7 @@ function em.install_doc() {
# use system gcc to compile # use system gcc to compile
declare -rx CC=gcc declare -rx CC=gcc
em.add_to_family "core"
em.set_build_dependencies "m4" em.set_build_dependencies "m4"
em.make_all em.make_all
...@@ -23,6 +23,7 @@ function em.install_doc() { ...@@ -23,6 +23,7 @@ function em.install_doc() {
# use system gcc to compile # use system gcc to compile
declare -rx CC=gcc declare -rx CC=gcc
em.add_to_family "core"
em.set_build_dependencies "m4" "autoconf" em.set_build_dependencies "m4" "autoconf"
em.make_all em.make_all
...@@ -28,6 +28,7 @@ function em.configure() { ...@@ -28,6 +28,7 @@ function em.configure() {
|| exit 1 || exit 1
} }
em.add_to_family "core"
em.set_build_dependencies ${build_dependencies} em.set_build_dependencies ${build_dependencies}
em.make_all em.make_all
...@@ -26,6 +26,7 @@ function em.install_doc() { ...@@ -26,6 +26,7 @@ function em.install_doc() {
# use system gcc to compile # use system gcc to compile
declare -rx CC=gcc declare -rx CC=gcc
em.add_to_family "core"
em.set_build_dependencies "gmp" "mpfr" "mpc" em.set_build_dependencies "gmp" "mpfr" "mpc"
em.make_all em.make_all
...@@ -13,5 +13,6 @@ function em.configure() { ...@@ -13,5 +13,6 @@ function em.configure() {
declare -rx CC=gcc declare -rx CC=gcc
declare -rx CPP=/usr/bin/cpp declare -rx CPP=/usr/bin/cpp
em.add_to_family "core"
em.make_all em.make_all
...@@ -20,5 +20,6 @@ function em.install_doc() { ...@@ -20,5 +20,6 @@ function em.install_doc() {
"${DOCDIR}" "${DOCDIR}"
} }
em.add_to_family "core"
em.set_build_dependencies "${COMPILER}" em.set_build_dependencies "${COMPILER}"
em.make_all em.make_all
...@@ -12,7 +12,7 @@ function em.configure() { ...@@ -12,7 +12,7 @@ function em.configure() {
|| exit 1 || exit 1
} }
em.set_family "compiler" em.add_to_family "compiler"
em.set_build_dependencies "${COMPILER}" em.set_build_dependencies "${COMPILER}"
em.make_all em.make_all
...@@ -21,6 +21,7 @@ function em.install_doc() { ...@@ -21,6 +21,7 @@ function em.install_doc() {
# use system gcc to compile # use system gcc to compile
declare -rx CC=gcc declare -rx CC=gcc
em.add_to_family "core"
em.set_build_dependencies "autoconf" "automake" em.set_build_dependencies "autoconf" "automake"
em.make_all em.make_all
...@@ -15,5 +15,6 @@ function em.build() { ...@@ -15,5 +15,6 @@ function em.build() {
make make
} }
em.add_to_family "core"
em.set_build_dependencies "${COMPILER}" em.set_build_dependencies "${COMPILER}"
em.make_all em.make_all
...@@ -11,4 +11,5 @@ function em.configure() { ...@@ -11,4 +11,5 @@ function em.configure() {
# use system gcc to compile # use system gcc to compile
declare -rx CC=gcc declare -rx CC=gcc
em.add_to_family "core"
em.make_all em.make_all
...@@ -14,6 +14,7 @@ function em.configure() { ...@@ -14,6 +14,7 @@ function em.configure() {
# use system gcc to compile # use system gcc to compile
declare -rx CC=gcc declare -rx CC=gcc
em.add_to_family "core"
em.set_build_dependencies "gmp" "mpfr" em.set_build_dependencies "gmp" "mpfr"
em.make_all em.make_all
...@@ -13,5 +13,6 @@ function em.configure() { ...@@ -13,5 +13,6 @@ function em.configure() {
# use system gcc to compile # use system gcc to compile
declare -rx CC=gcc declare -rx CC=gcc
em.add_to_family "core"
em.set_build_dependencies "gmp" em.set_build_dependencies "gmp"
em.make_all em.make_all
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