Skip to content

Commit

Permalink
Prepare for next release (#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
anuraaga authored Nov 30, 2024
1 parent 0a96682 commit 58e5099
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions buildtools/wasm/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
FROM ghcr.io/webassembly/wasi-sdk:sha-7ff81cb
FROM ghcr.io/webassembly/wasi-sdk:wasi-sdk-24

RUN apt-get update && apt-get install -y binaryen git patch
RUN apt-get update && apt-get install -y binaryen git patch python3

ADD buildtools/wasm/version.txt version.txt
RUN git clone --recurse-submodules --shallow-submodules https://github.com/protocolbuffers/protobuf.git --branch $(cat version.txt | awk '{$1=$1};1') /workspace

ENV CMAKE_TOOLCHAIN_FILE /usr/share/cmake/wasi-sdk-pthread.cmake
ENV CFLAGS -D_WASI_EMULATED_MMAN -D_WASI_EMULATED_PROCESS_CLOCKS -D_WASI_EMULATED_SIGNAL -DABSL_HAVE_MMAP
ENV CXXFLAGS $CFLAGS -fno-exceptions
ENV LDFLAGS -lwasi-emulated-process-clocks -lwasi-emulated-mman -lwasi-emulated-signal -Wl,--max-memory=4294967296 -Wl,--global-base=1024
ENV CMAKE_TOOLCHAIN_FILE=/opt/wasi-sdk/share/cmake/wasi-sdk-pthread.cmake
ENV CFLAGS="-D_WASI_EMULATED_MMAN -D_WASI_EMULATED_PROCESS_CLOCKS -D_WASI_EMULATED_SIGNAL -DABSL_HAVE_MMAP"
ENV CXXFLAGS="$CFLAGS -fno-exceptions"
ENV LDFLAGS="-lwasi-emulated-process-clocks -lwasi-emulated-mman -lwasi-emulated-signal -Wl,--max-memory=4294967296 -Wl,--global-base=1024"

WORKDIR /workspace

Expand Down
4 changes: 2 additions & 2 deletions buildtools/wasm/create_plugin_entrypoints.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
},
{
"name": "kotlin",
"include": "google/protobuf/compiler/java/kotlin_generator.h",
"generator": "::google::protobuf::compiler::java::KotlinGenerator",
"include": "google/protobuf/compiler/kotlin/generator.h",
"generator": "::google::protobuf::compiler::kotlin::KotlinGenerator",
},
{
"name": "objc",
Expand Down

0 comments on commit 58e5099

Please sign in to comment.