Skip to content

Commit

Permalink
Merge #1
Browse files Browse the repository at this point in the history
  • Loading branch information
mojodna committed Jun 24, 2016
2 parents 3736757 + a810d59 commit 5ce4513
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 21 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
default: cedar-14

cedar-14: dist/cedar-14/jemalloc-3.6.0-1.tar.gz
cedar-14: dist/cedar-14/jemalloc-4.2.1-1.tar.gz

dist/cedar-14/jemalloc-3.6.0-1.tar.gz: jemalloc-cedar-14
dist/cedar-14/jemalloc-4.2.1-1.tar.gz: jemalloc-cedar-14
docker cp $<:/tmp/jemalloc-cedar-14.tar.gz .
mkdir -p $$(dirname $@)
mv jemalloc-cedar-14.tar.gz $@
Expand All @@ -13,7 +13,7 @@ clean:

src/jemalloc.tar.bz2:
mkdir -p $$(dirname $@)
curl -sL http://www.canonware.com/download/jemalloc/jemalloc-3.6.0.tar.bz2 -o $@
curl -sL https://github.com/jemalloc/jemalloc/releases/download/4.2.1/jemalloc-4.2.1.tar.bz2 -o $@

.PHONY: cedar-14-stack

Expand Down
2 changes: 1 addition & 1 deletion bin/compile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function vendor() {
}

echo "-----> Vendoring binaries"
vendor "https://s3.amazonaws.com/mojodna-heroku/$STACK/jemalloc-3.6.0-1.tar.gz" "$BUILD_DIR/vendor/jemalloc"
vendor "https://s3.amazonaws.com/mojodna-heroku/$STACK/jemalloc-4.2.1-1.tar.gz" "$BUILD_DIR/vendor/jemalloc"

echo "-----> Configuring build environment"

Expand Down
17 changes: 0 additions & 17 deletions cedar-14-stack/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,3 @@ RUN \

RUN \
apt-get upgrade -y

ADD ./postgresql.tar.gz /tmp
RUN \
mkdir -p /app/vendor && \
cd /tmp/postgresql-* && \
./configure --prefix=/app/vendor/pgsql --with-openssl

RUN \
cd /tmp/postgresql-* && \
make -C src/bin install-strip && \
cp src/backend/utils/fmgroids.h src/include/utils/fmgroids.h && \
make -C src/include install-strip && \
make -C src/interfaces install-strip

RUN \
cd /app/vendor/pgsql && \
tar zcf /tmp/pgsql-cedar-14-stack.tar.gz .

0 comments on commit 5ce4513

Please sign in to comment.