Skip to content

Commit 4ed6519

Browse files
committed
Remove generator script and update README
The source code has been removed from upstream so the copying code is unnecessary, and the code to generate llvm_config.go hasn't been used in years because manually editing these files is more flexible and convenient. So remove both.
1 parent e80bc42 commit 4ed6519

File tree

2 files changed

+3
-106
lines changed

2 files changed

+3
-106
lines changed

Makefile

Lines changed: 0 additions & 84 deletions
This file was deleted.

README.markdown

Lines changed: 3 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -18,29 +18,10 @@ If you have a supported LLVM installation, you should be able to do a simple `go
1818

1919
go get tinygo.org/x/go-llvm
2020

21-
After downloading, you may have to update the configuration for your system:
22-
23-
make config
24-
25-
If you built your own LLVM, you can also use that:
26-
27-
# update LLVM files
28-
make update SRCDIR=<dir>
29-
30-
# configure this LLVM build
31-
make config BUILDDIR=<builddir>
32-
33-
Note that you may have to comment out parts of `backports.go` if you use a
34-
newer version of LLVM.
21+
You can use build tags to select a LLVM version. For example, use `-tags=llvm15` to select LLVM 15. Setting a build tag for a LLVM version that is not supported will be ignored.
3522

3623
## License
3724

38-
Most of the files are extracted from the LLVM source tree, specifically all
39-
\*.go, \*.cpp, and \*.h files come directly from
40-
[bindings/go/llvm](https://github.com/llvm-mirror/llvm/tree/release_80/bindings/go/llvm)
41-
in the LLVM source tree. They are all released under the [Apache License 2.0
42-
(with LLVM exceptions)](http://releases.llvm.org/9.0.0/LICENSE.TXT). Check
43-
upstream LLVM for detailed copyright information.
25+
These LLVM bindings for Go originally come from LLVM, but they have since been [removed](https://discourse.llvm.org/t/rfc-remove-the-go-bindings/65725). Still, they remain under the same license as they were originally, which is the [Apache License 2.0 (with LLVM exceptions)](http://releases.llvm.org/9.0.0/LICENSE.TXT). Check upstream LLVM for detailed copyright information.
4426

45-
This README, the backports\* files, and the Makefile are separate from LLVM but
46-
are licensed under the same license.
27+
This README, the backports\* files, and the Makefile are separate from LLVM but are licensed under the same license.

0 commit comments

Comments
 (0)