Commit 566fa7ba authored by Camil Staps's avatar Camil Staps 🍃

Build with generic fusion (requires cpm and a compiler fix in cstaps/compiler)

parent 1398f43f
Pipeline #17228 failed with stage
in 8 minutes and 13 seconds
Clean System Files/
*.abc
*.o
*.prj
node_modules/
*.1
builddb
CloogleServer
*.1
rank_settings.json
types.json
typetree.dot
cloogle.log
node_modules/
db/storage/
cache
Version: 1.4
Global
ProjectRoot: .
Target: StdEnv
Exec: {Project}/CloogleServer
ByteCode:
CodeGen
CheckStacks: False
CheckIndexes: True
OptimiseABC: False
GenerateByteCode: False
Application
HeapSize: 262144000
StackSize: 512000
ExtraMemory: 8192
IntialHeapSize: 204800
HeapSizeMultiplier: 4096
ShowExecutionTime: False
ShowGC: False
ShowStackSize: False
MarkingCollector: False
DisableRTSFlags: True
StandardRuntimeEnv: True
Profile
Memory: False
MemoryMinimumHeapSize: 0
Time: False
Stack: False
Dynamics: False
GenericFusion: True
DescExL: False
Output
Output: NoReturnType
Font: Monaco
FontSize: 9
WriteStdErr: False
Link
LinkMethod: Static
GenerateRelocations: False
GenerateSymbolTable: False
GenerateLinkMap: False
LinkResources: False
ResourceSource:
GenerateDLL: False
ExportedNames:
StripByteCode: False
Paths
Path: {Project}*Cloogle
Path: {Application}*lib*StdEnv
Path: {Application}*lib*Platform
Path: {Application}*lib*Platform*Deprecated*ArgEnv
Path: {Application}*lib*TCPIP
Path: {Project}
Path: {Project}*Cloogle*libcloogle
Path: {Project}*Cloogle*CleanRegex
Precompile:
Postlink:
MainModule
Name: CloogleServer
Dir: {Project}
Compiler
NeverMemoryProfile: False
NeverTimeProfile: False
StrictnessAnalysis: True
ListTypes: StrictExportTypes
ListAttributes: True
Warnings: True
Verbose: True
ReadableABC: False
ReuseUniqueNodes: True
Fusion: False
SHELL:=bash
BIN:=builddb CloogleServer
DB=types.json
CLM:=clm
CLMFLAGS_BOOTSTRAP:=-h 250M -nr -nortsopts\
-P 'Cloogle'\
-IL StdEnv\
-IL TCPIP\
-IL Platform\
-IL Platform/Deprecated/ArgEnv\
-I Cloogle\
-I Cloogle/libcloogle\
-I Cloogle/CleanRegex
CLMFLAGS:=$(CLMFLAGS_BOOTSTRAP) -warnfuncmayfail
CLMLIBS_COMPILER:=\
-I Cloogle/compiler/frontend\
-I Cloogle/compiler/backend\
-I Cloogle/compiler/main\
-I Cloogle/compiler/main/Unix\
.PHONY: all bootstrap bootstrap_compiler clean .FORCE
.PHONY: all clean .FORCE
all: $(BIN) $(DB)
man: $(MAN)
CloogleServer: bootstrap .FORCE
$(CLM) $(CLMFLAGS) $@ -o $@
CloogleServer: %: %.prj .FORCE
cpm project $< build
find -name '*.[di]cl' -not -path './Cloogle/compiler/*' -exec touch {} \;
$(CLM) $(CLMFLAGS) $@ -o $@
builddb: bootstrap bootstrap_compiler .FORCE
$(CLM) $(CLMFLAGS) $(CLMLIBS_COMPILER) -s 50M -h 750M -gcm $@ -o $@
cpm project $< build
bootstrap: .FORCE
$(CLM) $(CLMFLAGS_BOOTSTRAP) -PABC StdEnv
$(CLM) $(CLMFLAGS_BOOTSTRAP) -PABC StdMaybe
$(CLM) $(CLMFLAGS_BOOTSTRAP) -PABC TCPIP
builddb: %: %.prj .FORCE
cpm project $< build
bootstrap_compiler: Cloogle/compiler .FORCE
$(CLM) $(CLMFLAGS_BOOTSTRAP) $(CLMLIBS_COMPILER) -PABC cocl
%.prj: %.prj.default
cp $< $@
Cloogle/compiler: .FORCE
$(MAKE) -C Cloogle compiler
......
......@@ -2,6 +2,7 @@
set -ev
PATCHCLEANBUILD="sed -i 's:clean-compiler-and-rts compiler itask:cstaps compiler master:' clean-base/linux-x64/git-sources.txt; sed -i 's:compiler-itask:compiler-master:' clean-base/linux-x64/build.sh; sed -i 's:master:cloogle:' clean-lib-platform/linux-x64/git-sources.txt; sed -i 's:platform-master:platform-cloogle:' clean-lib-platform/linux-x64/build.sh" install_clean.sh 'base lib-platform lib-tcpip' 2018-12-15
sed -i 's/cocl/cocl::-wmf/' /opt/clean/etc/IDEEnvs
PACKAGES="patch jq unzip z3"
apt-get update -qq
......
Version: 1.4
Global
ProjectRoot: .
Target: StdEnv
Exec: {Project}/builddb
ByteCode:
CodeGen
CheckStacks: False
CheckIndexes: True
OptimiseABC: False
GenerateByteCode: False
Application
HeapSize: 786432000
StackSize: 12800000
ExtraMemory: 8192
IntialHeapSize: 786432000
HeapSizeMultiplier: 4096
ShowExecutionTime: False
ShowGC: False
ShowStackSize: False
MarkingCollector: True
DisableRTSFlags: True
StandardRuntimeEnv: True
Profile
Memory: False
MemoryMinimumHeapSize: 0
Time: False
Stack: False
Dynamics: False
GenericFusion: True
DescExL: False
Output
Output: NoReturnType
Font: Monaco
FontSize: 9
WriteStdErr: False
Link
LinkMethod: Static
GenerateRelocations: False
GenerateSymbolTable: False
GenerateLinkMap: False
LinkResources: False
ResourceSource:
GenerateDLL: False
ExportedNames:
StripByteCode: False
Paths
Path: {Project}*Cloogle
Path: {Application}*lib*StdEnv
Path: {Application}*lib*Platform
Path: {Application}*lib*Platform*Deprecated*ArgEnv
Path: {Project}
Path: {Project}*Cloogle*libcloogle
Path: {Project}*Cloogle*CleanRegex
Path: {Project}*Cloogle*compiler*backend
Path: {Project}*Cloogle*compiler*frontend
Path: {Project}*Cloogle*compiler*main
Path: {Project}*Cloogle*compiler*main*Unix
Precompile:
Postlink:
MainModule
Name: builddb
Dir: {Project}
Compiler
NeverMemoryProfile: False
NeverTimeProfile: False
StrictnessAnalysis: True
ListTypes: StrictExportTypes
ListAttributes: True
Warnings: True
Verbose: True
ReadableABC: False
ReuseUniqueNodes: True
Fusion: False
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