Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pglite-REL_17_4_WASM/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ fi
echo "pglite/build-$BUILD: begin target BUILD_PATH=$BUILD_PATH"

WORKSPACE=$(pwd)
PGROOT=/tmp/pglite
PGROOT=${PGROOT:-/tmp/pglite}

if [ -d ${WORKSPACE}/src/fe_utils ]
then
Expand Down
4 changes: 4 additions & 0 deletions tmp/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Ignore everything in this directory
*
# Except this file
!.gitignore
3 changes: 1 addition & 2 deletions wasm-build/build-pgcore.sh
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@ END
echo configure failed
exit 218
fi
fi

echo "

Expand Down Expand Up @@ -424,8 +425,6 @@ END
echo "TODO: node/wasi cmdline initdb for PGDATA=${PGDATA} "
popd

fi

echo "build-pgcore: end($BUILD)


Expand Down
5 changes: 5 additions & 0 deletions wasm-build/build-with-docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ cat .buildconfig

mkdir -p dist/pglite dist/extensions-emsdk

# needed to be able to do incremental builds with docker
mkdir -p ${WORKSPACE}/postgres-pglite/tmp/sdk/build ${WORKSPACE}/postgres-pglite/tmp/pglite

if echo -n $@|grep -q it$
then
PROMPT="&& bash ) || bash"
Expand All @@ -37,6 +40,8 @@ docker run $@ \
--env-file .buildconfig \
-e DEBUG=${DEBUG:-false} \
--workdir=${DOCKER_WORKSPACE} \
-v ${WORKSPACE}/postgres-pglite/tmp/sdk/build:/tmp/sdk/build:rw \
-v ${WORKSPACE}/postgres-pglite/tmp/pglite:/tmp/pglite:rw \
-v ${WORKSPACE}/postgres-pglite:${DOCKER_WORKSPACE}:rw \
-v ${WORKSPACE}/postgres-pglite/dist:/tmp/sdk/dist:rw \
$IMG_NAME:$IMG_TAG \
Expand Down