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

Adapt environments and CI to ABC interpreter

parent 7fcc132f
Pipeline #21001 failed with stage
in 1 minute and 36 seconds
test: test:
before_script: image: "camilstaps/clean:nightly"
- install_clean.sh bundle-complete && install_clean_nightly.sh test && apt-get update -qq && apt-get install -y -qq build-essential libsqlite3-dev libmariadbclient-dev-compat before_script:
image: "camilstaps/clean:nightly" - install_clean.sh "bundle-complete abc-interpreter"
script: - install_clean_nightly.sh test
- bash ci-tests.bash - apt-get update -qq
- apt-get install -y -qq build-essential libsqlite3-dev libmariadbclient-dev-compat
script:
- bash ci-tests.bash
...@@ -5,18 +5,23 @@ Version: 1.0 ...@@ -5,18 +5,23 @@ Version: 1.0
Path: {Application}/lib/StdEnv Path: {Application}/lib/StdEnv
Path: {Application}/lib/Dynamics Path: {Application}/lib/Dynamics
Path: {Application}/lib/TCPIP Path: {Application}/lib/TCPIP
Path: {Application}/lib/Sapl Path: {Application}/lib/ABCInterpreter
Path: {Application}/lib/GraphCopy Path: {Application}/lib/GraphCopy
Path: {Application}/lib/Platform Path: {Application}/lib/Platform
Path: {Application}/lib/Platform/Deprecated/Generics Path: {Application}/lib/Platform/Deprecated/Generics
Path: {Application}/lib/Platform/Deprecated/StdLib Path: {Application}/lib/Platform/Deprecated/StdLib
Path: {Application}/Development/iTasks-SDK/Libraries Path: {Application}/Development/iTasks-SDK/Libraries
EnvironmentCompiler: lib/exe/cocl::-dynamics -sapl -d EnvironmentCompiler: lib/exe/cocl::-dynamics -d
EnvironmentCodeGen: lib/exe/cg EnvironmentCodeGen: lib/exe/cg
EnvironmentLinker: /usr/bin/gcc::-g|lib/exe/sapl-collector-linker|lib/exe/itasks-web-collector EnvironmentLinker: /usr/bin/gcc::-g|lib/exe/itasks-web-collector
EnvironmentDynLink: lib/exe/cclinker EnvironmentDynLink: lib/exe/cclinker
EnvironmentABCOptimise: lib/exe/abcopt
EnvironmentByteCodeGen: lib/exe/bcgen
EnvironmentByteCodeLink: lib/exe/bclink
EnvironmentByteCodeStrip: lib/exe/bcstrip
EnvironmentByteCodePrelink: lib/exe/bcprelink
EnvironmentVersion: 920 EnvironmentVersion: 920
EnvironmentRedirect: False EnvironmentRedirect: False
EnvironmentCompileMethod: Pers EnvironmentCompileMethod: Pers
EnvironmentProcessor: I386 EnvironmentProcessor: I386
Environment64BitProcessor: True Environment64BitProcessor: True
\ No newline at end of file
...@@ -9,13 +9,18 @@ Environments ...@@ -9,13 +9,18 @@ Environments
Path: {Application}/lib/Platform Path: {Application}/lib/Platform
Path: {Application}/lib/Platform/Deprecated/Generics Path: {Application}/lib/Platform/Deprecated/Generics
Path: {Application}/lib/Platform/Deprecated/StdLib Path: {Application}/lib/Platform/Deprecated/StdLib
Path: {Application}/lib/Sapl Path: {Application}/lib/ABCInterpreter
Path: {Application}/lib/GraphCopy Path: {Application}/lib/GraphCopy
Path: {Application}/Development/iTasks-SDK/Libraries Path: {Application}/Development/iTasks-SDK/Libraries
EnvironmentCompiler: lib/exe/cocl:-dynamics -sapl EnvironmentCompiler: lib/exe/cocl:-dynamics
EnvironmentCodeGen: lib/exe/cg EnvironmentCodeGen: lib/exe/cg
EnvironmentLinker: lib/exe/linker|lib/exe/sapl-collector-linker|lib/exe/itasks-web-collector EnvironmentLinker: lib/exe/linker|lib/exe/itasks-web-collector
EnvironmentDynLink: lib/exe/linker EnvironmentDynLink: lib/exe/linker
EnvironmentABCOptimise: lib/exe/abcopt
EnvironmentByteCodeGen: lib/exe/bcgen
EnvironmentByteCodeLink: lib/exe/bclink
EnvironmentByteCodeStrip: lib/exe/bcstrip
EnvironmentByteCodePrelink: lib/exe/bcprelink
EnvironmentVersion: 920 EnvironmentVersion: 920
EnvironmentRedirect: False EnvironmentRedirect: False
EnvironmentCompileMethod: Pers EnvironmentCompileMethod: Pers
......
...@@ -9,13 +9,18 @@ Environments ...@@ -9,13 +9,18 @@ Environments
Path: {Application}/lib/Platform Path: {Application}/lib/Platform
Path: {Application}/lib/Platform/Deprecated/Generics Path: {Application}/lib/Platform/Deprecated/Generics
Path: {Application}/lib/Platform/Deprecated/StdLib Path: {Application}/lib/Platform/Deprecated/StdLib
Path: {Application}/lib/Sapl Path: {Application}/lib/ABCInterpreter
Path: {Application}/lib/GraphCopy Path: {Application}/lib/GraphCopy
Path: {Application}/lib/iTasks Path: {Application}/lib/iTasks
EnvironmentCompiler: lib/exe/cocl-tonic:-dynamics -sapl -tonic EnvironmentCompiler: lib/exe/cocl-tonic:-dynamics -tonic
EnvironmentCodeGen: lib/exe/cg EnvironmentCodeGen: lib/exe/cg
EnvironmentLinker: lib/exe/linker|lib/exe/sapl-collector-linker|lib/exe/itasks-web-collector EnvironmentLinker: lib/exe/linker|lib/exe/itasks-web-collector
EnvironmentDynLink: lib/exe/linker EnvironmentDynLink: lib/exe/linker
EnvironmentABCOptimise: lib/exe/abcopt
EnvironmentByteCodeGen: lib/exe/bcgen
EnvironmentByteCodeLink: lib/exe/bclink
EnvironmentByteCodeStrip: lib/exe/bcstrip
EnvironmentByteCodePrelink: lib/exe/bcprelink
EnvironmentVersion: 920 EnvironmentVersion: 920
EnvironmentRedirect: False EnvironmentRedirect: False
EnvironmentCompileMethod: Pers EnvironmentCompileMethod: Pers
......
...@@ -9,13 +9,18 @@ Environments ...@@ -9,13 +9,18 @@ Environments
Path: {Application}/lib/Platform Path: {Application}/lib/Platform
Path: {Application}/lib/Platform/Deprecated/Generics Path: {Application}/lib/Platform/Deprecated/Generics
Path: {Application}/lib/Platform/Deprecated/StdLib Path: {Application}/lib/Platform/Deprecated/StdLib
Path: {Application}/lib/Sapl Path: {Application}/lib/ABCInterpreter
Path: {Application}/lib/GraphCopy Path: {Application}/lib/GraphCopy
Path: {Application}/lib/iTasks Path: {Application}/lib/iTasks
EnvironmentCompiler: lib/exe/cocl::-dynamics -sapl EnvironmentCompiler: lib/exe/cocl::-dynamics
EnvironmentCodeGen: lib/exe/cg EnvironmentCodeGen: lib/exe/cg
EnvironmentLinker: lib/exe/linker|lib/exe/sapl-collector-linker|lib/exe/itasks-web-collector EnvironmentLinker: lib/exe/linker|lib/exe/itasks-web-collector
EnvironmentDynLink: lib/exe/linker EnvironmentDynLink: lib/exe/linker
EnvironmentABCOptimise: lib/exe/abcopt
EnvironmentByteCodeGen: lib/exe/bcgen
EnvironmentByteCodeLink: lib/exe/bclink
EnvironmentByteCodeStrip: lib/exe/bcstrip
EnvironmentByteCodePrelink: lib/exe/bcprelink
EnvironmentVersion: 920 EnvironmentVersion: 920
EnvironmentRedirect: False EnvironmentRedirect: False
EnvironmentCompileMethod: Pers EnvironmentCompileMethod: Pers
......
...@@ -8,13 +8,18 @@ Version: 1.0 ...@@ -8,13 +8,18 @@ Version: 1.0
Path: {Application}/lib/Platform Path: {Application}/lib/Platform
Path: {Application}/lib/Platform/Deprecated/Generics Path: {Application}/lib/Platform/Deprecated/Generics
Path: {Application}/lib/Platform/Deprecated/StdLib Path: {Application}/lib/Platform/Deprecated/StdLib
Path: {Application}/lib/Sapl Path: {Application}/lib/ABCInterpreter
Path: {Application}/lib/GraphCopy Path: {Application}/lib/GraphCopy
Path: {Application}/lib/iTasks Path: {Application}/lib/iTasks
EnvironmentCompiler: lib/exe/cocl:-dynamics -sapl -desc -exl -d EnvironmentCompiler: lib/exe/cocl:-dynamics -desc -exl -d
EnvironmentCodeGen: lib/exe/cg EnvironmentCodeGen: lib/exe/cg
EnvironmentLinker: lib/exe/cclinker|lib/exe/sapl-collector-linker|lib/exe/itasks-web-collector EnvironmentLinker: lib/exe/cclinker|lib/exe/itasks-web-collector
EnvironmentDynLink: lib/exe/cclinker EnvironmentDynLink: lib/exe/cclinker
EnvironmentABCOptimise: lib/exe/abcopt
EnvironmentByteCodeGen: lib/exe/bcgen
EnvironmentByteCodeLink: lib/exe/bclink
EnvironmentByteCodeStrip: lib/exe/bcstrip
EnvironmentByteCodePrelink: lib/exe/bcprelink
EnvironmentVersion: 920 EnvironmentVersion: 920
EnvironmentRedirect: False EnvironmentRedirect: False
EnvironmentCompileMethod: Pers EnvironmentCompileMethod: Pers
......
...@@ -9,13 +9,18 @@ Environments ...@@ -9,13 +9,18 @@ Environments
Path: {Application}/lib/Platform Path: {Application}/lib/Platform
Path: {Application}/lib/Platform/Deprecated/Generics Path: {Application}/lib/Platform/Deprecated/Generics
Path: {Application}/lib/Platform/Deprecated/StdLib Path: {Application}/lib/Platform/Deprecated/StdLib
Path: {Application}/lib/Sapl Path: {Application}/lib/ABCInterpreter
Path: {Application}/lib/GraphCopy Path: {Application}/lib/GraphCopy
Path: {Application}/Development/iTasks-SDK/Libraries Path: {Application}/Development/iTasks-SDK/Libraries
EnvironmentCompiler: lib/exe/cocl::-dynamics -sapl EnvironmentCompiler: lib/exe/cocl::-dynamics
EnvironmentCodeGen: lib/exe/cg EnvironmentCodeGen: lib/exe/cg
EnvironmentLinker: /usr/bin/gcc|lib/exe/sapl-collector-linker|lib/exe/itasks-web-collector EnvironmentLinker: /usr/bin/gcc|lib/exe/itasks-web-collector
EnvironmentDynLink: /usr/bin/gcc EnvironmentDynLink: /usr/bin/gcc
EnvironmentABCOptimise: lib/exe/abcopt
EnvironmentByteCodeGen: lib/exe/bcgen
EnvironmentByteCodeLink: lib/exe/bclink
EnvironmentByteCodeStrip: lib/exe/bcstrip
EnvironmentByteCodePrelink: lib/exe/bcprelink
EnvironmentVersion: 920 EnvironmentVersion: 920
EnvironmentRedirect: False EnvironmentRedirect: False
EnvironmentCompileMethod: Pers EnvironmentCompileMethod: Pers
......
...@@ -9,13 +9,18 @@ Environments ...@@ -9,13 +9,18 @@ Environments
Path: {Application}/lib/Platform Path: {Application}/lib/Platform
Path: {Application}/lib/Platform/Deprecated/Generics Path: {Application}/lib/Platform/Deprecated/Generics
Path: {Application}/lib/Platform/Deprecated/StdLib Path: {Application}/lib/Platform/Deprecated/StdLib
Path: {Application}/lib/Sapl Path: {Application}/lib/ABCInterpreter
Path: {Application}/lib/GraphCopy Path: {Application}/lib/GraphCopy
Path: {Application}/lib/iTasks Path: {Application}/lib/iTasks
EnvironmentCompiler: lib/exe/cocl-tonic::-dynamics -sapl -tonic EnvironmentCompiler: lib/exe/cocl-tonic::-dynamics -tonic
EnvironmentCodeGen: lib/exe/cg EnvironmentCodeGen: lib/exe/cg
EnvironmentLinker: /usr/bin/gcc|lib/exe/sapl-collector-linker|lib/exe/itasks-web-collector EnvironmentLinker: /usr/bin/gcc|lib/exe/itasks-web-collector
EnvironmentDynLink: /usr/bin/gcc EnvironmentDynLink: /usr/bin/gcc
EnvironmentABCOptimise: lib/exe/abcopt
EnvironmentByteCodeGen: lib/exe/bcgen
EnvironmentByteCodeLink: lib/exe/bclink
EnvironmentByteCodeStrip: lib/exe/bcstrip
EnvironmentByteCodePrelink: lib/exe/bcprelink
EnvironmentVersion: 920 EnvironmentVersion: 920
EnvironmentRedirect: False EnvironmentRedirect: False
EnvironmentCompileMethod: Pers EnvironmentCompileMethod: Pers
......
...@@ -9,13 +9,18 @@ Environments ...@@ -9,13 +9,18 @@ Environments
Path: {Application}/lib/Platform Path: {Application}/lib/Platform
Path: {Application}/lib/Platform/Deprecated/Generics Path: {Application}/lib/Platform/Deprecated/Generics
Path: {Application}/lib/Platform/Deprecated/StdLib Path: {Application}/lib/Platform/Deprecated/StdLib
Path: {Application}/lib/Sapl Path: {Application}/lib/ABCInterpreter
Path: {Application}/lib/GraphCopy Path: {Application}/lib/GraphCopy
Path: {Application}/lib/iTasks Path: {Application}/lib/iTasks
EnvironmentCompiler: lib/exe/cocl::-dynamics -sapl EnvironmentCompiler: lib/exe/cocl::-dynamics
EnvironmentCodeGen: lib/exe/cg EnvironmentCodeGen: lib/exe/cg
EnvironmentLinker: /usr/bin/gcc|lib/exe/sapl-collector-linker|lib/exe/itasks-web-collector EnvironmentLinker: /usr/bin/gcc|lib/exe/itasks-web-collector
EnvironmentDynLink: /usr/bin/gcc EnvironmentDynLink: /usr/bin/gcc
EnvironmentABCOptimise: lib/exe/abcopt
EnvironmentByteCodeGen: lib/exe/bcgen
EnvironmentByteCodeLink: lib/exe/bclink
EnvironmentByteCodeStrip: lib/exe/bcstrip
EnvironmentByteCodePrelink: lib/exe/bcprelink
EnvironmentVersion: 920 EnvironmentVersion: 920
EnvironmentRedirect: False EnvironmentRedirect: False
EnvironmentCompileMethod: Pers EnvironmentCompileMethod: Pers
......
...@@ -13,13 +13,18 @@ Environments ...@@ -13,13 +13,18 @@ Environments
Path: {Application}\Libraries\Platform Path: {Application}\Libraries\Platform
Path: {Application}\Libraries\Platform\Deprecated\Generics Path: {Application}\Libraries\Platform\Deprecated\Generics
Path: {Application}\Libraries\Platform\Deprecated\StdLib Path: {Application}\Libraries\Platform\Deprecated\StdLib
Path: {Application}\Libraries\Sapl Path: {Application}\Libraries\ABCInterpreter
Path: {Application}\Libraries\GraphCopy Path: {Application}\Libraries\GraphCopy
Path: {Application}\Libraries\iTasks Path: {Application}\Libraries\iTasks
EnvironmentCompiler: Tools\Clean System 64\CleanCompiler64.exe : -h 128M : -sapl -dynamics EnvironmentCompiler: Tools\Clean System 64\CleanCompiler64.exe : -h 128M : -dynamics
EnvironmentCodeGen: Tools\Clean System 64\CodeGenerator64.exe EnvironmentCodeGen: Tools\Clean System 64\CodeGenerator64.exe
EnvironmentLinker: Tools\Clean System 64\StaticLinker.exe : -h 64M | Tools\Clean System\SaplCollectorLinker.exe | Tools\Clean System\WebResourceCollector.exe EnvironmentLinker: Tools\Clean System 64\StaticLinker.exe : -h 64M | Tools\Clean System\WebResourceCollector.exe
EnvironmentDynLink: Tools\Clean System 64\DynamicLinker.exe EnvironmentDynLink: Tools\Clean System 64\DynamicLinker.exe
EnvironmentABCOptimise: Tools\Clean System 64\ABCOptimiser.exe
EnvironmentByteCodeGen: Tools\Clean System 64\ByteCodeGenerator.exe
EnvironmentByteCodeLink: Tools\Clean System 64\ByteCodeLinker.exe
EnvironmentByteCodeStrip: Tools\Clean System 64\ByteCodeStripper.exe
EnvironmentByteCodePrelink: Tools\Clean System 64\ByteCodePrelinker.exe
EnvironmentVersion: 920 EnvironmentVersion: 920
EnvironmentRedirect: False EnvironmentRedirect: False
EnvironmentCompileMethod: Pers EnvironmentCompileMethod: Pers
......
Version: 1.0
Environments
Environment
EnvironmentName: iTasks-dist
EnvironmentPaths
Path: {Application}\Libraries\StdEnv
Path: {Application}\Libraries\Dynamics
Path: {Application}\Libraries\Dynamics\extension
Path: {Application}\Libraries\Dynamics\general
Path: {Application}\Libraries\Dynamics\implementation
Path: {Application}\Libraries\Dynamics\implementation\windows
Path: {Application}\Libraries\TCPIP
Path: {Application}\Libraries\Platform
Path: {Application}\Libraries\Platform\Deprecated\Generics
Path: {Application}\Libraries\Platform\Deprecated\StdLib
Path: {Application}\Libraries\Sapl
Path: {Application}\Libraries\GraphCopy
Path: {Application}\Development\iTasks-SDK\Libraries
EnvironmentCompiler: Tools\Clean System\CleanCompiler.exe : -h 64M : -sapl -dynamics -generics -desc -exl -d
EnvironmentCodeGen: Tools\Clean System\CodeGenerator.exe
EnvironmentLinker: Tools\Clean System\StaticLinker.exe : -h 64M | Tools\Clean System\SaplCollectorLinker.exe | Tools\Clean System\WebResourceCollector.exe
EnvironmentDynLink: Tools\Clean System\DynamicLinker.exe
EnvironmentVersion: 920
EnvironmentRedirect: False
EnvironmentCompileMethod: Pers
EnvironmentProcessor: I386
Environment64BitProcessor: False
Version: 1.0
Environments
Environment
EnvironmentName: iTasks git
EnvironmentPaths
Path: {Application}\Libraries\StdEnv
Path: {Application}\Libraries\Dynamics
Path: {Application}\Libraries\Dynamics\extension
Path: {Application}\Libraries\Dynamics\general
Path: {Application}\Libraries\Dynamics\implementation
Path: {Application}\Libraries\Dynamics\implementation\windows
Path: {Application}\Libraries\TCPIP
Path: {Application}\Libraries\Platform
Path: {Application}\Libraries\Platform\Deprecated\Generics
Path: {Application}\Libraries\Platform\Deprecated\StdLib
Path: {Application}\Libraries\Sapl
Path: {Application}\Libraries\GraphCopy
Path: {Application}\Development\iTasks-SDK\Libraries
EnvironmentCompiler: Tools\Clean System\CleanCompiler.exe : -h 64M : -sapl -dynamics -generics
EnvironmentCodeGen: Tools\Clean System\CodeGenerator.exe
EnvironmentLinker: Tools\Clean System\StaticLinker.exe : -h 64M | Tools\Clean System\SaplCollectorLinker.exe | Tools\Clean System\WebResourceCollector.exe
EnvironmentDynLink: Tools\Clean System\DynamicLinker.exe
EnvironmentVersion: 920
EnvironmentRedirect: False
EnvironmentCompileMethod: Pers
EnvironmentProcessor: I386
Environment64BitProcessor: False
Version: 1.0
Environments
Environment
EnvironmentName: iTasks Tonic
EnvironmentPaths
Path: {Application}\Libraries\StdEnv
Path: {Application}\Libraries\Dynamics
Path: {Application}\Libraries\Dynamics\extension
Path: {Application}\Libraries\Dynamics\general
Path: {Application}\Libraries\Dynamics\implementation
Path: {Application}\Libraries\Dynamics\implementation\windows
Path: {Application}\Libraries\TCPIP
Path: {Application}\Libraries\Platform
Path: {Application}\Libraries\Platform\Deprecated\Generics
Path: {Application}\Libraries\Platform\Deprecated\StdLib
Path: {Application}\Libraries\Sapl
Path: {Application}\Libraries\GraphCopy
Path: {Application}\Libraries\iTasks
EnvironmentCompiler: Tools\Clean System\CleanCompilerTonic.exe : -h 128M : -sapl -dynamics -generics -tonic
EnvironmentCodeGen: Tools\Clean System\CodeGenerator.exe
EnvironmentLinker: Tools\Clean System\StaticLinker.exe : -h 64M | Tools\Clean System\SaplCollectorLinker.exe | Tools\Clean System\WebResourceCollector.exe
EnvironmentDynLink: Tools\Clean System\DynamicLinker.exe
EnvironmentVersion: 920
EnvironmentRedirect: False
EnvironmentCompileMethod: Pers
EnvironmentProcessor: I386
Environment64BitProcessor: False
Version: 1.0
Environments
Environment
EnvironmentName: iTasks
EnvironmentPaths
Path: {Application}\Libraries\StdEnv
Path: {Application}\Libraries\Dynamics
Path: {Application}\Libraries\Dynamics\extension
Path: {Application}\Libraries\Dynamics\general
Path: {Application}\Libraries\Dynamics\implementation
Path: {Application}\Libraries\Dynamics\implementation\windows
Path: {Application}\Libraries\TCPIP
Path: {Application}\Libraries\Platform
Path: {Application}\Libraries\Platform\Deprecated\Generics
Path: {Application}\Libraries\Platform\Deprecated\StdLib
Path: {Application}\Libraries\Sapl
Path: {Application}\Libraries\GraphCopy
Path: {Application}\Libraries\iTasks
EnvironmentCompiler: Tools\Clean System\CleanCompiler.exe : -h 64M : -sapl -dynamics
EnvironmentCodeGen: Tools\Clean System\CodeGenerator.exe
EnvironmentLinker: Tools\Clean System\StaticLinker.exe : -h 64M | Tools\Clean System\SaplCollectorLinker.exe | Tools\Clean System\WebResourceCollector.exe
EnvironmentDynLink: Tools\Clean System\DynamicLinker.exe
EnvironmentVersion: 920
EnvironmentRedirect: False
EnvironmentCompileMethod: Pers
EnvironmentProcessor: I386
Environment64BitProcessor: False
...@@ -10,7 +10,7 @@ import iTasks.Internal.TaskState ...@@ -10,7 +10,7 @@ import iTasks.Internal.TaskState
import iTasks.Internal.TaskStore import iTasks.Internal.TaskStore
import iTasks.Internal.TaskEval import iTasks.Internal.TaskEval
import iTasks.Internal.IWorld import iTasks.Internal.IWorld
//import iTasks.Internal.Tonic.Shares // TODO restore import iTasks.Internal.Tonic.Shares
import iTasks.Internal.Client.Override import iTasks.Internal.Client.Override
import iTasks.Internal.AsyncSDS import iTasks.Internal.AsyncSDS
...@@ -484,13 +484,13 @@ evalEmbeddedParallelTask listId taskTrees event evalOpts ...@@ -484,13 +484,13 @@ evalEmbeddedParallelTask listId taskTrees event evalOpts
//Evaluate new branches with a reset event //Evaluate new branches with a reset event
# (result,iworld) = evala (if newBranch ResetEvent event) # (result,iworld) = evala (if newBranch ResetEvent event)
(setParallel listId (extendCallTrace taskId evalOpts)) tree iworld (setParallel listId (extendCallTrace taskId evalOpts)) tree iworld
//Tonic hook // TODO restore //Tonic hook
/*# iworld = if (evalOpts.tonicOpts.captureParallel # iworld = if (evalOpts.tonicOpts.captureParallel
&& evalOpts.tonicOpts.currBlueprintExprId <> [] && evalOpts.tonicOpts.currBlueprintExprId <> []
&& evalOpts.tonicOpts.currBlueprintTaskId <> TaskId 0 0) && evalOpts.tonicOpts.currBlueprintTaskId <> TaskId 0 0)
(storeTaskOutputViewer result evalOpts.tonicOpts.currBlueprintExprId (storeTaskOutputViewer result evalOpts.tonicOpts.currBlueprintExprId
evalOpts.tonicOpts.currBlueprintTaskId taskId iworld) evalOpts.tonicOpts.currBlueprintTaskId taskId iworld)
iworld*/ iworld
= case result of = case result of
//If an exception occured, check if we can handle it at this level //If an exception occured, check if we can handle it at this level
ExceptionResult e ExceptionResult e
......
...@@ -2,9 +2,11 @@ ...@@ -2,9 +2,11 @@
set -e set -e
#Update IDEEnvs #Update IDEEnvs
if [ -e "$CLEAN_HOME"/etc/IDEEnvs ]; then if [ -w "$CLEAN_HOME"/etc/IDEEnvs ]; then
trap 'mv -v "$CLEAN_HOME"/etc/IDEEnvs{.bak2,}' EXIT
cp -v "$CLEAN_HOME"/etc/IDEEnvs{,.bak2} cp -v "$CLEAN_HOME"/etc/IDEEnvs{,.bak2}
trap 'mv -v "$CLEAN_HOME"/etc/IDEEnvs{.bak2,}' EXIT
sed -n -i.bak '/EnvironmentName:\tiTasks/q;p' "$CLEAN_HOME"/etc/IDEEnvs
tail -n +3 Config/linux-x64/iTasks.env >> "$CLEAN_HOME"/etc/IDEEnvs
sed -i.bak "s|{Application}/lib/iTasks|$(pwd)/Libraries|g" "$CLEAN_HOME"/etc/IDEEnvs sed -i.bak "s|{Application}/lib/iTasks|$(pwd)/Libraries|g" "$CLEAN_HOME"/etc/IDEEnvs
sed -i.bak 's#EnvironmentLinker: lib/exe/linker#&::-lmysqlclient -lsqlite3#g' "$CLEAN_HOME"/etc/IDEEnvs sed -i.bak 's#EnvironmentLinker: lib/exe/linker#&::-lmysqlclient -lsqlite3#g' "$CLEAN_HOME"/etc/IDEEnvs
sed -i.bak 's|EnvironmentCompiler: lib/exe/cocl:|&-h 2048m|g' "$CLEAN_HOME"/etc/IDEEnvs sed -i.bak 's|EnvironmentCompiler: lib/exe/cocl:|&-h 2048m|g' "$CLEAN_HOME"/etc/IDEEnvs
......
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