mirror of https://gitee.com/bigwinds/arangodb
added "--build x86_64-apple-darwinXX.XX.XX" for MacOS X
This commit is contained in:
parent
b1f25fc7e3
commit
07d1dfa2fc
|
@ -54,61 +54,62 @@ case $TRI_OS_LONG in
|
||||||
|
|
||||||
Linux-ArchLinux*)
|
Linux-ArchLinux*)
|
||||||
echo "Using configuration for Arch Linux"
|
echo "Using configuration for Arch Linux"
|
||||||
OPTIONS="$OPTIONS --enable-mruby"
|
OPTIONS="$OPTIONS --disable-mruby"
|
||||||
LDD_INFO="yes"
|
LDD_INFO="yes"
|
||||||
RESULTS="$RESULTS arangoirb"
|
RESULTS="$RESULTS arangoirb"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
Linux-LinuxMint-13*)
|
Linux-LinuxMint-13*)
|
||||||
echo "Using configuration for LinuxMint 13"
|
echo "Using configuration for LinuxMint 13"
|
||||||
OPTIONS="$OPTIONS --enable-mruby"
|
OPTIONS="$OPTIONS --disable-mruby"
|
||||||
LDD_INFO="yes"
|
LDD_INFO="yes"
|
||||||
RESULTS="$RESULTS arangoirb"
|
RESULTS="$RESULTS arangoirb"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
Linux-openSUSE-12*)
|
Linux-openSUSE-12*)
|
||||||
echo "Using configuration for openSuSE 12.X"
|
echo "Using configuration for openSuSE 12.X"
|
||||||
OPTIONS="$OPTIONS --enable-flex --enable-bison --enable-mruby "
|
OPTIONS="$OPTIONS --enable-flex --enable-bison --disable-mruby "
|
||||||
LDD_INFO="yes"
|
LDD_INFO="yes"
|
||||||
RESULTS="$RESULTS arangoirb"
|
RESULTS="$RESULTS arangoirb"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
Linux-openSUSE-11*)
|
Linux-openSUSE-11*)
|
||||||
echo "Using configuration for openSuSE 11.X"
|
echo "Using configuration for openSuSE 11.X"
|
||||||
OPTIONS="$OPTIONS --enable-mruby"
|
OPTIONS="$OPTIONS --disable-mruby"
|
||||||
LDD_INFO="yes"
|
LDD_INFO="yes"
|
||||||
RESULTS="$RESULTS arangoirb"
|
RESULTS="$RESULTS arangoirb"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
Linux-Debian-6*)
|
Linux-Debian-6*)
|
||||||
echo "Using configuration for Debian"
|
echo "Using configuration for Debian"
|
||||||
OPTIONS="$OPTIONS --enable-mruby"
|
OPTIONS="$OPTIONS --enable-all-in-one-libev --enable-all-in-one-v8 --disable-mruby"
|
||||||
LDD_INFO="yes"
|
LDD_INFO="yes"
|
||||||
RESULTS="$RESULTS arangoirb"
|
RESULTS="$RESULTS arangoirb"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
Linux-Debian*)
|
Linux-Debian*)
|
||||||
echo "Using configuration for Debian"
|
echo "Using configuration for Debian"
|
||||||
OPTIONS="$OPTIONS --enable-mruby"
|
OPTIONS="$OPTIONS --enable-all-in-one-libev --enable-all-in-one-v8 --enable-all-in-one-icu --disable-mruby"
|
||||||
LDD_INFO="yes"
|
LDD_INFO="yes"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
Linux-CentOS-*)
|
Linux-CentOS-6*)
|
||||||
echo "Using configuration for Centos"
|
echo "Using configuration for Centos"
|
||||||
OPTIONS="$OPTIONS --enable-mruby"
|
OPTIONS="$OPTIONS --enable-all-in-one-libev --enable-all-in-one-v8 --enable-all-in-one-icu --disable-mruby"
|
||||||
LDD_INFO="yes"
|
LDD_INFO="yes"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
Linux-Ubuntu-11.10*)
|
Linux-CentOS-5*)
|
||||||
echo "Using configuration for Ubuntu"
|
echo "Using configuration for Centos"
|
||||||
OPTIONS="$OPTIONS --enable-mruby"
|
OPTIONS="$OPTIONS --enable-all-in-one-libev --enable-all-in-one-v8 --enable-all-in-one-icu --disable-mruby"
|
||||||
LDD_INFO="yes"
|
LDD_INFO="yes"
|
||||||
RESULTS="$RESULTS arangoirb"
|
# bugfix for readline on CentOS 5:
|
||||||
|
export LIBS="-lncurses"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
Linux-Ubuntu-*)
|
Linux-Ubuntu-*)
|
||||||
echo "Using configuration for Ubuntu"
|
echo "Using configuration for Ubuntu"
|
||||||
OPTIONS="$OPTIONS --enable-mruby"
|
OPTIONS="$OPTIONS --enable-all-in-one-libev --enable-all-in-one-v8 --disable-mruby"
|
||||||
LDD_INFO="yes"
|
LDD_INFO="yes"
|
||||||
RESULTS="$RESULTS arangoirb"
|
RESULTS="$RESULTS arangoirb"
|
||||||
;;
|
;;
|
||||||
|
@ -117,8 +118,12 @@ case $TRI_OS_LONG in
|
||||||
echo "Using configuration for DARWIN"
|
echo "Using configuration for DARWIN"
|
||||||
CPPFLAGS='-isystem /usr/include -isystem /opt/local/include -Wno-deprecated-declarations'
|
CPPFLAGS='-isystem /usr/include -isystem /opt/local/include -Wno-deprecated-declarations'
|
||||||
LDFLAGS='-L/usr/lib -L/opt/local/lib' # need to use OpenSSL from system
|
LDFLAGS='-L/usr/lib -L/opt/local/lib' # need to use OpenSSL from system
|
||||||
OPTIONS="$OPTIONS --enable-mruby"
|
OPTIONS="$OPTIONS --enable-all-in-one-libev --enable-all-in-one-v8 --enable-all-in-one-icu --disable-mruby"
|
||||||
RESULTS="$RESULTS arangoirb"
|
RESULTS="$RESULTS arangoirb"
|
||||||
|
if [ "${TRI_MACH}" == "x86_64" ]; then
|
||||||
|
X=$(uname -r)
|
||||||
|
OPTIONS="$OPTIONS --build x86_64-apple-darwin${X}"
|
||||||
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
||||||
*)
|
*)
|
||||||
|
@ -154,6 +159,9 @@ echo
|
||||||
|
|
||||||
./configure $PREFIX $OPTIONS || exit 1
|
./configure $PREFIX $OPTIONS || exit 1
|
||||||
|
|
||||||
|
# bugfix for readline on CentOS 5:
|
||||||
|
unset LIBS
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo "########################################################"
|
echo "########################################################"
|
||||||
echo "compile:"
|
echo "compile:"
|
||||||
|
|
Loading…
Reference in New Issue