diff --git a/clean-bundle-complete/common/dependencies.txt b/clean-bundle-complete/common/dependencies.txt index f59cb9cc267ff3a9cf433284bad961668577f25c..553ec104bb6521239ac819231a050e1cfc9d83bd 100644 --- a/clean-bundle-complete/common/dependencies.txt +++ b/clean-bundle-complete/common/dependencies.txt @@ -12,5 +12,6 @@ clean-lib-itasks clean-lib-platform clean-lib-stdlib clean-lib-tcpip +clean-lib-compiler clean-test clean-test-properties diff --git a/clean-lib-compiler/common/build.sh b/clean-lib-compiler/common/build.sh new file mode 100755 index 0000000000000000000000000000000000000000..792efbb9da08b696350dd03cb361d3fdd942267a --- /dev/null +++ b/clean-lib-compiler/common/build.sh @@ -0,0 +1,18 @@ +#!/bin/bash +set -e +mkdir -p target/clean-lib-compiler + +# Add libraries +mkdir -p target/clean-lib-compiler/lib +cp -r src/compiler-master target/clean-lib-compiler/lib/compiler +cp -r src/compiler-itask target/clean-lib-compiler/lib/compiler-itask + +function build_backend() { + make -C $1/main/Unix + make -C $1/backendC/CleanCompilerSources -f Makefile.linux64 + mkdir -p $1/backend/Clean\ System\ Files + ln -fs $1/backendC/CleanCompilerSources/backend.a $1/backend/Clean\ System\ Files/backend_library +} + +build_backend target/clean-lib-compiler/lib/compiler +build_backend target/clean-lib-compiler/lib/compiler-itask diff --git a/clean-lib-compiler/common/dependencies.txt b/clean-lib-compiler/common/dependencies.txt new file mode 100644 index 0000000000000000000000000000000000000000..7bbf86d09759821e764a5df3eeca7ff9ff2f29a5 --- /dev/null +++ b/clean-lib-compiler/common/dependencies.txt @@ -0,0 +1 @@ +clean-base diff --git a/clean-lib-compiler/common/git-sources.txt b/clean-lib-compiler/common/git-sources.txt new file mode 100644 index 0000000000000000000000000000000000000000..a494bf745986502567c82c2aed1fadaab46131af --- /dev/null +++ b/clean-lib-compiler/common/git-sources.txt @@ -0,0 +1,2 @@ +https://gitlab.science.ru.nl/clean-compiler-and-rts/compiler master +https://gitlab.science.ru.nl/clean-compiler-and-rts/compiler itask diff --git a/clean-lib-compiler/linux-arm64 b/clean-lib-compiler/linux-arm64 new file mode 120000 index 0000000000000000000000000000000000000000..d66298e124bee0fb3287f38df18e312c593982ab --- /dev/null +++ b/clean-lib-compiler/linux-arm64 @@ -0,0 +1 @@ +common \ No newline at end of file diff --git a/clean-lib-compiler/linux-x64 b/clean-lib-compiler/linux-x64 new file mode 120000 index 0000000000000000000000000000000000000000..d66298e124bee0fb3287f38df18e312c593982ab --- /dev/null +++ b/clean-lib-compiler/linux-x64 @@ -0,0 +1 @@ +common \ No newline at end of file diff --git a/clean-lib-compiler/linux-x86 b/clean-lib-compiler/linux-x86 new file mode 120000 index 0000000000000000000000000000000000000000..d66298e124bee0fb3287f38df18e312c593982ab --- /dev/null +++ b/clean-lib-compiler/linux-x86 @@ -0,0 +1 @@ +common \ No newline at end of file