new file mode 100755
@@ -0,0 +1,32 @@
+#!/bin/bash
+
+if [ ! -d ebizzy ]
+then
+ mkdir ebizzy;
+ pushd ebizzy;
+ wget http://heanet.dl.sourceforge.net/sourceforge/ebizzy/ebizzy-0.3.tar.gz
+ tar -xzf ebizzy-0.3.tar.gz
+ pushd ebizzy-0.3
+ gcc -o ebizzy ebizzy.c -lpthread
+ popd
+ popd
+fi
+
+if [ ! -d jemalloc ]
+then
+ mkdir jemalloc
+ pushd jemalloc
+ wget http://www.canonware.com/download/jemalloc/jemalloc-3.3.1.tar.bz2
+ tar -xjf jemalloc-3.3.1.tar.bz2
+ pushd jemalloc-3.3.1
+ ./configure
+ make all -j 4
+ mv lib/libjemalloc.so.1 lib/libjemalloc.so.vanilla
+ patch -p1 < ../../0001-*.patch
+ patch -p1 < ../../0002-*.patch
+ ./configure
+ make all -j 4
+ mv lib/libjemalloc.so.1 lib/libjemalloc.so.vrange
+ popd
+ popd
+fi
deleted file mode 100755
@@ -1,32 +0,0 @@
-#!/bin/bash
-
-if [ ! -d ebizzy ]
-then
- mkdir ebizzy;
- pushd ebizzy;
- wget http://heanet.dl.sourceforge.net/sourceforge/ebizzy/ebizzy-0.3.tar.gz
- tar -xzf ebizzy-0.3.tar.gz
- pushd ebizzy-0.3
- gcc -o ebizzy ebizzy.c -lpthread
- popd
- popd
-fi
-
-if [ ! -d jemalloc ]
-then
- mkdir jemalloc
- pushd jemalloc
- wget http://www.canonware.com/download/jemalloc/jemalloc-3.3.1.tar.bz2
- tar -xjf jemalloc-3.3.1.tar.bz2
- pushd jemalloc-3.3.1
- ./configure
- make all -j 4
- mv lib/libjemalloc.so.1 lib/libjemalloc.so.vanilla
- patch -p1 < ../../0001-*.patch
- patch -p1 < ../../0002-*.patch
- ./configure
- make all -j 4
- mv lib/libjemalloc.so.1 lib/libjemalloc.so.vrange
- popd
- popd
-fi
Since the script fetches and builds external tests like ebizzy and jemalloc, reanme it appropriately Signed-off-by: John Stultz <john.stultz@linaro.org> --- fetch-external-tests.sh | 32 ++++++++++++++++++++++++++++++++ setup-vrange-anon.sh | 32 -------------------------------- 2 files changed, 32 insertions(+), 32 deletions(-) create mode 100755 fetch-external-tests.sh delete mode 100755 setup-vrange-anon.sh