Yurii Soldak
c8719f8d14
docker: add picolibc-include directory
2021-10-27 20:49:06 +02:00
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.
2021-10-26 17:08:30 +02:00
deadprogram
4b1f92600f
docker: use go 1.17 for docker dev build
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2021-09-02 11:18:52 +02:00
deadprogram
931f87f96a
docker: golang default images now based on bullseye
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2021-08-18 20:28:36 +02:00
deadprogram
192a32f8d9
docker: use autoremove to tr to cleanup broken packages
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2021-08-18 20:19:33 +02:00
deadprogram
7d83e2ee5c
docker: apt clean before apt get of llvm to avoid broken packages
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2021-08-18 20:01:50 +02:00
deadprogram
423cae86df
docker: update dev dockerfile to Go 1.16
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2021-05-26 17:33:50 +02:00
deadprogram
a5e2b27884
docker: update dev docker image to use llvm11
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2021-01-19 21:26:06 +01:00
Ron Evans
ce57a034c3
ci: update CircleCI, Azure, and Docker builds to Go 1.15
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2020-11-13 03:07:35 +01:00
sago35
1e47d9efac
docker: fix the problem with the wasm build ( #1357 )
...
* docker: fix the problem with the wasm build
2020-09-06 10:22:47 +02:00
deadprogram
de45da5df4
docker: try installing lld in initial stage to avoid cache problem with deb package
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2020-06-22 19:50:56 +02:00
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.
2020-06-01 11:47:29 +02:00
Elliott Sales de Andrade
0a8bfc57ef
all: support Go 1.14
2020-04-12 18:41:34 +02:00
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.
2020-04-09 20:23:51 +02:00
gwtnz
ac73430502
Dockerfile: copy picolibc header into container
2020-03-25 14:51:18 +01:00
Ron Evans
2521cacb51
docker: use git submodule sync to handle case where repo url changes
...
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2020-03-17 09:05:30 +01:00
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.
2019-12-14 22:27:45 +01:00
Ayke van Laethem
118af9df69
all: switch to LLVM 9
2019-11-16 18:44:27 +01:00
Jaden Weiss
17ef7a5c32
all: add support for go 1.13
2019-09-24 16:13:26 +02:00
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.
2019-09-15 18:04:38 +02:00
Ron Evans
1dbfc976e8
docker: use Go 1.12 base Docker image for compatibility
...
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2019-09-09 09:37:43 +02:00
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>
2019-08-07 11:27:44 +02:00
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>
2019-05-15 11:51:26 +02:00
Ron Evans
2511aefac0
docker: perform a hard submodule reset after having moved the git repos directory
...
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2019-05-05 17:30:26 +02:00
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.
2019-04-04 12:50:15 +02:00
Ayke van Laethem
9c41011e17
all: switch to LLVM 8
2019-03-22 22:55:11 +01:00
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
2019-02-05 15:57:52 +01:00
Ayke van Laethem
914d383a96
all: update import paths to github.com/tinygo-org/tinygo
2019-01-31 17:43:19 +01:00
Johan Brandhorst
a830451426
Dockerfile, README, docs: Remove entrypoint
...
This was causing more trouble than it was helping,
so lets remove it.
2018-12-17 20:41:33 +01:00
Ayke van Laethem
ecf6ffa62e
all: add bare-bones Cgo support
2018-12-10 15:38:02 +01:00
Ayke van Laethem
5c08eaf777
Dockerfile: remove arm-none-eabi-gcc dependency
2018-11-22 16:20:15 +01:00
Ron Evans
ae3535945c
all: add support to Dockerfile for AVR and ARM targets
...
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-11-15 12:53:10 +01:00
Ayke van Laethem
e5e09747f0
all: add WebAssembly backend
2018-10-21 19:47:47 +02:00
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.
2018-10-21 17:52:12 +01:00
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.
2018-10-21 16:21:04 +01:00
Johan Brandhorst
97caabb8c2
Add Dockerfile
2018-10-21 00:28:18 +01:00