This repository has been archived by the owner on Nov 2, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Yao Yue
committed
Sep 29, 2017
1 parent
82c5d80
commit 7c846a1
Showing
22 changed files
with
977 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#!/bin/bash | ||
export CI_ROOT=$(pwd) | ||
rm -rf musl && mkdir musl | ||
rm -rf libevent && mkdir libevent | ||
wget https://artifactory.twitter.biz/libs-releases-local/musl-1.1.16.tar.gz | ||
packer fetch --use-tfe --cluster=smf1 cache-user libevent latest | ||
tar -xzf musl-1.1.16.tar.gz -C musl --strip-components=1 | ||
cd musl | ||
./configure --prefix=$CI_ROOT/musl/tmp --syslibdir=$CI_ROOT/musl/tmp/lib | ||
make | ||
make install | ||
export PATH=$PATH:$CI_ROOT/musl/tmp/bin | ||
cd $CI_ROOT | ||
tar -xzf libevent-2.0.22-stable.tar.gz -C libevent --strip-components=1 | ||
cd libevent | ||
mkdir tmp | ||
./configure --prefix=$CI_ROOT/libevent/tmp CC=musl-gcc --enable-static --disable-shared | ||
make | ||
make install | ||
cd $CI_ROOT | ||
autoreconf -fvi | ||
CFLAGS="-ggdb3 -O2" ./configure --enable-debug=log --with-libevent=$CI_ROOT/libevent/tmp CC=musl-gcc --enable-static | ||
make -j |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.