Skip to content

Commit 0927899

Browse files
Edge Virtualization Platform v1.47.0
1 parent 8a3453f commit 0927899

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+1334
-166
lines changed

.devcontainer/raspi/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
2323
git \
2424
gpg \
2525
make \
26+
patchelf \
2627
pycodestyle \
2728
python3-pip \
2829
python3-bashate \
@@ -90,6 +91,8 @@ RUN echo "deb https://apt.llvm.org/bookworm/ llvm-toolchain-bookworm-${LLVM_VERS
9091
&& update-alternatives --install /usr/bin/ld.lld ld.lld /usr/bin/ld.lld-${LLVM_VERSION} 50 \
9192
&& update-alternatives --install /usr/bin/wasm-ld wasm-ld /usr/bin/wasm-ld-${LLVM_VERSION} 50
9293

94+
RUN pip3 install auditwheel==6.3.0 --break-system-packages
95+
9396
ENV WASI_PREFIX=/usr/bin/
9497
ARG WASI_SDK_VERSION=24
9598
ENV WASI_SYSROOT=/opt/wasi-sysroot-${WASI_SDK_VERSION}.0

.devcontainer/ubuntu/Dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
2424
git \
2525
gpg \
2626
make \
27+
patchelf \
2728
pycodestyle \
2829
python3-pip \
2930
python3-bashate \
@@ -60,7 +61,10 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
6061
&& update-alternatives --install /usr/bin/python python /usr/bin/python3 50
6162

6263
# Remove this once stdeb is fully released for ubuntu:24.04 (python3.12)
63-
RUN pip3 install git+https://github.com/astraw/stdeb.git --break-system-packages
64+
RUN pip3 install \
65+
auditwheel==6.3.0 \
66+
git+https://github.com/astraw/stdeb.git \
67+
--break-system-packages
6468

6569
RUN echo "deb https://apt.llvm.org/noble/ llvm-toolchain-noble-${LLVM_VERSION} main" > /etc/apt/sources.list.d/apt.llvm.org.list && \
6670
curl -sL https://apt.llvm.org/llvm-snapshot.gpg.key | tee /etc/apt/trusted.gpg.d/apt.llvm.org.asc && \

.github/workflows/build-sdk.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ jobs:
9292

9393
- name: Build Python package
9494
working-directory: src/python-evp-app-sdk
95-
run: python3 -m build
95+
run: make
9696

9797
- name: SDK Debian package
9898
working-directory: src/python-evp-app-sdk
@@ -101,7 +101,7 @@ jobs:
101101
- uses: actions/upload-artifact@v4
102102
with:
103103
name: python-sdk-${{ matrix.name }}-${{ matrix.platform }}-${{ github.run_id }}
104-
path: src/python-evp-app-sdk/dist/*
104+
path: lib/python/*
105105

106106
- uses: actions/upload-artifact@v4
107107
with:

.github/workflows/build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ jobs:
5050
ref: ${{ inputs.ref }}
5151

5252
- name: Build
53-
run: bear -- make -j$((`nproc` * 2)) CFLAGS="-g -Werror"
53+
run: bear -- make -j$((`nproc` * 2)) CFLAGS="-g -Werror" \
54+
LDFLAGS="-Wl,--export-dynamic"
5455

5556
- name: Generate SBOM
5657
run: |

.github/workflows/release.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -147,17 +147,6 @@ jobs:
147147
mv $deb $(echo $deb | sed -E 's/(.*)_([^_]*).deb/\1-raspios-bookworm_\2.deb/');
148148
done
149149
150-
- name: Rename whl artifacts
151-
run: |
152-
set -x
153-
for whl in dist-ubuntu-noble-*/*.whl; do
154-
mv $whl $(echo $whl | sed -E 's/(.*)-([^-]*).whl/\1-ubuntu_noble-\2.whl/');
155-
done
156-
157-
for whl in dist-raspios-bookworm-*/*.whl; do
158-
mv $whl $(echo $whl | sed -E 's/(.*)-([^-]*).whl/\1-raspios_bookworm-\2.whl/');
159-
done
160-
161150
- name: Create a zip for sbom
162151
run: |
163152
set -x

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ test/lorem-ipsum
5656
.venv/
5757
*.core
5858
/dist
59+
/src/python-evp-app-sdk/dist-stamp
5960
/src/sdkenc/stamp
6061
/src/sdkenc/*.h
6162
/include/sdkenc/*.h

.gitmodules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
url = https://github.com/apache/nuttx-apps
1717
[submodule "src/wasm-micro-runtime"]
1818
path = src/wasm-micro-runtime
19-
url = https://github.com/bytecodealliance/wasm-micro-runtime
19+
url = https://github.com/midokura/wasm-micro-runtime.git
2020
[submodule "test/libweb"]
2121
path = test/libweb
2222
url = https://github.com/midokura/libweb.git

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,8 @@ deps.mk: .config
8888

8989
dist: all
9090
$(SCRIPTDIR)/mk-agent-deb.sh -V $(VERSION) -a $(ARCH)
91-
$(SCRIPTDIR)/mk-sdk-deb.sh -V $(SDK_VERSION) -a $(ARCH)
91+
$(SCRIPTDIR)/mk-app-sdk-deb.sh -V $(SDK_VERSION) -a $(ARCH)
92+
$(SCRIPTDIR)/mk-agent-sdk-deb.sh -V $(SDK_VERSION) -a $(ARCH)
9293

9394
clean:
9495
cd test && $(MAKE) clean

configs/nuttx.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1453,7 +1453,7 @@ CONFIG_FSUTILS_PASSWD_KEY4=0x9abcdef0
14531453
# CONFIG_INTERPRETERS_MINIBASIC is not set
14541454
# CONFIG_INTERPRETERS_QUICKJS is not set
14551455
CONFIG_INTERPRETERS_WAMR=y
1456-
CONFIG_INTERPRETERS_WAMR_VERSION="WAMR-2.1.2"
1456+
CONFIG_INTERPRETERS_WAMR_VERSION="WAMR-2.2.0"
14571457
# CONFIG_INTERPRETERS_IWASM_TASK is not set
14581458
CONFIG_INTERPRETERS_WAMR_AOT=y
14591459
CONFIG_INTERPRETERS_WAMR_FAST=y

include/evp/agent.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,7 @@ enum evp_agent_status evp_agent_get_status(struct evp_agent_context *ctxt);
200200
int evp_agent_loop(struct evp_agent_context *ctxt);
201201
int evp_agent_stop(struct evp_agent_context *ctxt);
202202
void evp_agent_free(struct evp_agent_context *ctxt);
203+
void evp_agent_wakeup(const char *name);
203204

204205
/**
205206
* Set the platform methods

0 commit comments

Comments
 (0)