diff options
author | Camil Staps | 2018-10-23 21:12:40 +0200 |
---|---|---|
committer | Camil Staps | 2018-10-23 21:12:40 +0200 |
commit | fa29357e40327367f063509ecab98f7df9e6e161 (patch) | |
tree | 423ce02dcefe0a56a49fa2876de705c25c85de36 | |
parent | Update readme and Clean version (diff) |
Bring up to date
-rw-r--r-- | Dockerfile | 2 | ||||
-rw-r--r-- | compile.c | 20 | ||||
-rwxr-xr-x | make_abc.sh | 4 |
3 files changed, 13 insertions, 13 deletions
@@ -1,6 +1,6 @@ FROM camilstaps/clean:nightly -RUN install_clean.sh bundle-complete 2018-10-20 +RUN install_clean.sh bundle-complete 2018-10-23 COPY . /usr/src/iclean WORKDIR /usr/src/iclean @@ -69,16 +69,16 @@ int64_t compile(CleanString path, CleanString module) { // Build command: char cmd[512]; snprintf(cmd, 511, "cd \"%s\" && clm -ms -nw " - "-I $CLEAN_HOME/lib/Directory " - "-I $CLEAN_HOME/lib/Dynamics -dynamics " - "-I $CLEAN_HOME/lib/Gast " - "-I $CLEAN_HOME/lib/GraphCopy " - "-I $CLEAN_HOME/lib/Platform " - "-I $CLEAN_HOME/lib/Platform/Deprecated/ArgEnv " - "-I $CLEAN_HOME/lib/Platform/Deprecated/MersenneTwister " - "-I $CLEAN_HOME/lib/Platform/Deprecated/StdLib " - "-I $CLEAN_HOME/lib/Platform/Deprecated/Generics " - "-I $CLEAN_HOME/lib/Local " + "-IL Directory " + "-IL Dynamics -dynamics " + "-IL Gast " + "-IL GraphCopy " + "-IL Platform " + "-IL Platform/Deprecated/ArgEnv " + "-IL Platform/Deprecated/Generics " + "-IL Platform/Deprecated/MersenneTwister " + "-IL Platform/Deprecated/StdLib " + "-IL Local " "-b -nt -h 20M %s -o %s", pathchars, modulechars, modulechars); diff --git a/make_abc.sh b/make_abc.sh index e82de6e..1f7d5fd 100755 --- a/make_abc.sh +++ b/make_abc.sh @@ -1,5 +1,5 @@ #!/bin/bash -libs="ArgEnv Directory Dynamics Gast Generics MersenneTwister StdEnv TCPIP Platform Platform/Deprecated/StdLib" +libs="Directory Dynamics Gast GraphCopy StdEnv TCPIP Platform Platform/Deprecated/ArgEnv Platform/Deprecated/Generics Platform/Deprecated/MersenneTwister Platform/Deprecated/StdLib" shopt -s globstar for lib in $libs do @@ -10,6 +10,6 @@ do if [[ "$mod" == "**/*.icl" ]]; then continue; fi mod="${mod/.icl/}" mod="${mod/\//.}" - clm $(echo "-I /opt/clean/lib/${libs// / -I \/opt\/clean\/lib\/}") -ABC "$mod" + clm $(echo "-IL ${libs// / -IL }") -ABC "$mod" done done |