components/libgsl/Makefile
author Vladimir Marek <Vladimir.Marek@oracle.com>
Thu, 22 Sep 2016 14:47:13 +0200
branchs11u3-sru
changeset 7046 d80040c62de5
parent 5483 c705419970e3
permissions -rw-r--r--
24708195 Update ImageMagick to 6.9.5-10 24708117 problem in UTILITY/IMAGEMAGICK
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
4138
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     1
#
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     3
#
240dc166feab 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
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
240dc166feab 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.
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     7
#
240dc166feab 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
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
240dc166feab 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
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    11
# and limitations under the License.
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    12
#
240dc166feab 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
240dc166feab 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.
240dc166feab 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
240dc166feab 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
240dc166feab 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]
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    18
#
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    20
#
5483
c705419970e3 22690727 Backport 22665511 to 11.3-SRU - libgsl is missing some files
Rich Burridge <rich.burridge@oracle.com>
parents: 4563
diff changeset
    21
# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
4138
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    22
#
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    23
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    24
include ../../make-rules/shared-macros.mk
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    25
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    26
COMPONENT_NAME=		gsl
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    27
COMPONENT_VERSION=	1.16
240dc166feab 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/
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    29
COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    30
COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    31
COMPONENT_ARCHIVE_HASH=	\
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    32
    sha256:73bc2f51b90d2a780e6d266d43e487b3dbd78945dd0b04b14ca5980fe28d2f53
240dc166feab 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)
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    34
COMPONENT_BUGDB=	library/libgsl
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    35
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    36
TPNO=			21884
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    37
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    38
include $(WS_MAKE_RULES)/prep.mk
4563
5d3e1ffc1ae1 21344772 updates for evaluation packages
John Beck <John.Beck@Oracle.COM>
parents: 4388
diff changeset
    39
5d3e1ffc1ae1 21344772 updates for evaluation packages
John Beck <John.Beck@Oracle.COM>
parents: 4388
diff changeset
    40
# requires Studio sunperf library integrated into S11.3 and later
5d3e1ffc1ae1 21344772 updates for evaluation packages
John Beck <John.Beck@Oracle.COM>
parents: 4388
diff changeset
    41
ifeq ($(BUILD_TYPE), evaluation)
5d3e1ffc1ae1 21344772 updates for evaluation packages
John Beck <John.Beck@Oracle.COM>
parents: 4388
diff changeset
    42
BUILD_32_and_64=
5d3e1ffc1ae1 21344772 updates for evaluation packages
John Beck <John.Beck@Oracle.COM>
parents: 4388
diff changeset
    43
INSTALL_32_and_64=
5d3e1ffc1ae1 21344772 updates for evaluation packages
John Beck <John.Beck@Oracle.COM>
parents: 4388
diff changeset
    44
PUBLISH_STAMP=
5d3e1ffc1ae1 21344772 updates for evaluation packages
John Beck <John.Beck@Oracle.COM>
parents: 4388
diff changeset
    45
endif
5d3e1ffc1ae1 21344772 updates for evaluation packages
John Beck <John.Beck@Oracle.COM>
parents: 4388
diff changeset
    46
4138
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    47
include $(WS_MAKE_RULES)/configure.mk
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    48
include $(WS_MAKE_RULES)/ips.mk
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    49
5483
c705419970e3 22690727 Backport 22665511 to 11.3-SRU - libgsl is missing some files
Rich Burridge <rich.burridge@oracle.com>
parents: 4563
diff changeset
    50
# NOTE:
c705419970e3 22690727 Backport 22665511 to 11.3-SRU - libgsl is missing some files
Rich Burridge <rich.burridge@oracle.com>
parents: 4563
diff changeset
    51
# The libgsl package on Solaris is getting GSL CBLAS routines from
c705419970e3 22690727 Backport 22665511 to 11.3-SRU - libgsl is missing some files
Rich Burridge <rich.burridge@oracle.com>
parents: 4563
diff changeset
    52
# libsunperf.so. Programs wishing to use this functionality should use the
c705419970e3 22690727 Backport 22665511 to 11.3-SRU - libgsl is missing some files
Rich Burridge <rich.burridge@oracle.com>
parents: 4563
diff changeset
    53
# /usr/include/sunperf.h header file for the associated definitions and
c705419970e3 22690727 Backport 22665511 to 11.3-SRU - libgsl is missing some files
Rich Burridge <rich.burridge@oracle.com>
parents: 4563
diff changeset
    54
