Verified Commit 678a6c88 authored by Camil Staps's avatar Camil Staps 🙂

Remove dependency on clm fork also for interworking tests

parent 06cacbf4
Pipeline #24443 canceled with stages
in 4 minutes and 43 seconds
...@@ -12,6 +12,7 @@ stages: ...@@ -12,6 +12,7 @@ stages:
- ln -s "$PWD/src/bclink" /opt/clean/lib/exe/bclink - ln -s "$PWD/src/bclink" /opt/clean/lib/exe/bclink
- ln -s "$PWD/src/bcprelink" /opt/clean/lib/exe/bcprelink - ln -s "$PWD/src/bcprelink" /opt/clean/lib/exe/bcprelink
- ln -s "$PWD/src/bcstrip" /opt/clean/lib/exe/bcstrip - ln -s "$PWD/src/bcstrip" /opt/clean/lib/exe/bcstrip
- sed -i '/^import code from library/d' lib/ABC/Interpreter/Util.icl
- make -C src - make -C src
build: build:
......
...@@ -26,3 +26,5 @@ RUN apt-get install -y -qq --no-install-recommends curl unzip libnspr4 &&\ ...@@ -26,3 +26,5 @@ RUN apt-get install -y -qq --no-install-recommends curl unzip libnspr4 &&\
rm -r /tmp/jsshell rm -r /tmp/jsshell
RUN install_clean_nightly.sh base lib-argenv lib-directory lib-dynamics lib-graphcopy lib-platform lib-stdlib RUN install_clean_nightly.sh base lib-argenv lib-directory lib-dynamics lib-graphcopy lib-platform lib-stdlib
RUN sed -i 's%lib/exe/linker%/usr/bin/gcc:--gc-sections%' /opt/clean/etc/IDEEnvs
Version: 1.5
Global
ProjectRoot: .
Target: StdEnv
Exec: {Project}*CodeSharing
ByteCode: {Project}*CodeSharing.bc
CodeGen
CheckStacks: False
CheckIndexes: True
OptimiseABC: False
GenerateByteCode: False
Application
HeapSize: 2097152
StackSize: 512000
ExtraMemory: 8192
IntialHeapSize: 204800
HeapSizeMultiplier: 4096
ShowExecutionTime: False
ShowGC: False
ShowStackSize: False
MarkingCollector: False
DisableRTSFlags: False
StandardRuntimeEnv: True
Profile
Memory: False
MemoryMinimumHeapSize: 0
Time: False
Stack: False
Dynamics: False
GenericFusion: False
DescExL: False
Output
Output: ShowConstructors
Font: Monaco
FontSize: 9
WriteStdErr: False
Link
LinkMethod: Static
GenerateRelocations: False
GenerateSymbolTable: True
GenerateLinkMap: False
LinkResources: False
ResourceSource:
GenerateDLL: False
ExportedNames:
StripByteCode: True
KeepByteCodeSymbols: True
PrelinkByteCode: False
Paths
Path: {Project}
Path: {Project}*..*lib
Path: {Application}*lib*GraphCopy
Path: {Application}*lib*Platform
Precompile:
Postlink:
MainModule
Name: CodeSharing
Dir: {Project}
Compiler
NeverMemoryProfile: False
NeverTimeProfile: False
StrictnessAnalysis: True
ListTypes: StrictExportTypes
ListAttributes: True
Warnings: True
Verbose: True
ReadableABC: False
ReuseUniqueNodes: True
Fusion: False
...@@ -2,8 +2,8 @@ Version: 1.4 ...@@ -2,8 +2,8 @@ Version: 1.4
Global Global
ProjectRoot: . ProjectRoot: .
Target: StdEnv Target: StdEnv
Exec: {Project}\GraphTest.exe Exec: {Project}*GraphTest
ByteCode: {Project}\GraphTest.bc ByteCode: {Project}*GraphTest.bc
CodeGen CodeGen
CheckStacks: False CheckStacks: False
CheckIndexes: True CheckIndexes: True
...@@ -43,11 +43,14 @@ Global ...@@ -43,11 +43,14 @@ Global
ResourceSource: ResourceSource:
GenerateDLL: False GenerateDLL: False
ExportedNames: ExportedNames:
StripByteCode: True
KeepByteCodeSymbols: True
PrelinkByteCode: False
Paths Paths
Path: {Project} Path: {Project}
Path: {Project}*..*src Path: {Project}*..*lib
Path: {Application}*Libraries*GraphCopy Path: {Application}*lib*GraphCopy
Path: {Application}*Libraries*Platform Path: {Application}*lib*Platform
Precompile: Precompile:
Postlink: Postlink:
MainModule MainModule
......
CLM:=clm CPM:=cpm
override CLMFLAGS+=-I ../lib -IL ArgEnv -IL Platform -IL GraphCopy -ns
ifneq ($(OS),Mac)
override CLMFLAGS+=-no-opt-link
endif
TESTS:=CodeSharing GraphTest TESTS:=CodeSharing GraphTest
RUNTESTS:=$(addprefix test-,$(TESTS)) RUNTESTS:=$(addprefix test-,$(TESTS))
all: $(TESTS) all: $(TESTS)
CodeSharing: library .FORCE $(TESTS): %: %.prj library .FORCE
$(CLM) $(CLMFLAGS) $@ -o $@ $(CPM) $<
GraphTest: library .FORCE %.prj: %.prj.default
$(CLM) -O -bytecode _system cp $< $@
$(CLM) $(CLMFLAGS) -exl -desc -bytecode -optabc -h 10m $@ -o $@
test: $(RUNTESTS) test: $(RUNTESTS)
......
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