author | saurabh.vyas@oracle.com |
Tue, 21 Mar 2017 20:35:40 -0700 | |
branch | s11u3-sru |
changeset 7789 | d23f3837744d |
parent 7765 | 3495fc32877e |
permissions | -rw-r--r-- |
4184
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
1 |
# |
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
2 |
# CDDL HEADER START |
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
3 |
# |
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
4 |
# The contents of this file are subject to the terms of the |
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
5 |
# Common Development and Distribution License (the "License"). |
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
6 |
# You may not use this file except in compliance with the License. |
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
7 |
# |
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
9 |
# or http://www.opensolaris.org/os/licensing. |
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
10 |
# See the License for the specific language governing permissions |
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
11 |
# and limitations under the License. |
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
12 |
# |
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
18 |
# |
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
19 |
# CDDL HEADER END |
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
20 |
# |
7765
3495fc32877e
25372130 Upgrade the version of MySQL 5.5 to 5.5.54 on Solaris
Gipson Pulla <gipson.pulla@oracle.com>
parents:
6570
diff
changeset
|
21 |
# Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved. |
4184
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
22 |
# |
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
23 |
|
6570
255c6d88d419
22816574 Upgrade the version of MySQL 5.6 to 5.6.29 on Solaris
Gipson Pulla <gipson.pulla@oracle.com>
parents:
6285
diff
changeset
|
24 |
export PARFAIT_BUILD=no |
4184
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
25 |
include ../../make-rules/shared-macros.mk |
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
26 |
|
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
27 |
COMPONENT_NAME = mysql |
7765
3495fc32877e
25372130 Upgrade the version of MySQL 5.5 to 5.5.54 on Solaris
Gipson Pulla <gipson.pulla@oracle.com>
parents:
6570
diff
changeset
|
28 |
COMPONENT_VERSION = 5.6.35 |
4184
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
29 |
COMPONENT_SRC = $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
30 |
COMPONENT_ARCHIVE = $(COMPONENT_SRC).tar.gz |
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
31 |
COMPONENT_ARCHIVE_HASH= \ |
7765
3495fc32877e
25372130 Upgrade the version of MySQL 5.5 to 5.5.54 on Solaris
Gipson Pulla <gipson.pulla@oracle.com>
parents:
6570
diff
changeset
|
32 |
sha256:dddcba169b98844d7c65346cbd791c853edf942d78440381685087b84aa35020 |
6570
255c6d88d419
22816574 Upgrade the version of MySQL 5.6 to 5.6.29 on Solaris
Gipson Pulla <gipson.pulla@oracle.com>
parents:
6285
diff
changeset
|
33 |
COMPONENT_ARCHIVE_URL = http://cdn.mysql.com/Downloads/MySQL-5.6/$(COMPONENT_ARCHIVE) |
4184
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
34 |
COMPONENT_PROJECT_URL = http://dev.mysql.com/ |
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
35 |
COMPONENT_BUGDB = database/mysql |
6570
255c6d88d419
22816574 Upgrade the version of MySQL 5.6 to 5.6.29 on Solaris
Gipson Pulla <gipson.pulla@oracle.com>
parents:
6285
diff
changeset
|
36 |
|
255c6d88d419
22816574 Upgrade the version of MySQL 5.6 to 5.6.29 on Solaris
Gipson Pulla <gipson.pulla@oracle.com>
parents:
6285
diff
changeset
|
37 |
# Using the latest SunStudio to use the GCC C++ runtime library |
255c6d88d419
22816574 Upgrade the version of MySQL 5.6 to 5.6.29 on Solaris
Gipson Pulla <gipson.pulla@oracle.com>
parents:
6285
diff
changeset
|
38 |
SPRO_VROOT = $(SPRO_ROOT)/solarisstudio12.4 |
255c6d88d419
22816574 Upgrade the version of MySQL 5.6 to 5.6.29 on Solaris
Gipson Pulla <gipson.pulla@oracle.com>
parents:
6285
diff
changeset
|
39 |
|
255c6d88d419
22816574 Upgrade the version of MySQL 5.6 to 5.6.29 on Solaris
Gipson Pulla <gipson.pulla@oracle.com>
parents:
6285
diff
changeset
|
40 |
# Keeping SunStudio first in path |
255c6d88d419
22816574 Upgrade the version of MySQL 5.6 to 5.6.29 on Solaris
Gipson Pulla <gipson.pulla@oracle.com>
parents:
6285
diff
changeset
|
41 |
PATH=$(SPRO_VROOT)/bin:/usr/bin:/usr/gnu/bin |
255c6d88d419
22816574 Upgrade the version of MySQL 5.6 to 5.6.29 on Solaris
Gipson Pulla <gipson.pulla@oracle.com>
parents:
6285
diff
changeset
|
42 |
|
255c6d88d419
22816574 Upgrade the version of MySQL 5.6 to 5.6.29 on Solaris
Gipson Pulla <gipson.pulla@oracle.com>
parents:
6285
diff
changeset
|
43 |
#We use cp(1) instead of cloney because we use TAR to copy files and the TAR |
255c6d88d419
22816574 Upgrade the version of MySQL 5.6 to 5.6.29 on Solaris
Gipson Pulla <gipson.pulla@oracle.com>
parents:
6285
diff
changeset
|
44 |
#used doesn't handle long links |
255c6d88d419
22816574 Upgrade the version of MySQL 5.6 to 5.6.29 on Solaris
Gipson Pulla <gipson.pulla@oracle.com>
parents:
6285
diff
changeset
|
45 |
CLONEY = echo |
255c6d88d419
22816574 Upgrade the version of MySQL 5.6 to 5.6.29 on Solaris
Gipson Pulla <gipson.pulla@oracle.com>
parents:
6285
diff
changeset
|
46 |
COMPONENT_PRE_BUILD_ACTION += $(CP) -rp $(SOURCE_DIR)/* $(@D); |
4184
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
47 |
|
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
48 |
include $(WS_MAKE_RULES)/prep.mk |
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
49 |
include $(WS_MAKE_RULES)/justmake.mk |
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
50 |
include $(WS_MAKE_RULES)/ips.mk |
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
51 |
|
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
52 |
# Enable ASLR for this component |
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
53 |
ASLR_MODE = $(ASLR_ENABLE) |
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
54 |
|
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
55 |
# This component uses cmake to generate Makefiles and thus does not |
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
56 |
# run any configure script |
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
57 |
CMAKE = /usr/bin/cmake |
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
58 |
CMAKE_PREFIX = /usr/mysql/5.6 |
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
59 |
CONFDIR = /etc/mysql/5.6 |
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
60 |
DATA_PREFIX = /var/mysql/5.6 |
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
61 |
|
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
62 |
CMAKE_BINDIR.32 = bin/$(MACH32) |
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
63 |
CMAKE_BINDIR.64 = bin |
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
64 |
CMAKE_LIBDIR.32 = lib |
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
65 |
CMAKE_LIBDIR.64 = lib/$(MACH64) |
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
66 |
CMAKE_PLUGINDIR.32 = lib/plugin |
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
67 |
CMAKE_PLUGINDIR.64 = lib/$(MACH64)/plugin |
6570
255c6d88d419
22816574 Upgrade the version of MySQL 5.6 to 5.6.29 on Solaris
Gipson Pulla <gipson.pulla@oracle.com>
parents:
6285
diff
changeset
|
68 |
CMAKE_CFLAGS.32 = -m32 |
4184
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
69 |
CMAKE_CFLAGS.64 = -m64 |
6570
255c6d88d419
22816574 Upgrade the version of MySQL 5.6 to 5.6.29 on Solaris
Gipson Pulla <gipson.pulla@oracle.com>
parents:
6285
diff
changeset
|
70 |
CMAKE_CXXFLAGS.32 = "-m32 -xnorunpath -std=c++03" |
255c6d88d419
22816574 Upgrade the version of MySQL 5.6 to 5.6.29 on Solaris
Gipson Pulla <gipson.pulla@oracle.com>
parents:
6285
diff
changeset
|
71 |
CMAKE_CXXFLAGS.64 = "-m64 -xnorunpath -std=c++03" |
4184
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
72 |
|
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
73 |
# Providing component specific build options to cmake |
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
74 |
CMAKE_OPTIONS += -DBUILD_CONFIG=mysql_release |
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
75 |
CMAKE_OPTIONS += -DINSTALL_LAYOUT=STANDALONE |
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
76 |
CMAKE_OPTIONS += -DCMAKE_INSTALL_PREFIX=$(CMAKE_PREFIX) |
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
77 |
CMAKE_OPTIONS += -DINSTALL_BINDIR=$(CMAKE_BINDIR.$(BITS)) |
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
78 |
CMAKE_OPTIONS += -DINSTALL_SBINDIR=$(CMAKE_BINDIR.$(BITS)) |
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
79 |
CMAKE_OPTIONS += -DINSTALL_SCRIPTDIR=$(CMAKE_BINDIR.$(BITS)) |
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
80 |
CMAKE_OPTIONS += -DINSTALL_LIBDIR=$(CMAKE_LIBDIR.$(BITS)) |
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
81 |
CMAKE_OPTIONS += -DINSTALL_PLUGINDIR=$(CMAKE_PLUGINDIR.$(BITS)) |
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
82 |
CMAKE_OPTIONS += -DSYSCONFDIR=$(CONFDIR) |
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
83 |
CMAKE_OPTIONS += -DMYSQL_DATADIR=$(DATA_PREFIX) |
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
84 |
CMAKE_OPTIONS += -DWITH_SSL=bundled |
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
85 |
CMAKE_OPTIONS += -DWITH_READLINE=ON |
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
86 |
CMAKE_OPTIONS += -DENABLE_DTRACE=1 |
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
87 |
CMAKE_OPTIONS += -DHAVE_REAL_DTRACE_INSTRUMENTING=ON |
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
88 |
CMAKE_OPTIONS += -DWITH_EXTRA_CHARSETS=complex |
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
89 |
CMAKE_OPTIONS += -DENABLED_LOCAL_INFILE=ON |
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
90 |
CMAKE_OPTIONS += -DWITH_ARCHIVE_STORAGE_ENGINE=1 |
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
91 |
CMAKE_OPTIONS += -DWITH_BLACKHOLE_STORAGE_ENGINE=1 |
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
92 |
CMAKE_OPTIONS += -DWITH_EXAMPLE_STORAGE_ENGINE=1 |
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
93 |
CMAKE_OPTIONS += -DWITH_FEDERATED_STORAGE_ENGINE=1 |
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
94 |
CMAKE_OPTIONS += -DWITH_INNOBASE_STORAGE_ENGINE=1 |
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
95 |
CMAKE_OPTIONS += -DCMAKE_CXX_COMPILER=$(CXX) |
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
96 |
CMAKE_OPTIONS += -DCMAKE_C_COMPILER=$(CC) |
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
97 |
CMAKE_OPTIONS += -DCMAKE_C_FLAGS=$(CMAKE_CFLAGS.$(BITS)) |
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
98 |
CMAKE_OPTIONS += -DCMAKE_CXX_FLAGS=$(CMAKE_CXXFLAGS.$(BITS)) |
6570
255c6d88d419
22816574 Upgrade the version of MySQL 5.6 to 5.6.29 on Solaris
Gipson Pulla <gipson.pulla@oracle.com>
parents:
6285
diff
changeset
|
99 |
|
4184
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
100 |
CMAKE_OPTIONS += '-DCOMPILATION_COMMENT=MySQL Community Server (GPL)' |
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
101 |
CMAKE_OPTIONS += -DFEATURE_SET=community |
6570
255c6d88d419
22816574 Upgrade the version of MySQL 5.6 to 5.6.29 on Solaris
Gipson Pulla <gipson.pulla@oracle.com>
parents:
6285
diff
changeset
|
102 |
CMAKE_OPTIONS += -DCMAKE_VERBOSE_MAKEFILE:BOOL=TRUE |
4184
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
103 |
|
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
104 |
COMPONENT_PRE_BUILD_ACTION += cd $(@D); |
6570
255c6d88d419
22816574 Upgrade the version of MySQL 5.6 to 5.6.29 on Solaris
Gipson Pulla <gipson.pulla@oracle.com>
parents:
6285
diff
changeset
|
105 |
COMPONENT_PRE_BUILD_ACTION += export LDFLAGS="$(CMAKE_CXXFLAGS.$(BITS))"; |
4184
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
106 |
COMPONENT_PRE_BUILD_ACTION += echo Running cmake with $(CMAKE_OPTIONS); |
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
107 |
COMPONENT_PRE_BUILD_ACTION += $(CMAKE) . $(CMAKE_OPTIONS); |
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
108 |
|
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
109 |
build: $(BUILD_32_and_64) |
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
110 |
|
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
111 |
install: $(INSTALL_32_and_64) |
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
112 |
|
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
113 |
test: $(NO_TESTS) |
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
114 |
|
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
115 |
REQUIRED_PACKAGES += developer/build/cmake |
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
116 |
REQUIRED_PACKAGES += library/security/openssl |
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
117 |
REQUIRED_PACKAGES += runtime/perl-512 |
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
118 |
REQUIRED_PACKAGES += shell/ksh93 |
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
119 |
REQUIRED_PACKAGES += system/core-os |
6570
255c6d88d419
22816574 Upgrade the version of MySQL 5.6 to 5.6.29 on Solaris
Gipson Pulla <gipson.pulla@oracle.com>
parents:
6285
diff
changeset
|
120 |
REQUIRED_PACKAGES += system/library/c++-runtime |
4184
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
121 |
REQUIRED_PACKAGES += system/library/gcc/gcc-c++-runtime |
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
122 |
REQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime |
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
123 |
REQUIRED_PACKAGES += system/library/math |
5bcc30d62913
PSARC 2014/431 Update MySQL to 5.6
Murthy Narkedimilli <murthy.narkedimilli@oracle.com>
parents:
diff
changeset
|
124 |
REQUIRED_PACKAGES += system/network |