Makefile revision 4561
70N/A# The contents of this file are subject to the terms of the 911N/A# Common Development and Distribution License (the "License"). 851N/A# You may not use this file except in compliance with the License. 919N/A# See the License for the specific language governing permissions 919N/A# and limitations under the License. 919N/A# When distributing Covered Code, include this CDDL HEADER in each 919N/A# If applicable, add the following below this CDDL HEADER, with the 919N/A# fields enclosed by brackets "[]" replaced with your own identifying 919N/A# information: Portions Copyright [yyyy] [name of copyright owner] 919N/A# Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved. 851N/A# requires Studio sunperf library integrated into S11.3 and later 70N/A# By default, tests in each GSL sub-directory are linked statically against 70N/A# a set of .la files. We don't deliver those in the GSL package, so we 70N/A# adjust all the tests to link against the dynamic GSL library instead. 's|^test_LDADD.*$$|test_LDFLAGS = -L`pwd`/../.libs/ -R`pwd`/../.libs/\ntest_LDADD = -lgsl|' \ # Recreate configure and top-level Makefile to pickup libsunperf changes. # Master test results are different not only between 32-bit and 64-bit, but # also between x86 and SPARC (different # of tests run). '-e "s|^.*$(CC).*$$|XXX_CC_XXX|g" ' \
'-e "s|^.*source=.*libtool=no.*$$|XXX_CC_XXX|g" ' \
'-e "s|^.*DEPDIR=.deps.*$$|XXX_CC_XXX|g" ' \
# Needed for "gmake test" to work successfully. # If SHELLOPTS is exported (as it is by the userland makefiles), # then all shell options get exported to child invocations of bash, # which results in test failures due to nounset and xtrace being # set unexpectedly, and errors such as "$1: unbound variable" and # diffs failing due to script tracing in output files. # There is a known problem in libsunperf that is causing a GSL test failure # in Solaris 11.3 with Studio 12.1 just on the x86 platform: # linalg: FAIL: LQ_update m(5,3) [88] (32-bit) # The problem still exists on Solaris 12 with Studio 12.4 for which: # 20914954 cblas_gemm differences between x86 and sparcv7