Skip to content

Commit 03c56d5

Browse files
pavelmashpavel.mash
andauthored
[mORMot] - upgrade to [email protected] + CMem (#9350)
Co-authored-by: pavel.mash <[email protected]>
1 parent 3d7db35 commit 03c56d5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

frameworks/Pascal/mormot/setup_and_build.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,16 @@ rm -rf ./libs
2727
mkdir -p ./libs/mORMot/static
2828
# echo "Getting the latest pre-release URL..."
2929
# USED_TAG=$(wget -qO- https://api.github.com/repos/synopse/mORMot2/releases/latest | jq -r '.tag_name')
30-
USED_TAG="2.2.stable"
30+
USED_TAG="2.3.stable"
3131

3232
echo "Used release tag $USED_TAG"
3333
URL="https://github.com/synopse/mORMot2/releases/download/$USED_TAG/mormot2static.tgz"
3434
echo "Download statics from $URL ..."
3535
wget -qO- "$URL" | tar -xz -C ./libs/mORMot/static
3636

3737
# uncomment for fixed commit URL
38-
URL=https://github.com/synopse/mORMot2/tarball/6dc09ceca456931384857b383ed61b63f11f3be7
39-
#URL="https://api.github.com/repos/synopse/mORMot2/tarball/$USED_TAG"
38+
#URL=https://github.com/synopse/mORMot2/tarball/6dc09ceca456931384857b383ed61b63f11f3be7
39+
URL="https://api.github.com/repos/synopse/mORMot2/tarball/$USED_TAG"
4040
echo "Download and unpacking mORMot sources from $URL ..."
4141
wget -qO- "$URL" | tar -xz -C ./libs/mORMot --strip-components=1
4242

@@ -80,7 +80,7 @@ fpc -MDelphi -Sci -Ci -O3 -g -gl -gw2 -Xg -k'-rpath=$ORIGIN' -k-L$BIN \
8080
-Fu"$MSRC/core" -Fu"$MSRC/db" -Fu"$MSRC/rest" -Fu"$MSRC/crypt" \
8181
-Fu"$MSRC/app" -Fu"$MSRC/net" -Fu"$MSRC/lib" -Fu"$MSRC/orm" -Fu"$MSRC/soa" \
8282
-FU"$BIN/fpc-$ARCH_TG/.dcu" -FE"$BIN/fpc-$ARCH_TG" -o"$BIN/fpc-$ARCH_TG/$dest_fn" \
83-
-dFPC_X64MM -dFPCMM_SERVER \
83+
-dFPC_LIBCMM -dFPC_LIBCMM_NOMSIZE \
8484
-B -Se1 "./src/raw.pas" | grep "[Warning|Error|Fatal]:"
8585

8686
script_successful

0 commit comments

Comments
 (0)