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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
dd7ef6c4
Commit
dd7ef6c4
authored
May 09, 2008
by
Rich Prohaska
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use gcc-4.2 on debian4
git-svn-id:
file:///svn/tokudb@3891
c7de825b-a66e-492c-adef-691d508d4ae1
parent
b71ce57e
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
16 additions
and
16 deletions
+16
-16
db-benchmark-test-cxx/db-benchmark-test.cpp
db-benchmark-test-cxx/db-benchmark-test.cpp
+2
-2
src/Makefile
src/Makefile
+2
-2
src/lock_tree/Makefile
src/lock_tree/Makefile
+2
-2
src/lock_tree/tests/Makefile
src/lock_tree/tests/Makefile
+4
-4
src/range_tree/tests/Makefile
src/range_tree/tests/Makefile
+3
-3
src/tests/Makefile
src/tests/Makefile
+3
-3
No files found.
db-benchmark-test-cxx/db-benchmark-test.cpp
View file @
dd7ef6c4
...
...
@@ -28,8 +28,8 @@ long long cachesize = 128*1024*1024;
#define STRINGIFY2(s) #s
#define STRINGIFY(s) STRINGIFY2(s)
char
*
dbdir
=
"./bench."
STRINGIFY
(
DIRSUF
)
"/"
;
/* DIRSUF is passed in as a -D argument to the compiler. */
;
char
*
dbfilename
=
"bench.db"
;
char
dbdir
[]
=
"./bench."
STRINGIFY
(
DIRSUF
)
"/"
;
/* DIRSUF is passed in as a -D argument to the compiler. */
;
char
dbfilename
[]
=
"bench.db"
;
char
*
dbname
;
DbEnv
*
dbenv
;
...
...
src/Makefile
View file @
dd7ef6c4
...
...
@@ -82,7 +82,7 @@ RANGETREE_BINS = range_tree/rangetree.o range_tree/tokuredblack.o
LOCKTREE_BINS
=
lock_tree/locktree.o lock_tree/rth.o lock_tree/lth.o lock_tree/idlth.o lock_tree/db_id.o
$(RANGETREE_BINS)
$(LIBRARY)
:
$(DBBINS) | buildlocktrees
cc
$(CPPFLAGS)
$^
$(LOCKTREE_BINS)
$(SHARED)
-o
$@
$(CFLAGS)
-lz
$(RPATHNAME)
$(CC)
$(CPPFLAGS)
$^
$(LOCKTREE_BINS)
$(SHARED)
-o
$@
$(CFLAGS)
-lz
$(RPATHNAME)
$(LIBNAME).a
:
$(DBBINS) | buildlocktrees
$(AR)
rv
$@
$^
$(LOCKTREE_BINS)
...
...
@@ -90,7 +90,7 @@ $(LIBNAME).a: $(DBBINS) | buildlocktrees
$(LIBNAME).a(ydb.o)
:
ydb.o
$(TLIBRARY)
:
$(TDBBINS) | buildlocktrees
cc
$(CPPFLAGS)
$^
$(LOCKTREE_BINS)
$(SHARED)
-o
$@
$(CFLAGS)
-lz
$(RPATHNAME)
$(CC)
$(CPPFLAGS)
$^
$(LOCKTREE_BINS)
$(SHARED)
-o
$@
$(CFLAGS)
-lz
$(RPATHNAME)
$(TLIBNAME).a
:
$(TDBBINS) | buildlocktrees
$(AR)
rv
$@
$^
$(LOCKTREE_BINS)
...
...
src/lock_tree/Makefile
View file @
dd7ef6c4
...
...
@@ -50,10 +50,10 @@ locktree.o: $(LT_TLOG)
cp
$<
$@
locktree_global_readset.o
:
locktree.c locktree.h
cc
$(CFLAGS)
$(CPPFLAGS)
$(CFLAGS)
-c
$<
-o
$@
$(CC)
$(CFLAGS)
$(CPPFLAGS)
$(CFLAGS)
-c
$<
-o
$@
locktree_no_global_readset.o
:
locktree.c locktree.h
cc
$(CFLAGS)
$(CPPFLAGS)
$(CFLAGS)
-c
$<
-o
$@
-DTOKU_RT_NOOVERLAPS
$(CC)
$(CFLAGS)
$(CPPFLAGS)
$(CFLAGS)
-c
$<
-o
$@
-DTOKU_RT_NOOVERLAPS
rth.o
:
rth.c rth.h
...
...
src/lock_tree/tests/Makefile
View file @
dd7ef6c4
...
...
@@ -118,13 +118,13 @@ foo:
echo
../locktree.h test.h
$(LT_LINEAR)
%.lin
:
%.c ../locktree.h test.h $(LT_LINEAR)
cc
-DDIR
=
\"
dir.
$<
.lin
\"
$(CPPFLAGS)
$(CFLAGS)
$<
-o
$@
$(LT_LINEAR)
$(NEWBRT_BINS)
-lz
$(CC)
-DDIR
=
\"
dir.
$<
.lin
\"
$(CPPFLAGS)
$(CFLAGS)
$<
-o
$@
$(LT_LINEAR)
$(NEWBRT_BINS)
-lz
%.tlin
:
%.c ../locktree.h test.h $(LT_TLINEAR)
cc
-DDIR
=
\"
dir.
$<
.tlin
\"
$(CPPFLAGS)
$(CFLAGS)
$<
-o
$@
$(LT_TLINEAR)
$(NEWBRT_BINS)
-DTOKU_RT_NOOVERLAPS
-lz
$(CC)
-DDIR
=
\"
dir.
$<
.tlin
\"
$(CPPFLAGS)
$(CFLAGS)
$<
-o
$@
$(LT_TLINEAR)
$(NEWBRT_BINS)
-DTOKU_RT_NOOVERLAPS
-lz
%.tlog
:
%.c ../locktree.h test.h $(LT_TLOG)
cc
-DDIR
=
\"
dir.
$<
.tlog
\"
$(CPPFLAGS)
$(CFLAGS)
$<
-o
$@
$(LT_TLOG)
$(NEWBRT_BINS)
-DTOKU_RT_NOOVERLAPS
-lz
$(CC)
-DDIR
=
\"
dir.
$<
.tlog
\"
$(CPPFLAGS)
$(CFLAGS)
$<
-o
$@
$(LT_TLOG)
$(NEWBRT_BINS)
-DTOKU_RT_NOOVERLAPS
-lz
%.log
:
%.c ../locktree.h test.h $(LT_LOG)
cc
-DDIR
=
\"
dir.
$<
.log
\"
$(CPPFLAGS)
$(CFLAGS)
$<
-o
$@
$(LT_LOG)
$(NEWBRT_BINS)
-lz
$(CC)
-DDIR
=
\"
dir.
$<
.log
\"
$(CPPFLAGS)
$(CFLAGS)
$<
-o
$@
$(LT_LOG)
$(NEWBRT_BINS)
-lz
clean
:
rm
-f
$(ALL_TESTS)
*
.o
*
.gcno
*
.gcda
*
.gcov
...
...
src/range_tree/tests/Makefile
View file @
dd7ef6c4
...
...
@@ -93,11 +93,11 @@ LOG_BINS = ../log.o
HEADERS
=
../rangetree.h ../rangetree-internal.h test.h
%.lin
:
%.c $(HEADERS) $(LINEAR_BINS)
cc
-DDIR
=
\"
dir.
$<
.lin
\"
$(CFLAGS)
$(CPPFLAGS)
$<
-o
$@
$(LINEAR_BINS)
$(CC)
-DDIR
=
\"
dir.
$<
.lin
\"
$(CFLAGS)
$(CPPFLAGS)
$<
-o
$@
$(LINEAR_BINS)
%.tlog
:
%.c $(HEADERS) $(TLOG_BINS)
cc
-DDIR
=
\"
dir.
$<
.log
\"
$(CFLAGS)
$(CPPFLAGS)
$<
-o
$@
$(TLOG_BINS)
-DTOKU_RT_NOOVERLAPS
$(CC)
-DDIR
=
\"
dir.
$<
.log
\"
$(CFLAGS)
$(CPPFLAGS)
$<
-o
$@
$(TLOG_BINS)
-DTOKU_RT_NOOVERLAPS
%.log
:
%.c $(HEADERS) $(LOG_BINS)
cc
-DDIR
=
\"
dir.
$<
.log
\"
$(CFLAGS)
$(CPPFLAGS)
$<
-o
$@
$(LOG_BINS)
$(CC)
-DDIR
=
\"
dir.
$<
.log
\"
$(CFLAGS)
$(CPPFLAGS)
$<
-o
$@
$(LOG_BINS)
clean
:
rm
-f
$(ALL_TESTS)
*
.o
*
.gcno
*
.gcda
*
.gcov
...
...
src/tests/Makefile
View file @
dd7ef6c4
...
...
@@ -139,11 +139,11 @@ libs:
cd
..
;
make
%.bdb
:
%.c
$(UNSETTOKUENV)
cc
-DENVDIR
=
\"
dir.
$<
.bdb
\"
$(BDB_CPPFLAGS)
-DUSE_BDB
-DIS_TDB
=
0
$(CFLAGS)
$<
$(BDB_LDFLAGS)
-ldb
-o
$@
$(UNSETTOKUENV)
$(CC)
-DENVDIR
=
\"
dir.
$<
.bdb
\"
$(BDB_CPPFLAGS)
-DUSE_BDB
-DIS_TDB
=
0
$(CFLAGS)
$<
$(BDB_LDFLAGS)
-ldb
-o
$@
%.tdb
:
%.c
$(SETTOKUENV)
cc
-DENVDIR
=
\"
dir.
$<
.tdb
\"
-DUSE_TDB
-DIS_TDB
=
1
$(CFLAGS)
$(TDB_CPPFLAGS)
$(TDB_LOADLIBES)
$<
-o
$@
$(SETTOKUENV)
$(CC)
-DENVDIR
=
\"
dir.
$<
.tdb
\"
-DUSE_TDB
-DIS_TDB
=
1
$(CFLAGS)
$(TDB_CPPFLAGS)
$(TDB_LOADLIBES)
$<
-o
$@
%.tdbt
:
%.c
$(SETTOKUENV)
cc
-DENVDIR
=
\"
dir.
$<
.tdb
\"
-DUSE_TDB
-DIS_TDB
=
1
$(CFLAGS)
$(TDB_CPPFLAGS)
$(TDB_TRACELOADLIBES)
$<
-o
$@
$(SETTOKUENV)
$(CC)
-DENVDIR
=
\"
dir.
$<
.tdb
\"
-DUSE_TDB
-DIS_TDB
=
1
$(CFLAGS)
$(TDB_CPPFLAGS)
$(TDB_TRACELOADLIBES)
$<
-o
$@
.PHONY
:
%.recover
TLRECOVER
=
2 3 4 5 6 7 8 9 10
...
...
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