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
63f80c0c
Commit
63f80c0c
authored
Jan 18, 2008
by
Rich Prohaska
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make build-coverage. addresses #277
git-svn-id:
file:///svn/tokudb@1729
c7de825b-a66e-492c-adef-691d508d4ae1
parent
08dca9d5
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
10 deletions
+14
-10
Makefile
Makefile
+9
-3
db-benchmark-test-cxx/Makefile
db-benchmark-test-cxx/Makefile
+2
-3
db-benchmark-test/Makefile
db-benchmark-test/Makefile
+2
-3
utils/Makefile
utils/Makefile
+1
-1
No files found.
Makefile
View file @
63f80c0c
TAGS
:
*/*.c */*.h
etags
*
/
*
.c
*
/
*
.h
SRCDIRS
=
newbrt src src/tests cxx cxx/tests utils db-benchmark-test db-benchmark-test-cxx
clean
:
cd
newbrt
;
make clean
cd
src
;
make clean
cd
db-benchmark-test-cxx
;
make clean
for
d
in
$(SRCDIRS)
;
do
$(MAKE)
-k
-C
$$
d clean
;
done
build
:
for
d
in
$(SRCDIRS)
;
do
$(MAKE)
-k
-C
$$
d
;
done
build-coverage
:
for
d
in
$(SRCDIRS)
;
do
$(MAKE)
-k
-C
$$
d
-k
OPTFLAGS
=
"-O0"
GCOV_FLAGS
=
"-fprofile-arcs -ftest-coverage"
;
done
db-benchmark-test-cxx/Makefile
View file @
63f80c0c
...
...
@@ -7,9 +7,8 @@
BENCHDBS
=
bench.bdb/ bench.tokudb
OPTFLAGS
=
-O2
CXXFLAGS
=
-Wall
-Werror
-g
CXXFLAGS
=
-Wall
-Werror
-g
$(OPTFLAGS)
$(GCOV_FLAGS)
# CFLAGS += -pg
CXXFLAGS
+=
$(OPTFLAGS)
ifdef
BDBDIR
BDB_CPPFLAGS
=
-I
$(BDBDIR)
/include
...
...
@@ -24,7 +23,7 @@ TARGETS = db-benchmark-test-bdb db-benchmark-test-tokudb
default
:
$(TARGETS)
clean
:
rm
-rf
$(TARGETS)
$(BENCHDBS)
rm
-rf
$(TARGETS)
$(BENCHDBS)
*
.gcno
*
.gcda
*
.gcov
db-benchmark-test-tokudb
:
../lib/libtdb_cxx.a
db-benchmark-test-tokudb
:
db-benchmark-test.cpp
...
...
db-benchmark-test/Makefile
View file @
63f80c0c
...
...
@@ -8,9 +8,8 @@
BENCHDBS
=
bench.bdb/ bench.tokudb
OPTFLAGS
=
-O2
CFLAGS
=
-Wall
-Werror
-g
CFLAGS
=
-Wall
-Werror
-g
$(OPTFLAGS)
$(GCOV_FLAGS)
# CFLAGS += -pg
CFLAGS
+=
$(OPTFLAGS)
ifdef
BDBDIR
BDB_CPPFLAGS
=
-I
$(BDBDIR)
/include
...
...
@@ -25,7 +24,7 @@ TARGETS = db-benchmark-test-bdb db-benchmark-test-tokudb
default
:
$(TARGETS)
clean
:
rm
-rf
$(TARGETS)
$(BENCHDBS)
rm
-rf
$(TARGETS)
$(BENCHDBS)
*
.gcno
*
.gcda
*
.gcov
db-benchmark-test-tokudb
:
db-benchmark-test.c
$(CC)
$(CFLAGS)
-I
../include
-L
../lib
-ldb
-Wl
,-rpath,
$(PWD)
/../lib
$<
-o
$@
-DDIRSUF
=
tokudb
...
...
utils/Makefile
View file @
63f80c0c
...
...
@@ -6,7 +6,7 @@ BDB_LOAD=$(BDBDIR)/bin/db_load
DIFF
=
diff
-I
'db_pagesize='
CFLAGS
=
-std
=
gnu89
-W
-Wall
-Wno-unused
-g
CFLAGS
=
-std
=
gnu89
-W
-Wall
-Wno-unused
-g
$(OPTFLAGS)
$(GCOV_FLAGS)
# vars to compile bins that handle tokudb using libdb.so
# when one uses relative address in an rpath, the library better be located relative
...
...
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