# function prototypes and link against -lsunperf.
c705419970e3 22690727 Backport 22665511 to 11.3-SRU - libgsl is missing some files
Rich Burridge <rich.burridge@oracle.com>
parents: 4563
diff changeset
    55
#
c705419970e3 22690727 Backport 22665511 to 11.3-SRU - libgsl is missing some files
Rich Burridge <rich.burridge@oracle.com>
parents: 4563
diff changeset
    56
# To retain compatibility with libgsl on other platforms, and to require
c705419970e3 22690727 Backport 22665511 to 11.3-SRU - libgsl is missing some files
Rich Burridge <rich.burridge@oracle.com>
parents: 4563
diff changeset
    57
# no changes to FOSS software being ported to Solaris, the libgsl package
c705419970e3 22690727 Backport 22665511 to 11.3-SRU - libgsl is missing some files
Rich Burridge <rich.burridge@oracle.com>
parents: 4563
diff changeset
    58
# manifest will also include the /usr/include/gsl/gsl_cblas.h header file
c705419970e3 22690727 Backport 22665511 to 11.3-SRU - libgsl is missing some files
Rich Burridge <rich.burridge@oracle.com>
parents: 4563
diff changeset
    59
# and provide links from /usr/lib/libgslcblas.so and
c705419970e3 22690727 Backport 22665511 to 11.3-SRU - libgsl is missing some files
Rich Burridge <rich.burridge@oracle.com>
parents: 4563
diff changeset
    60
# /usr/lib/$(MACH64)/libgslcblas.so to their equivalent libsunperf.so
c705419970e3 22690727 Backport 22665511 to 11.3-SRU - libgsl is missing some files
Rich Burridge <rich.burridge@oracle.com>
parents: 4563
diff changeset
    61
# library files.
c705419970e3 22690727 Backport 22665511 to 11.3-SRU - libgsl is missing some files
Rich Burridge <rich.burridge@oracle.com>
parents: 4563
diff changeset
    62
4177
403051808966 20867067 "gmake test" failures for libgsl
Rich Burridge <rich.burridge@oracle.com>
parents: 4138
diff changeset
    63
# By default, tests in each GSL sub-directory are linked statically against
403051808966 20867067 "gmake test" failures for libgsl
Rich Burridge <rich.burridge@oracle.com>
parents: 4138
diff changeset
    64
# a set of .la files. We don't deliver those in the GSL package, so we
403051808966 20867067 "gmake test" failures for libgsl
Rich Burridge <rich.burridge@oracle.com>
parents: 4138
diff changeset
    65
# adjust all the tests to link against the dynamic GSL library instead.
403051808966 20867067 "gmake test" failures for libgsl
Rich Burridge <rich.burridge@oracle.com>
parents: 4138
diff changeset
    66
COMPONENT_POST_UNPACK_ACTION = \
403051808966 20867067 "gmake test" failures for libgsl
Rich Burridge <rich.burridge@oracle.com>
parents: 4138
diff changeset
    67
	(cd $(COMPONENT_SRC); \
403051808966 20867067 "gmake test" failures for libgsl
Rich Burridge <rich.burridge@oracle.com>
parents: 4138
diff changeset
    68
	for f in `ls */Makefile.am` ; do \
403051808966 20867067 "gmake test" failures for libgsl
Rich Burridge <rich.burridge@oracle.com>
parents: 4138
diff changeset
    69
	    $(GSED) -i -e \
403051808966 20867067 "gmake test" failures for libgsl
Rich Burridge <rich.burridge@oracle.com>
parents: 4138
diff changeset
    70
		's|^test_LDADD.*$$|test_LDFLAGS = -L`pwd`/../.libs/ -R`pwd`/../.libs/\ntest_LDADD = -lgsl|' \
403051808966 20867067 "gmake test" failures for libgsl
Rich Burridge <rich.burridge@oracle.com>
parents: 4138
diff changeset
    71
		$$f ; \
403051808966 20867067 "gmake test" failures for libgsl
Rich Burridge <rich.burridge@oracle.com>
parents: 4138
diff changeset
    72
	done)
403051808966 20867067 "gmake test" failures for libgsl
Rich Burridge <rich.burridge@oracle.com>
parents: 4138
diff changeset
    73
403051808966 20867067 "gmake test" failures for libgsl
Rich Burridge <rich.burridge@oracle.com>
parents: 4138
diff changeset
    74
