You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Copy file name to clipboardExpand all lines: README.markdown
+3-22Lines changed: 3 additions & 22 deletions
Original file line number
Diff line number
Diff line change
@@ -18,29 +18,10 @@ If you have a supported LLVM installation, you should be able to do a simple `go
18
18
19
19
go get tinygo.org/x/go-llvm
20
20
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.
35
22
36
23
## License
37
24
38
-
Most of the files are extracted from the LLVM source tree, specifically all
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.
44
26
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