components/libgsl/Makefile
author John Beck <John.Beck@Oracle.COM>
Wed, 18 Nov 2015 12:45:08 -0800
changeset 5106 7da49475ad49
parent 4747 0e43ac303e45
child 5250 3b05aeef75e3
permissions -rw-r--r--
22227841 SUNWpyyaml26 needs to be obsoleted
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
4119
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     1
#
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     3
#
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     7
#
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    11
# and limitations under the License.
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    12
#
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    18
#
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    20
#
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    21
# Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    22
#
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    23
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    24
include ../../make-rules/shared-macros.mk
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    25
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    26
COMPONENT_NAME=		gsl
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    27
COMPONENT_VERSION=	1.16
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    28
COMPONENT_PROJECT_URL=	http://www.gnu.org/software/gsl/
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    29
COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    30
COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    31
COMPONENT_ARCHIVE_HASH=	\
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    32
    sha256:73bc2f51b90d2a780e6d266d43e487b3dbd78945dd0b04b14ca5980fe28d2f53
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    33
COMPONENT_ARCHIVE_URL=	http://ftp.gnu.org/gnu/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    34
COMPONENT_BUGDB=	library/libgsl
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    35
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    36
TPNO=			21884
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    37
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    38
include $(WS_MAKE_RULES)/prep.mk
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    39
include $(WS_MAKE_RULES)/configure.mk
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    40
include $(WS_MAKE_RULES)/ips.mk
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    41
4158
120144d5f6f3 20867067 "gmake test" failures for libgsl
Rich Burridge <rich.burridge@oracle.com>
parents: 4119
diff changeset
    42
# By default, tests in each GSL sub-directory are linked statically against
120144d5f6f3 20867067 "gmake test" failures for libgsl
Rich Burridge <rich.burridge@oracle.com>
parents: 4119
diff changeset
    43
# a set of .la files. We don't deliver those in the GSL package, so we
120144d5f6f3 20867067 "gmake test" failures for libgsl
Rich Burridge <rich.burridge@oracle.com>
parents: 4119
diff changeset
    44
# adjust all the tests to link against the dynamic GSL library instead.
120144d5f6f3 20867067 "gmake test" failures for libgsl
Rich Burridge <rich.burridge@oracle.com>
parents: 4119
diff changeset
    45
COMPONENT_POST_UNPACK_ACTION = \
120144d5f6f3 20867067 "gmake test" failures for libgsl
Rich Burridge <rich.burridge@oracle.com>
parents: 4119
diff changeset
    46
	(cd $(COMPONENT_SRC); \
120144d5f6f3 20867067 "gmake test" failures for libgsl
Rich Burridge <rich.burridge@oracle.com>
parents: 4119
diff changeset
    47
	for f in `ls */Makefile.am` ; do \
120144d5f6f3 20867067 "gmake test" failures for libgsl
Rich Burridge <rich.burridge@oracle.com>
parents: 4119
diff changeset
    48
	    $(GSED) -i -e \
120144d5f6f3 20867067 "gmake test" failures for libgsl
Rich Burridge <rich.burridge@oracle.com>
parents: 4119
diff changeset
    49
		's|^test_LDADD.*$$|test_LDFLAGS = -L`pwd`/../.libs/ -R`pwd`/../.libs/\ntest_LDADD = -lgsl|' \
120144d5f6f3 20867067 "gmake test" failures for libgsl
Rich Burridge <rich.burridge@oracle.com>
parents: 4119
diff changeset
    50
		$$f ; \
120144d5f6f3 20867067 "gmake test" failures for libgsl
Rich Burridge <rich.burridge@oracle.com>
parents: 4119
diff changeset
    51
	done)
120144d5f6f3 20867067 "gmake test" failures for libgsl
Rich Burridge <rich.burridge@oracle.com>
parents: 4119
diff changeset
    52
120144d5f6f3 20867067 "gmake test" failures for libgsl
Rich Burridge <rich.burridge@oracle.com>
parents: 4119
diff changeset
    53
