mirror of
https://github.com/fluencelabs/sqlite
synced 2025-03-15 23:00:49 +00:00
move to wasi-sdk 10
This commit is contained in:
parent
af798f02a8
commit
9a417a2daf
@ -1,4 +1,4 @@
|
|||||||
FROM ubuntu:19.04
|
FROM ubuntu:18.04
|
||||||
|
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
&& apt-get install -y ca-certificates \
|
&& apt-get install -y ca-certificates \
|
||||||
@ -7,7 +7,7 @@ RUN apt-get update \
|
|||||||
make \
|
make \
|
||||||
libtinfo5
|
libtinfo5
|
||||||
|
|
||||||
RUN curl -L https://github.com/CraneStation/wasi-sdk/releases/download/wasi-sdk-6/wasi-sdk-6.0-linux.tar.gz | tar xz --strip-components=1 -C /
|
RUN curl -L https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-10/wasi-sdk-10.0-linux.tar.gz | tar xz --strip-components=1 -C /
|
||||||
|
|
||||||
VOLUME /code
|
VOLUME /code
|
||||||
WORKDIR /code
|
WORKDIR /code
|
||||||
|
6
Makefile
6
Makefile
@ -1,7 +1,7 @@
|
|||||||
TARGET = sqlite3
|
TARGET = sqlite3
|
||||||
CC = /opt/wasi-sdk/bin/clang
|
CC = /bin/clang
|
||||||
SYSROOT = /opt/wasi-sdk/share/wasi-sysroot
|
SYSROOT = /share/wasi-sysroot
|
||||||
TARGET_TRIPLE = wasm32-unknown-wasi
|
TARGET_TRIPLE = wasm32-wasi
|
||||||
CFLAGS = -nostartfiles -fvisibility=hidden
|
CFLAGS = -nostartfiles -fvisibility=hidden
|
||||||
LDFLAGS = -Wl,--no-entry,--demangle,--allow-undefined
|
LDFLAGS = -Wl,--no-entry,--demangle,--allow-undefined
|
||||||
EXPORT_FUNCS = \
|
EXPORT_FUNCS = \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user