Age | Commit message (Collapse) | Author |
|
Example output:
$ make help
clean Remove build directory
fmt Reformat source
fmt-check Warn if any source needs reformatting
gen-device Generate microcontroller-specific sources
llvm-source Get LLVM sources
llvm-build Build LLVM
lint Lint source tree
spell Spellcheck source tree
Might even work on windows, since git for windows comes with awk.
|
|
Go 1.18 has been unsupported for quite a while now (the oldest supported
version is Go 1.21). But more importantly, the golang.org/x/tools module
now requires Go 1.19 or later. So we'll drop this older version.
|
|
It's not generally needed. It was added in
https://github.com/tinygo-org/tinygo/pull/3958 to fix an issue with
binaryen that has since been fixed in a different way, so we don't need
the googletest dependency anymore.
|
|
dependencies: update binaryen submodule to version 116
Signed-off-by: Flavio Castelli <[email protected]>
Co-authored-by: DarkByteBen <[email protected]>
|
|
Indicate that GNU Make is the version of make required to build.
|
|
|
|
1.15 specific files deleted.
1.16 specific files folded carefully into generic files, with goal of reducing diff with upstream.
Follows upstream 1.16 in making PathError etc. be aliases for the same errors in io/fs.
This fixes #2817 and lets us add io/ioutil to "make test-tinygo" on linux and mac.
|
|
Signed-off-by: deadprogram <[email protected]>
|
|
They aren't supported anymore in CI, and because untested code is broken
code, let's remove support for these Go versions altogether.
|
|
Go 1.13 has some important improvements that we would like to use, such
as the new integer literals and `errors.Is` which both arrived in Go
1.13.
|
|
* docs: add submodule update step prior to 'make release'
|
|
The BUILDING.md file is not intended for developer builds but for
release builds. The website contains more specific and more complete
information on how to build TinyGo, so provide links to these pages.
The Windows link doesn't work yet, but should work with the next
release when we update the website.
|
|
We've moved to go modules, and keeping both working is burdensome.
In fact, I think dep already wasn't working.
|
|
|
|
This should make it easier to make a working build of LLVM.
|
|
This replaces the older way which just does the following:
go install .
and
go test -v .
Instead, `make` and `make test` will now build TinyGo statically linked
against LLVM, so that `go install` and `go test -v` should be used
manually.
|
|
|
|
|
|
When building statically against LLVM, LLD is also included now. When
included, the built in wasm-ld will automatically be used instead of the
external command.
There is also support for linking ELF files but because lld does not
fully support armv6m this is not yet enabled (it produces a warning).
|
|
|