mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-25 12:43:09 +00:00
add git submoudle update to makefile
This commit is contained in:
5
Makefile
5
Makefile
@@ -28,7 +28,10 @@ all : jemalloc
|
|||||||
$(JEMALLOC_STATICLIB) : 3rd/jemalloc/Makefile
|
$(JEMALLOC_STATICLIB) : 3rd/jemalloc/Makefile
|
||||||
cd 3rd/jemalloc && $(MAKE) CC=$(CC)
|
cd 3rd/jemalloc && $(MAKE) CC=$(CC)
|
||||||
|
|
||||||
3rd/jemalloc/Makefile :
|
3rd/jemalloc :
|
||||||
|
git submodule update --init
|
||||||
|
|
||||||
|
3rd/jemalloc/Makefile : | 3rd/jemalloc
|
||||||
cd 3rd/jemalloc && ./autogen.sh --with-jemalloc-prefix=je_ --disable-valgrind
|
cd 3rd/jemalloc && ./autogen.sh --with-jemalloc-prefix=je_ --disable-valgrind
|
||||||
|
|
||||||
jemalloc : $(JEMALLOC_STATICLIB)
|
jemalloc : $(JEMALLOC_STATICLIB)
|
||||||
|
|||||||
@@ -4,7 +4,6 @@ Install autoconf first for jemalloc
|
|||||||
|
|
||||||
```
|
```
|
||||||
git clone git@github.com:cloudwu/skynet.git
|
git clone git@github.com:cloudwu/skynet.git
|
||||||
git submodule update --init
|
|
||||||
cd skynet
|
cd skynet
|
||||||
make 'PLATFORM' # PLATFORM can be linux, macosx, freebsd now
|
make 'PLATFORM' # PLATFORM can be linux, macosx, freebsd now
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user