Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
860e3ade
Commit
860e3ade
authored
Jun 01, 2011
by
antirez
Browse files
It is now possible to build with: make 32bit USE_JEMALLOC=yes
parent
0042a2d7
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Makefile
View file @
860e3ade
...
@@ -136,7 +136,7 @@ dependencies:
...
@@ -136,7 +136,7 @@ dependencies:
cd
../deps/linenoise
&&
$(MAKE)
ARCH
=
"
$(ARCH)
"
cd
../deps/linenoise
&&
$(MAKE)
ARCH
=
"
$(ARCH)
"
../deps/jemalloc/lib/libjemalloc.a
:
../deps/jemalloc/lib/libjemalloc.a
:
cd
../deps/jemalloc
&&
./configure
--with-jemalloc-prefix
=
je_
--enable-cc-silence
&&
$(MAKE)
lib/libjemalloc.a
cd
../deps/jemalloc
&&
./configure
$(JEMALLOC_CFLAGS)
--with-jemalloc-prefix
=
je_
--enable-cc-silence
&&
$(MAKE)
lib/libjemalloc.a
redis-benchmark.o
:
redis-benchmark.o
:
$(CC)
-c
$(CFLAGS)
-I
../deps/hiredis
$(DEBUG)
$(COMPILE_TIME)
$<
$(CC)
-c
$(CFLAGS)
-I
../deps/hiredis
$(DEBUG)
$(COMPILE_TIME)
$<
...
@@ -190,7 +190,7 @@ log:
...
@@ -190,7 +190,7 @@ log:
@
echo
""
@
echo
""
@
echo
"WARNING: if it fails under Linux you probably need to install libc6-dev-i386"
@
echo
"WARNING: if it fails under Linux you probably need to install libc6-dev-i386"
@
echo
""
@
echo
""
$(MAKE)
ARCH
=
"-m32"
$(MAKE)
ARCH
=
"-m32"
JEMALLOC_CFLAGS
=
'CFLAGS="-std=gnu99 -Wall -pipe -g3 -fvisibility=hidden -O3 -funroll-loops -m32"'
gprof
:
gprof
:
$(MAKE)
PROF
=
"-pg"
$(MAKE)
PROF
=
"-pg"
...
...
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