# Recreate configure and top-level Makefile to pickup libsunperf changes.
4119
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    54
COMPONENT_PREP_ACTION = \
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    55
	(cd $(@D) ; ACLOCAL=aclocal-1.11 AUTOMAKE=automake-1.11 autoreconf -f)
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    56
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    57
LDFLAGS += $(CC_BITS)
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    58
LDFLAGS += $(studio_PIC)
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    59
LDFLAGS += $(studio_OPT)
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    60
LDFLAGS += $(LD_Z_TEXT)
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    61
LDFLAGS += $(LD_Z_DEFS)
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    62
LDFLAGS += $(LD_DEF_LIBS)
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    63
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    64
STUDIO_LIBS_PATH.32 =	/usr/lib/studio
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    65
STUDIO_LIBS_PATH.64 =	/usr/lib/studio/64
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    66
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    67
LDFLAGS += -L$(STUDIO_LIBS_PATH.$(BITS)) -R$(STUDIO_LIBS_PATH.$(BITS)) \
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    68
		-lsunperf -lfsu -lmtsk -lpicl -lkstat
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    69
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    70
CONFIGURE_ENV += CFLAGS="$(CFLAGS)"
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    71
CONFIGURE_ENV += LDFLAGS="$(LDFLAGS)"
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    72
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    73
COMPONENT_BUILD_ARGS += CFLAGS="$(CFLAGS)"
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    74
COMPONENT_BUILD_ARGS += LDFLAGS="$(LDFLAGS)"
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    75
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    76
CC += $(CC_BITS)
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    77
4747
0e43ac303e45 21571218 Even more Userland components should have their system-test targets hooked up
Rich Burridge <rich.burridge@oracle.com>
parents: 4339
diff changeset
    78
COMPONENT_TEST_ARGS =		-k -i
0e43ac303e45 21571218 Even more Userland components should have their system-test targets hooked up
Rich Burridge <rich.burridge@oracle.com>
parents: 4339
diff changeset
    79
COMPONENT_SYSTEM_TEST_ARGS =	-k -i
4119
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    80
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    81
# Master test results are different not only between 32-bit and 64-bit, but
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    82
# also between x86 and SPARC (different # of tests run).
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    83
COMPONENT_TEST_MASTER = \
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    84
	$(COMPONENT_TEST_RESULTS_DIR)/results-$(MACH)-$(BITS).master
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    85
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    86
COMPONENT_TEST_TRANSFORMS += \
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    87
	'-e "s|^.*$(CC).*$$|XXX_CC_XXX|g" ' \
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    88
	'-e "s|^.*source=.*libtool=no.*$$|XXX_CC_XXX|g" ' \
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    89
	'-e "s|^.*DEPDIR=.deps.*$$|XXX_CC_XXX|g" ' \
4747
0e43ac303e45 21571218 Even more Userland components should have their system-test targets hooked up
Rich Burridge <rich.burridge@oracle.com>
parents: 4339
diff changeset
    90
	'-e "s|^make.*: Leaving directory.*$$|XXX_CC_XXX|g" ' \
0e43ac303e45 21571218 Even more Userland components should have their system-test targets hooked up
Rich Burridge <rich.burridge@oracle.com>
parents: 4339
diff changeset
    91
	'-e "s|^make.*: Entering directory.*$$|XXX_CC_XXX|g" ' \
0e43ac303e45 21571218 Even more Userland components should have their system-test targets hooked up
Rich Burridge <rich.burridge@oracle.com>
parents: 4339
diff changeset
    92
	'-e "s|^make.*: Nothing to be.*$$|XXX_CC_XXX|g" ' \
0e43ac303e45 21571218 Even more Userland components should have their system-test targets hooked up
Rich Burridge <rich.burridge@oracle.com>
parents: 4339
diff changeset
    93
	'-e "s|^.*warning:.*$$|XXX_CC_XXX|g" ' \
0e43ac303e45 21571218 Even more Userland components should have their system-test targets hooked up
Rich Burridge <rich.burridge@oracle.com>
parents: 4339
diff changeset
    94
	'-e "s|^.*s up to date.*$$|XXX_CC_XXX|g" ' \
4119
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    95
	'-e "/^XXX_CC_XXX$$/d" '
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    96
4747
0e43ac303e45 21571218 Even more Userland components should have their system-test targets hooked up
Rich Burridge <rich.burridge@oracle.com>
parents: 4339
diff changeset
    97
