Commit 8fabc80b authored by Ronald Charles Moore's avatar Ronald Charles Moore
Browse files

Updated README.md for LLVM 12 again



Signed-off-by: Ronald Charles Moore's avatarProf. Ronald Moore <ronald.moore@h-da.de>
parent 318ccd6a
......@@ -20,16 +20,17 @@ This code assumes you have clang and the LLVM library installed -- see below.
It is generally up-to-date with the latest LLVM release:
* The current version was updated in Summer 2020 and worked with the LLVM 10 at that time.
* Small changes have been made in 2021 to get it to work with LLVM 11.
* LLVM 12 was released in April 2021 (!) and the code **in this branch has** been updated for it!
* Small changes were made in April 2021 to get it to work with LLVM 11.
* LLVM 12 was released in April 2021 (!) and the code **in this branch has** been updated for this new version!
* However, **be warned**, this code will not work with older versions of LLVM!
All of the example files (fibonacci.cpp, ModuleMaker.cpp and toy*.cpp):
- are available in the LLVM source tree, for example at <https://github.com/llvm/llvm-project/releases/tag/llvmorg-12.0.0>.
- the directory structure has been simplified, some files have been renamed,
- are available in the LLVM source tree, for example at <https://github.com/llvm/llvm-project/releases/tag/llvmorg-12.0.0>.
- the directory structure has been simplified, some files have been renamed,
and a new Makefile is provided which is much simpler than the original cmake
system (but not guarenteed to work outside Linux).
- Test files have also been added. See below.
- Test files have also been added. See below.
Still, it should be emphasized that there is nothing really new here -- apart
from the packaging, everything here is from the LLVM project!
......@@ -67,16 +68,15 @@ $ ./ModuleMaker >status5.bc
$ lli status5.bc
$ echo $? # should print "5"
```
"Hello World" doesn't get much simpler than this!
(Running "make testModuleMaker" does this, by the way).
(Running "make testModuleMaker" does exactly this, by the way).
* `README.md`
This file.
This file.
* `KaleidoscopeJIT.h`
A header file used by some of the toy4.cpp - toy9.cpp.
This version works with LLVM 10.
A header file used by some of the toy4.cpp - toy9.cpp.
* `tests`
A directory containing files in the Kaleidoscope
A directory containing files in the Kaleidoscope
language, taken from the LLVM Tutorial, see
https://llvm.org/docs/tutorial/MyFirstLanguageFrontend/index.html
Some, but not all, of these are used by "make tests".
......
Supports Markdown
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