Verified Commit ba6240f7 authored by Camil Staps's avatar Camil Staps 🚀

Build backend with 32-bit Clean to save memory

parent 7032c0ae
Pipeline #41196 passed with stages
in 19 minutes and 13 seconds
Subproject commit 34730858efaf02c4edadcb2df76c64adde7b3218
Subproject commit bf824ab422841292c9952035588435cf994e6dd0
......@@ -30,7 +30,6 @@ import System._Posix
import System.CommandLine
import System.File
import System.Options
import System.Process
import System.Time
import qualified Text
from Text import class Text(concat,split,startsWith,toLowerCase), instance Text String, <+
......
......@@ -7,7 +7,7 @@ Global
CheckStacks: False
CheckIndexes: True
Application
HeapSize: 262144000
HeapSize: 157286400
StackSize: 512000
ExtraMemory: 8192
IntialHeapSize: 204800
......
......@@ -9,6 +9,9 @@ RUN ./build.sh
FROM debian:stretch-slim AS runner
WORKDIR /usr/src/cloogle
RUN apt-get update -qq &&\
apt-get install -qq libc6-i386 &&\
rm -rf /var/lib/apt/lists
COPY --from=builder /usr/src/cloogle/CloogleServer /usr/src/cloogle/CloogleServer
COPY --from=builder /usr/src/cloogle/types.json /usr/src/cloogle/types.json
COPY --from=builder /usr/src/cloogle/rank_settings.json /usr/src/cloogle/rank_settings.json
......
......@@ -18,7 +18,7 @@ builddb: %: %.prj Cloogle/compiler .FORCE
cp $< $@
Cloogle/compiler: .FORCE
$(MAKE) -C Cloogle compiler
$(MAKE) -C Cloogle compiler32
$(DB): builddb
./$< > $(DB)
......
#!/bin/bash
export CLEANDATE="2020-03-13"
export CLEANDATE="2020-04-10"
export CLEAN_PLATFORM=x86
#!/bin/sh
mkdir -p ./cache/lt ./cache/brief
stdbuf -i0 -o0 -e0 ./CloogleServer --reload-cache | tee -a cloogle.log
./CloogleServer --reload-cache | tee -a cloogle.log
while :
do
stdbuf -i0 -o0 -e0 ./CloogleServer -p 31215 | tee -a cloogle.log
./CloogleServer -p 31215 | tee -a cloogle.log
done
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment