[riot-notifications] [RIOT-OS/RIOT] WIP: pkg/wamr: add WAMR to provide WASM support in RIOT (#15329)

Karl Fessel notifications at github.com
Thu Sep 23 13:19:10 CEST 2021


@kfessel commented on this pull request.



> +		-emit-llvm \
+		-Os \
+		-flto \
+		-fvisibility=hidden \
+		-ffunction-sections \
+		-fdata-sections \
+
+%.show: %.wasm
+	wasm2wat $<
+
+%.wasm: %.o Makefile
+	wasm-ld-$(LLVM_VERSION) -o $@ $(LINK_FLAGS) $<
+
+
+%.o: %.cpp Makefile FORCE
+	clang++-$(LLVM_VERSION) \

the `LLVM_VERSION` is used for the wasm tools `wasm-ld-<version>` and co at least for ubuntu-focal they are not liked to `wasm-ld` the only reason they are also with the clang is that i don't want to have 2 tool-chains being used for one build.



-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/15329#discussion_r714696601
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210923/54528bc3/attachment.htm>


More information about the notifications mailing list