conf: !!python/tuple [std]
- 'liburcu_{version}_{buildtype}':
buildtype: solarisbuild
- arch: !!python/tuple [solaris10, solaris11]
+ arch: !!python/tuple [sol10-i386, sol11-i386]
build: !!python/tuple [std]
conf: !!python/tuple [std, static, tls_fallback, debug-rcu]
version: # Solaris support was introduced in 0.9
buildtype: solarisbuild
version: master
ustversion: master
- arch: !!python/tuple [solaris10, solaris11]
+ arch: !!python/tuple [sol10-i386, sol11-i386]
build: !!python/tuple [std]
conf: !!python/tuple [relayd-only]
urcuversion: !!python/tuple [master]
buildtype: solarisbuild
version: stable-2.10
ustversion: stable-2.10
- arch: !!python/tuple [solaris10, solaris11]
+ arch: !!python/tuple [sol10-i386, sol11-i386]
build: !!python/tuple [std]
conf: !!python/tuple [relayd-only]
urcuversion: !!python/tuple [stable-0.9]
buildtype: solarisbuild
version: stable-2.9
ustversion: stable-2.9
- arch: !!python/tuple [solaris10, solaris11]
+ arch: !!python/tuple [sol10-i386, sol11-i386]
build: !!python/tuple [std]
conf: !!python/tuple [relayd-only]
urcuversion: !!python/tuple [stable-0.9]
buildtype: solarisbuild
version: stable-2.8
ustversion: stable-2.8
- arch: !!python/tuple [solaris10, solaris11]
+ arch: !!python/tuple [sol10-i386, sol11-i386]
build: !!python/tuple [std]
conf: !!python/tuple [relayd-only]
urcuversion: !!python/tuple [stable-0.9]
buildtype: solarisbuild
version: master-staging
ustversion: master
- arch: !!python/tuple [solaris10, solaris11]
+ arch: !!python/tuple [sol10-i386, sol11-i386]
build: !!python/tuple [std]
conf: !!python/tuple [relayd-only]
urcuversion: !!python/tuple [master]
# Set platform variables
case "$arch" in
-solaris10)
- MAKE=gmake
- TAR=gtar
- NPROC=gnproc
- LDFLAGS=""
- CFLAGS=""
+sol10-i386)
+ export MAKE=gmake
+ export TAR=gtar
+ export NPROC=gnproc
+ export BISON=bison
+ export YACC="$BISON -y"
export PATH="/opt/csw/bin:/usr/ccs/bin:$PATH"
+ export CPPFLAGS="-I/opt/csw/include"
+ export LDFLAGS="-L/opt/csw/lib -R/opt/csw/lib"
+ export PKG_CONFIG_PATH="/opt/csw/lib/pkgconfig"
;;
-
-solaris11)
- MAKE=gmake
- TAR=gtar
- NPROC=nproc
- LDFLAGS=""
- CFLAGS=""
+sol11-i386)
+ export MAKE=gmake
+ export TAR=gtar
+ export NPROC=nproc
+ export BISON="/opt/csw/bin/bison"
+ export YACC="$BISON -y"
export PATH="$PATH:/usr/perl5/bin"
+ #export LD_ALTEXEC=/usr/sfw/bin/gld
+ #export LD=/usr/sfw/bin/gld
;;
-
macosx)
- MAKE=make
- TAR=tar
- NPROC="getconf _NPROCESSORS_ONLN"
- BISON="bison"
- YACC="$BISON -y"
- LDFLAGS="-L/opt/local/lib"
- CFLAGS="-I/opt/local/include"
+ export MAKE=make
+ export TAR=tar
+ export NPROC="getconf _NPROCESSORS_ONLN"
+ export BISON="bison"
+ export YACC="$BISON -y"
+ export LDFLAGS="-L/opt/local/lib"
+ export CFLAGS="-I/opt/local/include"
export PATH="/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
;;
*)
- MAKE=make
- TAR=tar
- NPROC=nproc
- LDFLAGS=""
- CFLAGS=""
+ export MAKE=make
+ export TAR=tar
+ export NPROC=nproc
;;
esac
if vergte "$PACKAGE_VERSION" "0.10"; then
CONF_OPTS="--enable-rcu-debug"
else
- CFLAGS="$CFLAGS -DDEBUG_RCU"
+ export CFLAGS="${CFLAGS:} -DDEBUG_RCU"
fi
;;
BUILD_PATH=$WORKSPACE/oot
mkdir -p "$BUILD_PATH"
cd "$BUILD_PATH"
- MAKE=$MAKE CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" "$SRCDIR/configure" --prefix="$PREFIX" $CONF_OPTS
+ "$SRCDIR/configure" --prefix="$PREFIX" $CONF_OPTS
;;
dist)
BUILD_PATH=$(mktemp -d)
# Initial configure and generate tarball
- MAKE=$MAKE "$SRCDIR/configure"
+ "$SRCDIR/configure"
$MAKE dist
mkdir -p "$BUILD_PATH"
# Ignore level 1 of tar
$TAR xvf ./*.tar.* --strip 1
- MAKE=$MAKE CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" "$BUILD_PATH/configure" --prefix="$PREFIX" $CONF_OPTS
+ "$BUILD_PATH/configure" --prefix="$PREFIX" $CONF_OPTS
;;
*)
echo "Standard in-tree build"
- MAKE=$MAKE CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" "$BUILD_PATH/configure" --prefix="$PREFIX" $CONF_OPTS
+ "$BUILD_PATH/configure" --prefix="$PREFIX" $CONF_OPTS
;;
esac
# Set platform variables
case "$arch" in
-solaris10)
+sol10-i386)
MAKE=gmake
TAR=gtar
NPROC=gnproc
export PATH="/opt/csw/bin:/usr/ccs/bin:$PATH"
;;
-solaris11)
+sol11-i386)
MAKE=gmake
TAR=gtar
NPROC=nproc