# Recreate configure and top-level Makefile to pickup libsunperf changes.
4138
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    75
COMPONENT_PREP_ACTION = \
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    76
	(cd $(@D) ; ACLOCAL=aclocal-1.11 AUTOMAKE=automake-1.11 autoreconf -f)
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    77
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    78
LDFLAGS += $(CC_BITS)
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    79
LDFLAGS += $(studio_PIC)
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    80
LDFLAGS += $(studio_OPT)
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    81
LDFLAGS += $(LD_Z_TEXT)
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    82
LDFLAGS += $(LD_Z_DEFS)
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    83
LDFLAGS += $(LD_DEF_LIBS)
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    84
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    85
STUDIO_LIBS_PATH.32 =	/usr/lib/studio
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    86
STUDIO_LIBS_PATH.64 =	/usr/lib/studio/64
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    87
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    88
LDFLAGS += -L$(STUDIO_LIBS_PATH.$(BITS)) -R$(STUDIO_LIBS_PATH.$(BITS)) \
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    89
		-lsunperf -lfsu -lmtsk -lpicl -lkstat
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    90
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    91
CONFIGURE_ENV += CFLAGS="$(CFLAGS)"
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    92
CONFIGURE_ENV += LDFLAGS="$(LDFLAGS)"
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    93
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    94
COMPONENT_BUILD_ARGS += CFLAGS="$(CFLAGS)"
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    95
COMPONENT_BUILD_ARGS += LDFLAGS="$(LDFLAGS)"
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    96
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    97
CC += $(CC_BITS)
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    98
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    99
COMPONENT_TEST_ARGS =	-k -i
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   100
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   101
# Master test results are different not only between 32-bit and 64-bit, but
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   102
# also between x86 and SPARC (different # of tests run).
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   103
COMPONENT_TEST_MASTER = \
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   104
	$(COMPONENT_TEST_RESULTS_DIR)/results-$(MACH)-$(BITS).master
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   105
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   106
COMPONENT_TEST_TRANSFORMS += \
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   107
	'-e "s|^.*$(CC).*$$|XXX_CC_XXX|g" ' \
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   108
	'-e "s|^.*source=.*libtool=no.*$$|XXX_CC_XXX|g" ' \
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   109
	'-e "s|^.*DEPDIR=.deps.*$$|XXX_CC_XXX|g" ' \
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   110
	'-e "/^XXX_CC_XXX$$/d" '
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   111
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   112
# Needed for "gmake test" to work successfully.
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   113
# If SHELLOPTS is exported (as it is by the userland makefiles),
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   114
# then all shell options get exported to child invocations of bash,
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   115
# which results in test failures due to nounset and xtrace being
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   116
# set unexpectedly, and errors such as "$1: unbound variable" and
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   117
# diffs failing due to script tracing in output files.
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   118
unexport SHELLOPTS
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   119
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   120
ASLR_MODE = $(ASLR_ENABLE)
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   121
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   122
configure:	$(CONFIGURE_32_and_64)
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   123
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   124
build:		$(BUILD_32_and_64)
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   125
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   126
install:	$(INSTALL_32_and_64)
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   127
4177
403051808966 20867067 "gmake test" failures for libgsl
Rich Burridge <rich.burridge@oracle.com>
parents: 4138
diff changeset
   128
# There is a known problem in libsunperf that is causing a GSL test failure
403051808966 20867067 "gmake test" failures for libgsl
Rich Burridge <rich.burridge@oracle.com>
parents: 4138
diff changeset
   129
# in Solaris 11.3 with Studio 12.1 just on the x86 platform:
403051808966 20867067 "gmake test" failures for libgsl
Rich Burridge <rich.burridge@oracle.com>
parents: 4138
diff changeset
   130
# linalg: FAIL:   LQ_update m(5,3) [88]                             (32-bit)
403051808966 20867067 "gmake test" failures for libgsl
Rich Burridge <rich.burridge@oracle.com>
parents: 4138
diff changeset
   131
# The problem still exists on Solaris 12 with Studio 12.4 for which:
403051808966 20867067 "gmake test" failures for libgsl
Rich Burridge <rich.burridge@oracle.com>
parents: 4138
diff changeset
   132
# 20914954 cblas_gemm differences between x86 and sparcv7
403051808966 20867067 "gmake test" failures for libgsl
Rich Burridge <rich.burridge@oracle.com>
parents: 4138
diff changeset
   133
# has been filed.
4138
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   134
test:		$(TEST_32_and_64)
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   135
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   136
REQUIRED_PACKAGES += shell/ksh93
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   137
REQUIRED_PACKAGES += system/library
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   138
REQUIRED_PACKAGES += system/library/math
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   139
REQUIRED_PACKAGES += system/library/openmp
240dc166feab PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
   140
REQUIRED_PACKAGES += system/library/sunperf