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
336d9bbd
Commit
336d9bbd
authored
Aug 30, 2000
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for mit-pthreads on linux
Build-tools/Do-all-build-steps: Fix to build with bk
parent
adc0c1b2
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
6 deletions
+16
-6
Build-tools/Do-all-build-steps
Build-tools/Do-all-build-steps
+10
-3
libmysql/Makefile.am
libmysql/Makefile.am
+2
-0
libmysql/Makefile.shared
libmysql/Makefile.shared
+0
-2
libmysql_r/Makefile.am
libmysql_r/Makefile.am
+4
-1
No files found.
Build-tools/Do-all-build-steps
View file @
336d9bbd
#!/bin/bash
WD
=
`
pwd
`
# Don't write a wrong path for BD !!!!!
BD
=
/my/tmp/BUILD
TMP_SCRIPT
=
$WD
/Logs/00-temp-for-do-all-build-steps.
$$
...
...
@@ -12,6 +13,7 @@ EXTRA_CONFIG="--without-perl"
echo
"Building on
$to_host
"
rm
-rf
$BD
/
*
mkdir
-p
$WD
/Logs
mkdir
-p
$BD
/Logs
...
...
@@ -22,9 +24,12 @@ set -x
cd "
$WD
"
# Create a build directory tree
bk export -w
$BD
chmod a+x
$BD
/mit-pthreads/config/configure
chmod a+x
$BD
/mit-pthreads/config/configure
$BD
/Build-tools/*
$BD
/tests/*.pl
cd "
$BD
"
#Make it easy to remove an old build
umask 002
CC=
$cc
CXX=
$ccc
export CC CXX
...
...
@@ -51,7 +56,8 @@ aclocal; autoheader; aclocal; automake; autoconf
./configure
\
--with-unix-socket-path=/var/tmp/mysql.sock
\
--with-low-memory
\
--with-mit-threads=yes
$EXTRA_CONFIG
--with-mit-threads=yes
$EXTRA_CONFIG
\
--enable-thread-safe-client
gmake # --jobs=4 does not work.
...
...
@@ -77,5 +83,6 @@ fi
# Create a commercial MySQL distribution (mysqlcom-VER.tar.gz) from
# the newly made source distribution
cd
"
$BD
"
DIST
=
`
ls
-t
mysql-
*
.tar.gz |
head
-1
`
sh
$BD
/Build-tools/mysql-copyright
--target
=
.
$DIST
$BD
/Build-tools/mysql-copyright
--target
=
.
$DIST
libmysql/Makefile.am
View file @
336d9bbd
...
...
@@ -20,6 +20,8 @@
target
=
libmysqlclient.la
target_defs
=
-DUNDEF_THREADS_HACK
LIBS
=
@CLIENT_LIBS@
INCLUDES
=
-I
$(srcdir)
/../include
-I
../include
\
-I
$(srcdir)
/..
-I
$(top_srcdir)
-I
..
include
$(srcdir)/Makefile.shared
...
...
libmysql/Makefile.shared
View file @
336d9bbd
...
...
@@ -20,8 +20,6 @@
MYSQLDATAdir
=
$(localstatedir)
MYSQLSHAREdir
=
$(pkgdatadir)
MYSQLBASEdir
=
$(prefix)
INCLUDES
=
-I
$(srcdir)
/../include
-I
../include
\
-I
$(srcdir)
/..
-I
$(top_srcdir)
-I
..
## We'll use CLIENT_EXTRA_LDFLAGS for threaded and non-threaded
## until someone complains that they need separate options.
LDADD
=
@CLIENT_EXTRA_LDFLAGS@
$(target)
...
...
libmysql_r/Makefile.am
View file @
336d9bbd
...
...
@@ -15,12 +15,15 @@
# Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
# MA 02111-1307, USA
# This file is public domain and comes with NO WARRANTY of any kind
target
=
libmysqlclient_r.la
target_defs
=
## LIBS = @LIBS@
INCLUDES
=
@MT_INCLUDES@
-I
$(srcdir)
/../include
-I
../include
\
-I
$(srcdir)
/..
-I
$(top_srcdir)
-I
..
## automake barfs if you don't use $(srcdir) or $(top_srcdir) in include
include
$(top_srcdir)/libmysql/Makefile.shared
...
...
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