author | Jingning Ji <jingning.ji@oracle.com> |
Thu, 22 Sep 2016 16:33:05 -0700 | |
changeset 7117 | f7dc231928a9 |
parent 7063 | c478967a99d2 |
child 7687 | 1093e2a9adbd |
permissions | -rw-r--r-- |
1226 | 1 |
# |
2 |
# CDDL HEADER START |
|
3 |
# |
|
4 |
# The contents of this file are subject to the terms of the |
|
5 |
# Common Development and Distribution License (the "License"). |
|
6 |
# You may not use this file except in compliance with the License. |
|
7 |
# |
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
|
9 |
# or http://www.opensolaris.org/os/licensing. |
|
10 |
# See the License for the specific language governing permissions |
|
11 |
# and limitations under the License. |
|
12 |
# |
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
|
18 |
# |
|
19 |
# CDDL HEADER END |
|
20 |
# |
|
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
4393
diff
changeset
|
21 |
|
1226 | 22 |
# |
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
4393
diff
changeset
|
23 |
# Copyright (c) 2012, 2016, Oracle and/or its affiliates. All rights reserved. |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
4393
diff
changeset
|
24 |
# |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
4393
diff
changeset
|
25 |
BUILD_BITS= 64 |
1226 | 26 |
include ../../make-rules/shared-macros.mk |
27 |
||
28 |
COMPONENT_NAME= pigz |
|
7063
c478967a99d2
23132067 Upgrade pigz to 2.3.3
Rich Burridge <rich.burridge@oracle.com>
parents:
5682
diff
changeset
|
29 |
COMPONENT_VERSION= 2.3.3 |
1226 | 30 |
COMPONENT_PROJECT_URL= http://zlib.net/pigz/ |
31 |
COMPONENT_ARCHIVE_HASH= \ |
|
7063
c478967a99d2
23132067 Upgrade pigz to 2.3.3
Rich Burridge <rich.burridge@oracle.com>
parents:
5682
diff
changeset
|
32 |
sha256:4e8b67b432ce7907575a549f3e1cac4709781ba0f6b48afea9f59369846b509c |
1226 | 33 |
COMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)$(COMPONENT_ARCHIVE) |
34 |
||
7063
c478967a99d2
23132067 Upgrade pigz to 2.3.3
Rich Burridge <rich.burridge@oracle.com>
parents:
5682
diff
changeset
|
35 |
TPNO= 31875 |
1948
2d1537e7942d
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
1526
diff
changeset
|
36 |
|
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
4393
diff
changeset
|
37 |
BUILD_STYLE= justmake |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
4393
diff
changeset
|
38 |
INSTALL_TARGET= build |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
4393
diff
changeset
|
39 |
SYSTEM_TEST_TARGET= $(SYSTEM_TEST_64) |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
4393
diff
changeset
|
40 |
include $(WS_MAKE_RULES)/common.mk |
1226 | 41 |
|
42 |
PKG_PROTO_DIRS += $(BUILD_DIR_64) |
|
43 |
||
1526
e02c36c9062c
17656250 pigz doesn't compile on s12_33
John Beck <John.Beck@Oracle.COM>
parents:
1226
diff
changeset
|
44 |
studio_C99MODE= $(studio_C99_ENABLE) |
e02c36c9062c
17656250 pigz doesn't compile on s12_33
John Beck <John.Beck@Oracle.COM>
parents:
1226
diff
changeset
|
45 |
|
1226 | 46 |
CC += $(CC_BITS) |
47 |
COMPONENT_BUILD_ARGS += CC="$(CC)" |
|
2137
b1e25f951af0
19612384 pigz needs parallel uncompress
Michael Gerdts <mike.gerdts@oracle.com>
parents:
1948
diff
changeset
|
48 |
COMPONENT_BUILD_ARGS += CFLAGS="$(CFLAGS) -DHAVE_PTHREAD_SETNAME_NP" |
4393
963a977eeb62
21179642 pigz should have some master test results to compare against
John Beck <John.Beck@Oracle.COM>
parents:
4339
diff
changeset
|
49 |
COMPONENT_SYSTEM_TEST_TARGETS= test |
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
4393
diff
changeset
|
50 |
COMPONENT_SYSTEM_TEST_ENV= TARGETDIR=$(USRBINDIR) |
4393
963a977eeb62
21179642 pigz should have some master test results to compare against
John Beck <John.Beck@Oracle.COM>
parents:
4339
diff
changeset
|
51 |
COMPONENT_TEST_TARGETS= test |
963a977eeb62
21179642 pigz should have some master test results to compare against
John Beck <John.Beck@Oracle.COM>
parents:
4339
diff
changeset
|
52 |
# Ignore these warnings that can come in random order. |
963a977eeb62
21179642 pigz should have some master test results to compare against
John Beck <John.Beck@Oracle.COM>
parents:
4339
diff
changeset
|
53 |
COMPONENT_TEST_TRANSFORMS += \ |
7063
c478967a99d2
23132067 Upgrade pigz to 2.3.3
Rich Burridge <rich.burridge@oracle.com>
parents:
5682
diff
changeset
|
54 |
'-e "/skipping:/d" ' \ |
c478967a99d2
23132067 Upgrade pigz to 2.3.3
Rich Burridge <rich.burridge@oracle.com>
parents:
5682
diff
changeset
|
55 |
'-e "/Entering/d"' \ |
c478967a99d2
23132067 Upgrade pigz to 2.3.3
Rich Burridge <rich.burridge@oracle.com>
parents:
5682
diff
changeset
|
56 |
'-e "/Leaving/d"' |
1226 | 57 |
|
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2137
diff
changeset
|
58 |
REQUIRED_PACKAGES += library/zlib |
7063
c478967a99d2
23132067 Upgrade pigz to 2.3.3
Rich Burridge <rich.burridge@oracle.com>
parents:
5682
diff
changeset
|
59 |
REQUIRED_PACKAGES += system/library/math |