Makefile revision 5336
#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#
#
TPNO= 22535
# Get rid of compiler path set in RUNPATH
LDFLAGS += $(studio_NORUNPATH)
LDFLAGS += $(studio_PIC)
LDFLAGS += $(LD_DEF_LIBS)
# Set the various Java variables otherwise it auto-detects the 32-bit ones.
CONFIGURE_ENV += JAVA_CPPFLAGS="-I$(JAVA8_HOME)/jre/../include -I$(JAVA8_HOME)/jre/../include/solaris"
# From Brian Whitney:
# You need to define this option on SPARC, otherwise you will get quad
# arithmetic on SPARC but not on x86. Really makes some R functions run
# very slow on SPARC (COR path).
CONFIGURE_OPTIONS.i386 =
CONFIGURE_OPTIONS.sparc = --disable-long-double
# Increase stack limit to allow the "infinite recursion" test to work.
'-n ' \
'-e "/^Testing examples for package /p" ' \
'-e "/^running /p" ' \
'-e "/^ expect some differences/p" ' \
'-e "/comparing.*datetime.Rout/d" ' \
'-e "/comparing.*reg-examples3.Rout/d" ' \
'-e "/^ comparing /p" '
ASLR_MODE = $(ASLR_ENABLE)
# Use the installed version of R, not the one in the build area.
COMPONENT_SYSTEM_TEST_ARGS += R="LANGUAGE=en LC_ALL=C SRCDIR=$(BUILD_DIR_64)/tests R_DEFAULT_PACKAGES= /usr/bin/R --vanilla"
COMPONENT_TEST_ARGS = -k -i
COMPONENT_SYSTEM_TEST_ARGS += -k -i
install: $(INSTALL_64)
test: $(TEST_64)
# Need to build the tests before use them.