Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
07af63b8
Commit
07af63b8
authored
Apr 29, 2004
by
lenz@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- added option for building/packaging the NDB cluster to Do-compile
parent
b89e5bbc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
Build-tools/Do-compile
Build-tools/Do-compile
+8
-2
No files found.
Build-tools/Do-compile
View file @
07af63b8
...
@@ -10,7 +10,7 @@ use Sys::Hostname;
...
@@ -10,7 +10,7 @@ use Sys::Hostname;
$opt_distribution
=
$opt_user
=
$opt_config_env
=
"";
$opt_distribution
=
$opt_user
=
$opt_config_env
=
"";
$opt_dbd_options
=
$opt_perl_options
=
$opt_config_options
=
$opt_make_options
=
$opt_suffix
=
"";
$opt_dbd_options
=
$opt_perl_options
=
$opt_config_options
=
$opt_make_options
=
$opt_suffix
=
"";
$opt_tmp
=
$opt_version_suffix
=
"";
$opt_tmp
=
$opt_version_suffix
=
"";
$opt_help
=
$opt_delete
=
$opt_debug
=
$opt_stage
=
$opt_no_test
=
$opt_no_perl
=
$opt_with_low_memory
=
$opt_fast_benchmark
=
$opt_static_client
=
$opt_static_server
=
$opt_static_perl
=
$opt_sur
=
$opt_with_small_disk
=
$opt_local_perl
=
$opt_tcpip
=
$opt_build_thread
=
$opt_use_old_distribution
=
$opt_enable_shared
=
$opt_no_crash_me
=
$opt_no_strip
=
$opt_with_debug
=
$opt_no_benchmark
=
$opt_no_mysqltest
=
$opt_without_embedded
=
$opt_readline
=
0
;
$opt_help
=
$opt_delete
=
$opt_debug
=
$opt_stage
=
$opt_no_test
=
$opt_no_perl
=
$opt_with_low_memory
=
$opt_fast_benchmark
=
$opt_static_client
=
$opt_static_server
=
$opt_static_perl
=
$opt_sur
=
$opt_with_small_disk
=
$opt_local_perl
=
$opt_tcpip
=
$opt_build_thread
=
$opt_use_old_distribution
=
$opt_enable_shared
=
$opt_no_crash_me
=
$opt_no_strip
=
$opt_with_
cluster
=
$opt_with_
debug
=
$opt_no_benchmark
=
$opt_no_mysqltest
=
$opt_without_embedded
=
$opt_readline
=
0
;
$opt_innodb
=
$opt_bdb
=
$opt_raid
=
$opt_libwrap
=
0
;
$opt_innodb
=
$opt_bdb
=
$opt_raid
=
$opt_libwrap
=
0
;
GetOptions
(
GetOptions
(
...
@@ -50,6 +50,7 @@ GetOptions(
...
@@ -50,6 +50,7 @@ GetOptions(
"
use-old-distribution
",
"
use-old-distribution
",
"
user=s
",
"
user=s
",
"
version-suffix=s
",
"
version-suffix=s
",
"
with-cluster
",
"
with-debug
",
"
with-debug
",
"
with-low-memory
",
"
with-low-memory
",
"
with-other-libc=s
",
"
with-other-libc=s
",
...
@@ -236,6 +237,7 @@ if ($opt_stage <= 1)
...
@@ -236,6 +237,7 @@ if ($opt_stage <= 1)
$opt_config_options
.=
"
--with-raid
"
if
(
$opt_raid
);
$opt_config_options
.=
"
--with-raid
"
if
(
$opt_raid
);
$opt_config_options
.=
"
--with-readline
"
if
(
$opt_readline
);
$opt_config_options
.=
"
--with-readline
"
if
(
$opt_readline
);
$opt_config_options
.=
"
--with-embedded-server
"
unless
(
$opt_without_embedded
);
$opt_config_options
.=
"
--with-embedded-server
"
unless
(
$opt_without_embedded
);
$opt_config_options
.=
"
--with-ndbcluster
"
if
(
$opt_with_cluster
);
# Only enable InnoDB when requested (required to be able to
# Only enable InnoDB when requested (required to be able to
# build the "Classic" packages that do not include InnoDB)
# build the "Classic" packages that do not include InnoDB)
...
@@ -289,7 +291,8 @@ if ($opt_stage <= 3)
...
@@ -289,7 +291,8 @@ if ($opt_stage <= 3)
log_system
("
nm -n sql/mysqld | gzip -9 -v 2>&1 > sql/mysqld.sym.gz | cat
");
log_system
("
nm -n sql/mysqld | gzip -9 -v 2>&1 > sql/mysqld.sym.gz | cat
");
}
}
$flags
.=
"
--no-strip
"
if
(
$opt_no_strip
||
$opt_with_debug
);
$flags
.=
"
--no-strip
"
if
(
$opt_no_strip
||
$opt_with_debug
);
$flags
.=
"
--with-ndbcluster
"
if
(
$opt__with_ndbcluster
);
check_system
("
scripts/make_binary_distribution --tmp=
$opt_tmp
--suffix=
$opt_suffix
$flags
","
.tar.gz created
");
check_system
("
scripts/make_binary_distribution --tmp=
$opt_tmp
--suffix=
$opt_suffix
$flags
","
.tar.gz created
");
safe_system
("
mv mysql*.t*gz
$pwd
/
$host
");
safe_system
("
mv mysql*.t*gz
$pwd
/
$host
");
if
(
-
f
"
client/.libs/mysqladmin
")
if
(
-
f
"
client/.libs/mysqladmin
")
...
@@ -547,6 +550,9 @@ If user is empty then no mail is sent.
...
@@ -547,6 +550,9 @@ If user is empty then no mail is sent.
--version-suffix=suffix
--version-suffix=suffix
Set name suffix (e.g. 'com' or '-max') for a distribution
Set name suffix (e.g. 'com' or '-max') for a distribution
--with cluster
Compile with NDB Cluster
--with-debug
--with-debug
Build binaries with debug information (implies "--no-strip")
Build binaries with debug information (implies "--no-strip")
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment