Yurii Soldak
c8719f8d14
docker: add picolibc-include directory
3 years ago
Ayke van Laethem
14bb90c3c0
cgo: add support for stdio in picolibc and wasi-libc
This adds support for stdio in picolibc and fixes wasm_exec.js so that
it can also support C puts. With this, C stdout works on all supported
platforms.
3 years ago
deadprogram
4b1f92600f
docker: use go 1.17 for docker dev build
Signed-off-by: deadprogram <ron@hybridgroup.com>
3 years ago
deadprogram
931f87f96a
docker: golang default images now based on bullseye
Signed-off-by: deadprogram <ron@hybridgroup.com>
3 years ago
deadprogram
192a32f8d9
docker: use autoremove to tr to cleanup broken packages
Signed-off-by: deadprogram <ron@hybridgroup.com>
3 years ago
deadprogram
7d83e2ee5c
docker: apt clean before apt get of llvm to avoid broken packages
Signed-off-by: deadprogram <ron@hybridgroup.com>
3 years ago
deadprogram
423cae86df
docker: update dev dockerfile to Go 1.16
Signed-off-by: deadprogram <ron@hybridgroup.com>
4 years ago
deadprogram
a5e2b27884
docker: update dev docker image to use llvm11
Signed-off-by: deadprogram <ron@hybridgroup.com>
4 years ago
Ron Evans
ce57a034c3
ci: update CircleCI, Azure, and Docker builds to Go 1.15
Signed-off-by: deadprogram <ron@hybridgroup.com>
4 years ago
sago35
1e47d9efac
docker: fix the problem with the wasm build ( #1357 )
* docker: fix the problem with the wasm build
4 years ago
deadprogram
de45da5df4
docker: try installing lld in initial stage to avoid cache problem with deb package
Signed-off-by: deadprogram <ron@hybridgroup.com>
4 years ago
Ayke van Laethem
0e73790d67
Dockerfile: avoid duplicate LLVM apt line
This line causes problems when installing software: apt-get complains
that there are duplicate lines.
5 years ago
Elliott Sales de Andrade
0a8bfc57ef
all: support Go 1.14
5 years ago
Ayke van Laethem
0afd42c439
main: switch to LLVM 10
This commit also adds a bit of version independence, in particular for
external commands. It also adds the LLVM version to the `tinygo version`
command, which might help while debugging.
5 years ago
gwtnz
ac73430502
Dockerfile: copy picolibc header into container
5 years ago
Ron Evans
2521cacb51
docker: use git submodule sync to handle case where repo url changes
Signed-off-by: Ron Evans <ron@hybridgroup.com>
5 years ago
Ayke van Laethem
cf32607306
tools: rewrite gen-device-svd in Go
This should make it more maintainable. Another big advantage that
generation time (including gofmt) is now 3 times faster. No real attempt
at refactoring has been made, that will need to be done at a later time.
5 years ago
Ayke van Laethem
118af9df69
all: switch to LLVM 9
5 years ago
Jaden Weiss
17ef7a5c32
all: add support for go 1.13
5 years ago
Ayke van Laethem
8d959b7c63
all: replace dep with Go modules
We've moved to go modules, and keeping both working is burdensome.
In fact, I think dep already wasn't working.
5 years ago
Ron Evans
1dbfc976e8
docker: use Go 1.12 base Docker image for compatibility
Signed-off-by: Ron Evans <ron@hybridgroup.com>
5 years ago
Ron Evans
99add1571b
docker: Debian stable-slim image now based on buster not stretch, so update the needed package repo used for LLVM.
Signed-off-by: Ron Evans <ron@hybridgroup.com>
5 years ago
Ron Evans
82dc14b741
docker: do not remove make from tinygo-dev docker image, to make it easier to run drivers CI build, which uses the tinygo-dev image
Signed-off-by: Ron Evans <ron@hybridgroup.com>
6 years ago
Ron Evans
2511aefac0
docker: perform a hard submodule reset after having moved the git repos directory
Signed-off-by: Ron Evans <ron@hybridgroup.com>
6 years ago
Ayke van Laethem
2523772b5d
arm: use the lld linker
LLD version 8 has added support for armv6m:
https://reviews.llvm.org/D55555
This means we can use LLD instead of arm-none-eabi-ld, eliminating our
dependency on GNU binutils.
There are small differences in code size, but never more than a few
bytes.
6 years ago
Ayke van Laethem
9c41011e17
all: switch to LLVM 8
6 years ago
Samuel Lang
70f1064f36
making Docker build resilient ( #168 )
Currently, if the user hasn't run
`git submodule update --init` beforehand, the docker build will fail
This little addition makes the build atomic and ready for automatic CI tests for the future
6 years ago
Ayke van Laethem
914d383a96
all: update import paths to github.com/tinygo-org/tinygo
6 years ago
Johan Brandhorst
a830451426
Dockerfile, README, docs: Remove entrypoint
This was causing more trouble than it was helping,
so lets remove it.
6 years ago
Ayke van Laethem
ecf6ffa62e
all: add bare-bones Cgo support
6 years ago
Ayke van Laethem
5c08eaf777
Dockerfile: remove arm-none-eabi-gcc dependency
6 years ago
Ron Evans
ae3535945c
all: add support to Dockerfile for AVR and ARM targets
Signed-off-by: Ron Evans <ron@hybridgroup.com>
6 years ago
Ayke van Laethem
e5e09747f0
all: add WebAssembly backend
6 years ago
Johan Brandhorst
a51e04c550
Dockerfile: include necessary build subfolders
When building, tinygo needs access to files relative to
the directory it was built from. Include src and targets
directories.
6 years ago
Johan Brandhorst
f1b3ec4be8
Dockerfile: add vendor step
The Dockerfile was missing the part where we download
the dependencies into the vendor folder. It was of course
working locally because I had a vendor folder already.
6 years ago
Johan Brandhorst
97caabb8c2
Add Dockerfile
6 years ago