Commit 6a5b6561 authored by Bas Lijnse's avatar Bas Lijnse

Removed sapl library from builds

parent 9c410b96
Pipeline #29525 passed with stage
in 3 minutes and 8 seconds
#!/bin/bash
PACKAGE=$1
OS=$2
ARCH=$3
TARGET_DIR=target/clean-lib-sapl
# Copy Clean libraries
mkdir -p $TARGET_DIR/lib/Sapl
cp -r src/clean-sapl-hierarchical/src/Sapl $TARGET_DIR/lib/Sapl/
cp -r src/clean-sapl-hierarchical/src/clean.f $TARGET_DIR/lib/Sapl/
# Copy Sapl StdEnv
mkdir -p $TARGET_DIR/lib/StdEnv/Sapl
cp -r src/clean-sapl-hierarchical/platforms/Clean/stdlib/* $TARGET_DIR/lib/StdEnv/Sapl
# Build and copy collector linker
cat $PACKAGE/$OS-$ARCH/txt/StdEnvSapl.env >> build/clean/etc/IDEEnvs
export CLEAN_HOME=`pwd`/build/clean
export PATH=$CLEAN_HOME/bin:$PATH
mkdir -p build/sapl-collector-linker
cp -r src/clean-dynamic-system-itask/* build/sapl-collector-linker/
(cd build/sapl-collector-linker
cpm SaplCollectorLinkerLinux64.prj
)
mkdir -p $TARGET_DIR/lib/exe
cp build/sapl-collector-linker/sapl-collector-linker $TARGET_DIR/lib/exe/
clean-base
clean-lib-argenv
clean-lib-directory
clean-lib-stdlib
clean-and-itasks clean-sapl hierarchical
clean-dynamic-system branches/itask
Environment
EnvironmentName: StdEnv SAPL
EnvironmentPaths
Path: {Application}/lib/StdEnv
EnvironmentCompiler: lib/exe/cocl::-sapl
EnvironmentCodeGen: lib/exe/cg
EnvironmentLinker: lib/exe/linker
EnvironmentDynLink: lib/exe/linker
EnvironmentVersion: 920
EnvironmentRedirect: False
EnvironmentCompileMethod: Pers
EnvironmentProcessor: I386
Environment64BitProcessor: True
#!/bin/bash
PACKAGE=$1
OS=$2
ARCH=$3
TARGET_DIR=target/clean-lib-sapl
# Copy Clean libraries
mkdir -p $TARGET_DIR/lib/Sapl
cp -r src/clean-sapl-hierarchical/src/Sapl $TARGET_DIR/lib/Sapl/
cp -r src/clean-sapl-hierarchical/src/clean.f $TARGET_DIR/lib/Sapl/
# Copy Sapl StdEnv
mkdir -p $TARGET_DIR/lib/StdEnv/Sapl
cp -r src/clean-sapl-hierarchical/platforms/Clean/stdlib/* $TARGET_DIR/lib/StdEnv/Sapl
# Build and copy collector linker
cat $PACKAGE/$OS-$ARCH/txt/StdEnvSapl.env >> build/clean/etc/IDEEnvs
export CLEAN_HOME=`pwd`/build/clean
export PATH=$CLEAN_HOME/bin:$PATH
mkdir -p build/sapl-collector-linker
cp -r src/clean-dynamic-system-itask/* build/sapl-collector-linker/
(cd build/sapl-collector-linker
cpm SaplCollectorLinkerMacOSX.prj
)
mkdir -p $TARGET_DIR/lib/exe
cp build/sapl-collector-linker/sapl-collector-linker $TARGET_DIR/lib/exe/
clean-base
clean-lib-argenv
clean-lib-directory
clean-lib-stdlib
clean-and-itasks clean-sapl hierarchical
clean-dynamic-system branches/itask
Environment
EnvironmentName: StdEnv SAPL
EnvironmentPaths
Path: {Application}/lib/StdEnv
EnvironmentCompiler: lib/exe/cocl::-sapl
EnvironmentCodeGen: lib/exe/cg
EnvironmentLinker: /usr/bin/gcc
EnvironmentDynLink: /usr/bin/gcc
EnvironmentVersion: 920
EnvironmentRedirect: False
EnvironmentCompileMethod: Pers
EnvironmentProcessor: I386
Environment64BitProcessor: True
#!/bin/sh
TARGET_DIR=target/clean-lib-sapl
# Copy Clean libraries
mkdir -p $TARGET_DIR/Libraries/Sapl
cp -r src/clean-sapl-hierarchical/src/Sapl $TARGET_DIR/Libraries/Sapl/
cp -r src/clean-sapl-hierarchical/src/clean.f $TARGET_DIR/Libraries/Sapl/
# Copy Sapl StdEnv
mkdir -p $TARGET_DIR/Libraries/StdEnv/Sapl
cp -r src/clean-sapl-hierarchical/platforms/Clean/stdlib/* $TARGET_DIR/Libraries/StdEnv/Sapl
# Build and copy collector linker
export CLEAN_HOME=`cygpath --windows --absolute build/clean`
export PATH=$CLEAN_HOME\\Tools:$PATH
mkdir -p build/sapl-collector-linker
cp -r src/clean-dynamic-system-itask/* build/sapl-collector-linker/
(cd build/sapl-collector-linker
sed "s/Target:\\tiTasks/Target:\\tStdEnv/" < SaplCollectorLinker.prj > SaplCollectorLinker_.prj
../../build/clean/cpm.exe SaplCollectorLinker_.prj
)
mkdir -p $TARGET_DIR/Tools/Clean\ System
cp build/sapl-collector-linker/SaplCollectorLinker.exe $TARGET_DIR/Tools/Clean\ System/
clean-base
clean-lib-argenv
clean-lib-directory
clean-lib-stdlib
clean-and-itasks clean-sapl hierarchical
clean-dynamic-system branches/itask
#!/bin/sh
TARGET_DIR=target/clean-lib-sapl
# Copy Clean libraries
mkdir -p $TARGET_DIR/Libraries/Sapl
cp -r src/clean-sapl-hierarchical/src/Sapl $TARGET_DIR/Libraries/Sapl/
cp -r src/clean-sapl-hierarchical/src/clean.f $TARGET_DIR/Libraries/Sapl/
# Copy Sapl StdEnv
mkdir -p $TARGET_DIR/Libraries/StdEnv/Sapl
cp -r src/clean-sapl-hierarchical/platforms/Clean/stdlib/* $TARGET_DIR/Libraries/StdEnv/Sapl
# Build and copy collector linker
export CLEAN_HOME=`cygpath --windows --absolute build/clean`
export PATH=$CLEAN_HOME\\Tools:$PATH
mkdir -p build/sapl-collector-linker
cp -r src/clean-dynamic-system-itask/* build/sapl-collector-linker/
(cd build/sapl-collector-linker
sed "s/Target:\\tiTasks/Target:\\tStdEnv/" < SaplCollectorLinker.prj > SaplCollectorLinker_.prj
../../build/clean/cpm.exe SaplCollectorLinker_.prj
)
mkdir -p $TARGET_DIR/Tools/Clean\ System
cp build/sapl-collector-linker/SaplCollectorLinker.exe $TARGET_DIR/Tools/Clean\ System/
clean-base
clean-lib-argenv
clean-lib-directory
clean-lib-stdlib
clean-and-itasks clean-sapl hierarchical
clean-dynamic-system branches/itask
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