author | Rich Burridge <rich.burridge@oracle.com> |
Wed, 11 Jan 2017 07:38:41 -0800 | |
changeset 7556 | 51e515988b39 |
parent 7547 | 99009c0665cc |
child 7687 | 1093e2a9adbd |
permissions | -rw-r--r-- |
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 |
# |
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5404
diff
changeset
|
21 |
|
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5404
diff
changeset
|
22 |
# |
7547
99009c0665cc
25164346 Update libgsl to version 2.2.1
Rich Burridge <rich.burridge@oracle.com>
parents:
6928
diff
changeset
|
23 |
# Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved. |
4119
bdf7d6775e82
PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
24 |
# |
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5404
diff
changeset
|
25 |
BUILD_BITS= 64_and_32 |
4119
bdf7d6775e82
PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
26 |
include ../../make-rules/shared-macros.mk |
bdf7d6775e82
PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
27 |
|
bdf7d6775e82
PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
28 |
COMPONENT_NAME= gsl |
7547
99009c0665cc
25164346 Update libgsl to version 2.2.1
Rich Burridge <rich.burridge@oracle.com>
parents:
6928
diff
changeset
|
29 |
COMPONENT_VERSION= 2.2.1 |
4119
bdf7d6775e82
PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
30 |
COMPONENT_ARCHIVE_HASH= \ |
7547
99009c0665cc
25164346 Update libgsl to version 2.2.1
Rich Burridge <rich.burridge@oracle.com>
parents:
6928
diff
changeset
|
31 |
sha256:13d23dc7b0824e1405f3f7e7d0776deee9b8f62c62860bf66e7852d402b8b024 |
4119
bdf7d6775e82
PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
32 |
COMPONENT_BUGDB= library/libgsl |
bdf7d6775e82
PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
33 |
|
7547
99009c0665cc
25164346 Update libgsl to version 2.2.1
Rich Burridge <rich.burridge@oracle.com>
parents:
6928
diff
changeset
|
34 |
TPNO= 32831 |
4119
bdf7d6775e82
PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
35 |
|
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5404
diff
changeset
|
36 |
TEST_TARGET= |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5404
diff
changeset
|
37 |
SYSTEM_TEST_TARGET= |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5404
diff
changeset
|
38 |
include $(WS_MAKE_RULES)/gnu-component.mk |
4119
bdf7d6775e82
PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
39 |
|
5404
55e409ba4e72
22665511 libgsl is missing some files
Rich Burridge <rich.burridge@oracle.com>
parents:
5250
diff
changeset
|
40 |
# NOTE: |
55e409ba4e72
22665511 libgsl is missing some files
Rich Burridge <rich.burridge@oracle.com>
parents:
5250
diff
changeset
|
41 |
# The libgsl package on Solaris is getting GSL CBLAS routines from |
55e409ba4e72
22665511 libgsl is missing some files
Rich Burridge <rich.burridge@oracle.com>
parents:
5250
diff
changeset
|
42 |
# libsunperf.so. Programs wishing to use this functionality should use the |
55e409ba4e72
22665511 libgsl is missing some files
Rich Burridge <rich.burridge@oracle.com>
parents:
5250
diff
changeset
|
43 |
# /usr/include/sunperf.h header file for the associated definitions and |
55e409ba4e72
22665511 libgsl is missing some files
Rich Burridge <rich.burridge@oracle.com>
parents:
5250
diff
changeset
|
44 |
# function prototypes and link against -lsunperf. |
55e409ba4e72
22665511 libgsl is missing some files
Rich Burridge <rich.burridge@oracle.com>
parents:
5250
diff
changeset
|
45 |
# |
55e409ba4e72
22665511 libgsl is missing some files
Rich Burridge <rich.burridge@oracle.com>
parents:
5250
diff
changeset
|
46 |
# To retain compatibility with libgsl on other platforms, and to require |
55e409ba4e72
22665511 libgsl is missing some files
Rich Burridge <rich.burridge@oracle.com>
parents:
5250
diff
changeset
|
47 |
# no changes to FOSS software being ported to Solaris, the libgsl package |
55e409ba4e72
22665511 libgsl is missing some files
Rich Burridge <rich.burridge@oracle.com>
parents:
5250
diff
changeset
|
48 |
# manifest will also include the /usr/include/gsl/gsl_cblas.h header file |
55e409ba4e72
22665511 libgsl is missing some files
Rich Burridge <rich.burridge@oracle.com>
parents:
5250
diff
changeset
|
49 |
# and provide links from /usr/lib/libgslcblas.so and |
55e409ba4e72
22665511 libgsl is missing some files
Rich Burridge <rich.burridge@oracle.com>
parents:
5250
diff
changeset
|
50 |
# /usr/lib/$(MACH64)/libgslcblas.so to their equivalent libsunperf.so |
55e409ba4e72
22665511 libgsl is missing some files
Rich Burridge <rich.burridge@oracle.com>
parents:
5250
diff
changeset
|
51 |
# library files. |
55e409ba4e72
22665511 libgsl is missing some files
Rich Burridge <rich.burridge@oracle.com>
parents:
5250
diff
changeset
|
52 |
|
4158
120144d5f6f3
20867067 "gmake test" failures for libgsl
Rich Burridge <rich.burridge@oracle.com>
parents:
4119
diff
changeset
|
53 |
# 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
|
54 |
# 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
|
55 |
# adjust all the tests to link against the dynamic GSL library instead. |
5250
3b05aeef75e3
PSARC 2015/536 libgsl 2.1
Rich Burridge <rich.burridge@oracle.com>
parents:
4747
diff
changeset
|
56 |
COMPONENT_POST_UNPACK_ACTION += \ |
4158
120144d5f6f3
20867067 "gmake test" failures for libgsl
Rich Burridge <rich.burridge@oracle.com>
parents:
4119
diff
changeset
|
57 |
(cd $(COMPONENT_SRC); \ |
120144d5f6f3
20867067 "gmake test" failures for libgsl
Rich Burridge <rich.burridge@oracle.com>
parents:
4119
diff
changeset
|
58 |
for f in `ls */Makefile.am` ; do \ |
120144d5f6f3
20867067 "gmake test" failures for libgsl
Rich Burridge <rich.burridge@oracle.com>
parents:
4119
diff
changeset
|
59 |
$(GSED) -i -e \ |
120144d5f6f3
20867067 "gmake test" failures for libgsl
Rich Burridge <rich.burridge@oracle.com>
parents:
4119
diff
changeset
|
60 |
'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
|
61 |
$$f ; \ |
5250
3b05aeef75e3
PSARC 2015/536 libgsl 2.1
Rich Burridge <rich.burridge@oracle.com>
parents:
4747
diff
changeset
|
62 |
done) ; |
3b05aeef75e3
PSARC 2015/536 libgsl 2.1
Rich Burridge <rich.burridge@oracle.com>
parents:
4747
diff
changeset
|
63 |
|
3b05aeef75e3
PSARC 2015/536 libgsl 2.1
Rich Burridge <rich.burridge@oracle.com>
parents:
4747
diff
changeset
|
64 |
# Remove ../../cblas/libgslcblas.la from LDADD definition in |
3b05aeef75e3
PSARC 2015/536 libgsl 2.1
Rich Burridge <rich.burridge@oracle.com>
parents:
4747
diff
changeset
|
65 |
# .../doc/examples/Makefile.am |
3b05aeef75e3
PSARC 2015/536 libgsl 2.1
Rich Burridge <rich.burridge@oracle.com>
parents:
4747
diff
changeset
|
66 |
COMPONENT_POST_UNPACK_ACTION += \ |
3b05aeef75e3
PSARC 2015/536 libgsl 2.1
Rich Burridge <rich.burridge@oracle.com>
parents:
4747
diff
changeset
|
67 |
$(GSED) -i -e 's|^LDADD.*$$|LDADD = ../../libgsl.la|' \ |
3b05aeef75e3
PSARC 2015/536 libgsl 2.1
Rich Burridge <rich.burridge@oracle.com>
parents:
4747
diff
changeset
|
68 |
$(COMPONENT_SRC)/doc/examples/Makefile.am ; |
4158
120144d5f6f3
20867067 "gmake test" failures for libgsl
Rich Burridge <rich.burridge@oracle.com>
parents:
4119
diff
changeset
|
69 |
|
120144d5f6f3
20867067 "gmake test" failures for libgsl
Rich Burridge <rich.burridge@oracle.com>
parents:
4119
diff
changeset
|
70 |
# Recreate configure and top-level Makefile to pickup libsunperf changes. |
6928
52fa7ed60803
24689491 Adjust libgsl for upcoming libtool 2.4.6 changes
Rich Burridge <rich.burridge@oracle.com>
parents:
6552
diff
changeset
|
71 |
COMPONENT_PREP_ACTION = (cd $(@D) ; autoreconf -fiv) |
4119
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 |
LDFLAGS += $(CC_BITS) |
bdf7d6775e82
PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
74 |
LDFLAGS += $(studio_PIC) |
bdf7d6775e82
PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
75 |
LDFLAGS += $(studio_OPT) |
bdf7d6775e82
PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
76 |
LDFLAGS += $(LD_Z_TEXT) |
bdf7d6775e82
PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
77 |
LDFLAGS += $(LD_Z_DEFS) |
bdf7d6775e82
PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
78 |
LDFLAGS += $(LD_DEF_LIBS) |
bdf7d6775e82
PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
79 |
|
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5404
diff
changeset
|
80 |
STUDIO_LIBS_PATH.32 = $(USRLIBDIR)/studio |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5404
diff
changeset
|
81 |
STUDIO_LIBS_PATH.64 = $(USRLIBDIR)/studio/64 |
4119
bdf7d6775e82
PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
82 |
|
bdf7d6775e82
PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
83 |
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
|
84 |
-lsunperf -lfsu -lmtsk -lpicl -lkstat |
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_BUILD_ARGS += CFLAGS="$(CFLAGS)" |
bdf7d6775e82
PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
87 |
COMPONENT_BUILD_ARGS += LDFLAGS="$(LDFLAGS)" |
bdf7d6775e82
PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
88 |
|
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
|
89 |
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
|
90 |
COMPONENT_SYSTEM_TEST_ARGS = -k -i |
4119
bdf7d6775e82
PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
91 |
|
7556
51e515988b39
25367036 "gmake test" failures with libgsl
Rich Burridge <rich.burridge@oracle.com>
parents:
7547
diff
changeset
|
92 |
COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master |
4119
bdf7d6775e82
PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
93 |
|
bdf7d6775e82
PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
94 |
COMPONENT_TEST_TRANSFORMS += \ |
bdf7d6775e82
PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
95 |
'-e "s|^.*$(CC).*$$|XXX_CC_XXX|g" ' \ |
bdf7d6775e82
PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
96 |
'-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
|
97 |
'-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
|
98 |
'-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
|
99 |
'-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
|
100 |
'-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
|
101 |
'-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
|
102 |
'-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
|
103 |
'-e "/^XXX_CC_XXX$$/d" ' |
bdf7d6775e82
PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
104 |
|
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
|
105 |
# 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
|
106 |
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
|
107 |
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
|
108 |
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
|
109 |
|
4119
bdf7d6775e82
PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
110 |
# Needed for "gmake test" to work successfully. |
bdf7d6775e82
PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
111 |
# 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
|
112 |
# 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
|
113 |
# 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
|
114 |
# 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
|
115 |
# 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
|
116 |
unexport SHELLOPTS |
bdf7d6775e82
PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
117 |
|
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
|
118 |
test: install $(TEST_32_and_64) |
4119
bdf7d6775e82
PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
119 |
|
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
|
120 |
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
|
121 |
|
4119
bdf7d6775e82
PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
122 |
REQUIRED_PACKAGES += shell/ksh93 |
bdf7d6775e82
PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
123 |
REQUIRED_PACKAGES += system/library/math |
bdf7d6775e82
PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
124 |
REQUIRED_PACKAGES += system/library/openmp |
bdf7d6775e82
PSARC 2015/122 GSL - GNU Scientific Library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
125 |
REQUIRED_PACKAGES += system/library/sunperf |