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

Use git version of compiler

parent 8b561379
Pipeline #15964 failed with stage
in 4 minutes and 58 seconds
...@@ -12,5 +12,4 @@ ...@@ -12,5 +12,4 @@
*.pdf *.pdf
*.toc *.toc
clean-compiler/
testproperties testproperties
[submodule "src/compiler"]
path = src/compiler
url = https://gitlab.science.ru.nl/clean-compiler-and-rts/compiler
...@@ -9,8 +9,8 @@ The latest documentation can be [downloaded][doc] in PDF format. ...@@ -9,8 +9,8 @@ The latest documentation can be [downloaded][doc] in PDF format.
## Installation ## Installation
On Linux, the tool can be installed simply by running On Linux, the tool can be installed simply by running
`make -f Makefile.linux64`. This downloads the right version of the Clean `make -f Makefile.linux64`. This builds the dependencies of the Clean compiler
compiler. On Windows, you are yourself responsible for this, but a project file as well. On Windows, you are yourself responsible for this, but a project file
is provided. is provided.
[doc]: https://gitlab.science.ru.nl/clean-and-itasks/clean-test-properties/-/jobs/artifacts/master/raw/doc/doc.pdf?job=doc [doc]: https://gitlab.science.ru.nl/clean-and-itasks/clean-test-properties/-/jobs/artifacts/master/raw/doc/doc.pdf?job=doc
......
...@@ -5,17 +5,17 @@ BIN:=testproperties ...@@ -5,17 +5,17 @@ BIN:=testproperties
all: $(BIN) all: $(BIN)
$(BIN): %: %.prj clean-compiler .FORCE $(BIN): %: %.prj compiler .FORCE
cpm $< cpm $<
$(addsuffix .prj,$(BIN)): %.prj: %.prj.default $(addsuffix .prj,$(BIN)): %.prj: %.prj.default
cp $^ $@ cp $^ $@
clean-compiler: compiler: .FORCE
svn checkout -r 3056 https://svn.cs.ru.nl/repos/clean-compiler/branches/itask/ clean-compiler $(MAKE) -C compiler/main/Unix
$(MAKE) -C clean-compiler/main/Unix $(MAKE) -C compiler/backendC/CleanCompilerSources -f Makefile.linux64
$(MAKE) -C clean-compiler/backendC/CleanCompilerSources -f Makefile.linux64 mkdir -p compiler/backend/Clean\ System\ Files
ln -s ../../backendC/CleanCompilerSources/backend.a clean-compiler/backend/Clean\ System\ Files/backend_library ln -fs ../../backendC/CleanCompilerSources/backend.a compiler/backend/Clean\ System\ Files/backend_library
clean: clean:
shopt -s globstar; $(RM) -r **/Clean\ System\ Files $(BIN) $(addsuffix .prj,$(BIN)) shopt -s globstar; $(RM) -r **/Clean\ System\ Files $(BIN) $(addsuffix .prj,$(BIN))
......
Subproject commit a07b9204a6c0bc338355df3c9af88dbbf76ea517
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