# Get correct libgsl.so from the proto area.
0e43ac303e45 21571218 Even more Userland components should have their system-test targets hooked up
Rich Burridge <rich.burridge@oracle.com>
parents: 4339
diff changeset
    98
TEST_LIBPATH.32 =	$(PROTOUSRLIBDIR)
0e43ac303e45 21571218 Even more Userland components should have their system-test targets hooked up
Rich Burridge <rich.burridge@oracle.com>
parents: 4339
diff changeset
    99
TEST_LIBPATH.64 =	$(PROTOUSRLIBDIR64)
0e43ac303e45 21571218 Even more Userland components should have their system-test targets hooked up
Rich Burridge <rich.burridge@oracle.com>
parents: 4339
diff changeset
   100
COMPONENT_TEST_ENV +=	LD_LIBRARY_PATH=$(TEST_LIBPATH.$(BITS))
0e43ac303e45 21571218 Even more Userland components should have their system-test targets hooked up
Rich Burridge <rich.burridge@oracle.com>
parents: 4339
diff changeset
   101
4119
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   102
# Needed for "gmake test" to work successfully.
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   103
# If SHELLOPTS is exported (as it is by the userland makefiles),
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   104
# then all shell options get exported to child invocations of bash,
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   105
# which results in test failures due to nounset and xtrace being
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   106
# set unexpectedly, and errors such as "$1: unbound variable" and
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   107
# diffs failing due to script tracing in output files.
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   108
unexport SHELLOPTS
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   109
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   110
ASLR_MODE = $(ASLR_ENABLE)
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   111
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   112
configure:	$(CONFIGURE_32_and_64)
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   113
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   114
build:		$(BUILD_32_and_64)
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   115
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   116
install:	$(INSTALL_32_and_64)
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   117
4158
120144d5f6f3 20867067 "gmake test" failures for libgsl
Rich Burridge <rich.burridge@oracle.com>
parents: 4119
diff changeset
   118
# There are known problems in libsunperf that are causing GSL test failures
120144d5f6f3 20867067 "gmake test" failures for libgsl
Rich Burridge <rich.burridge@oracle.com>
parents: 4119
diff changeset
   119
# in Solaris 12 with Studio 12.4 just on the x86 platform:
120144d5f6f3 20867067 "gmake test" failures for libgsl
Rich Burridge <rich.burridge@oracle.com>
parents: 4119
diff changeset
   120
# linalg: FAIL:   LQ_update m(5,3) [88]                             (32-bit)
120144d5f6f3 20867067 "gmake test" failures for libgsl
Rich Burridge <rich.burridge@oracle.com>
parents: 4119
diff changeset
   121
# caused by 20914954 cblas_gemm differences between x86 and sparcv7
120144d5f6f3 20867067 "gmake test" failures for libgsl
Rich Burridge <rich.burridge@oracle.com>
parents: 4119
diff changeset
   122
# linalg: FAIL:   cholesky_invert hilbert(4)                        (64-bit)
120144d5f6f3 20867067 "gmake test" failures for libgsl
Rich Burridge <rich.burridge@oracle.com>
parents: 4119
diff changeset
   123
# caused by 20909151 cblas_dsymm differences between amd64 and sparcv9.
4747
0e43ac303e45 21571218 Even more Userland components should have their system-test targets hooked up
Rich Burridge <rich.burridge@oracle.com>
parents: 4339
diff changeset
   124
test:		install $(TEST_32_and_64)
4119
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   125
4747
0e43ac303e45 21571218 Even more Userland components should have their system-test targets hooked up
Rich Burridge <rich.burridge@oracle.com>
parents: 4339
diff changeset
   126
system-test:    build $(SYSTEM_TEST_32_and_64)
4339
6501cf9c29f9 21116842 add system-test targets to each component Makefile and to top-level Makefiles
Stacy Yeh <stacy.yeh@oracle.com>
parents: 4158
diff changeset
   127
4119
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   128
REQUIRED_PACKAGES += shell/ksh93
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   129
REQUIRED_PACKAGES += system/library
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   130
REQUIRED_PACKAGES += system/library/math
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   131
REQUIRED_PACKAGES += system/library/openmp
bdf7d6775e82 PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   132
REQUIRED_PACKAGES += system/library/sunperf