Makefile revision 5716
454N/A# The contents of this file are subject to the terms of the 454N/A# Common Development and Distribution License (the "License"). 454N/A# You may not use this file except in compliance with the License. 454N/A# See the License for the specific language governing permissions 454N/A# and limitations under the License. 454N/A# When distributing Covered Code, include this CDDL HEADER in each 454N/A# If applicable, add the following below this CDDL HEADER, with the 454N/A# fields enclosed by brackets "[]" replaced with your own identifying 454N/A# information: Portions Copyright [yyyy] [name of copyright owner] 454N/A# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved. 454N/A# switching to parfait breaks a patch (23049278) 454N/A# Need to build the tests before using them. 454N/A# Get rid of compiler path set in RUNPATH 454N/A# Using a resolved pathname here (rather than say $(USRLIBDIR64)/R/lib) so 454N/A# will just work on both platforms. # Augment the PATH and set CC/CXX/F95 such that the build environment doesn't # our build environment to build R modules. # For now, R is built with a very specific set of optimization flags to match # Oracle-provided builds. These should be re-evaluated when upgrading to # Studio 12.5 or later or when next upgrading R. # We (the Userland) team don't need -D__MATHERR_RENAME_EXCEPTION for the # creation of the R packages we provide in Solaris. It would be needed by # our customers that try to install R packages that use C++. And they would # be using the version of the Studio compilers on their machine(s) to do this. # Studio 12.5 will hopefully automatically provide this definition when C++ # code is compiled with "-std=c++11". When that version of the Studio # compilers is released, we should encourage customers to install it, but # for those still using Studio 12.4, this definition will continue to be needed. # Needed so that R packages using C++ code can link against the standard # Set the various Java variables otherwise it auto-detects the 32-bit ones. # 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). # Supply Makeconf files for both the Studio and the GNU C, C++ and Fortran # Increase stack limit to allow the "infinite recursion" test to work. '-e "/^Testing examples for package /p" ' \
'-e "/^ expect some differences/p" ' \
# Use the installed version of R, not the one in the build area. # These definitions override those found in .../test/Makefile.