Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
abc-interpreter
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
7
Issues
7
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
clean-and-itasks
abc-interpreter
Commits
678a6c88
Verified
Commit
678a6c88
authored
Jun 03, 2019
by
Camil Staps
🍃
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove dependency on clm fork also for interworking tests
parent
06cacbf4
Pipeline
#24443
canceled with stages
in 4 minutes and 43 seconds
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
85 additions
and
15 deletions
+85
-15
.gitlab-ci.yml
.gitlab-ci.yml
+1
-0
Dockerfile
Dockerfile
+2
-0
test/CodeSharing.prj.default
test/CodeSharing.prj.default
+69
-0
test/GraphTest.prj.default
test/GraphTest.prj.default
+8
-5
test/Makefile
test/Makefile
+5
-10
No files found.
.gitlab-ci.yml
View file @
678a6c88
...
...
@@ -12,6 +12,7 @@ stages:
-
ln -s "$PWD/src/bclink" /opt/clean/lib/exe/bclink
-
ln -s "$PWD/src/bcprelink" /opt/clean/lib/exe/bcprelink
-
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
build
:
...
...
Dockerfile
View file @
678a6c88
...
...
@@ -26,3 +26,5 @@ RUN apt-get install -y -qq --no-install-recommends curl unzip libnspr4 &&\
rm
-r
/tmp/jsshell
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
test/CodeSharing.prj.default
0 → 100644
View file @
678a6c88
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
test/GraphTest
_win
.prj.default
→
test/GraphTest.prj.default
View file @
678a6c88
...
...
@@ -2,8 +2,8 @@ Version: 1.4
Global
ProjectRoot: .
Target: StdEnv
Exec: {Project}
\GraphTest.exe
ByteCode: {Project}
\
GraphTest.bc
Exec: {Project}
*GraphTest
ByteCode: {Project}
*
GraphTest.bc
CodeGen
CheckStacks: False
CheckIndexes: True
...
...
@@ -43,11 +43,14 @@ Global
ResourceSource:
GenerateDLL: False
ExportedNames:
StripByteCode: True
KeepByteCodeSymbols: True
PrelinkByteCode: False
Paths
Path: {Project}
Path: {Project}*..*
src
Path: {Application}*
Libraries
*GraphCopy
Path: {Application}*
Libraries
*Platform
Path: {Project}*..*
lib
Path: {Application}*
lib
*GraphCopy
Path: {Application}*
lib
*Platform
Precompile:
Postlink:
MainModule
...
...
test/Makefile
View file @
678a6c88
CLM
:=
clm
override
CLMFLAGS
+=
-I
../lib
-IL
ArgEnv
-IL
Platform
-IL
GraphCopy
-ns
ifneq
($(OS),Mac)
override
CLMFLAGS
+=
-no-opt-link
endif
CPM
:=
cpm
TESTS
:=
CodeSharing GraphTest
RUNTESTS
:=
$(
addprefix
test-,
$(TESTS)
)
all
:
$(TESTS)
CodeSharing
:
library .FORCE
$(C
LM)
$(CLMFLAGS)
$@
-o
$@
$(TESTS)
:
%: %.prj
library .FORCE
$(C
PM)
$<
GraphTest
:
library .FORCE
$(CLM)
-O
-bytecode
_system
$(CLM)
$(CLMFLAGS)
-exl
-desc
-bytecode
-optabc
-h
10m
$@
-o
$@
%.prj
:
%.prj.default
cp
$<
$@
test
:
$(RUNTESTS)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment