diff --git a/.github/workflows/llext.yml b/.github/workflows/llext.yml new file mode 100644 index 000000000000..24b48312501b --- /dev/null +++ b/.github/workflows/llext.yml @@ -0,0 +1,41 @@ +--- + +name: Zephyr LLEXT + +# 'workflow_dispatch' allows running this workflow manually from the +# 'Actions' tab +# yamllint disable-line rule:truthy +on: [pull_request, workflow_dispatch] + +jobs: + build: + runs-on: ubuntu-22.04 + + strategy: + fail-fast: false + matrix: + platform: [mtl, lnl] + + steps: + - name: git clone sof + uses: actions/checkout@v4 + with: + path: ./workspace/sof + fetch-depth: 0 # fix git describe + filter: 'tree:0' + + - name: west clones + run: pip3 install west && cd workspace/sof/ && west init -l && + west update --narrow --fetch-opt=--depth=5 + + - name: Download docker image && ls /opt/toolchains/ + run: cd workspace && ./sof/zephyr/docker-run.sh ls -l /opt/toolchains/ + + - name: llext build + run: | + cd workspace && ./sof/zephyr/docker-run.sh /bin/sh -c \ + 'ln -s /opt/toolchains/zephyr-sdk-* ~/; + west build --board intel_adsp_ace15_mtpm sof/app \ + -- -DEXTRA_CFLAGS=-Werror -DEXTRA_CXXFLAGS=-Werror \ + -DEXTRA_AFLAGS=-Werror \ + -DOVERLAY_CONFIG=overlays/mtl/module_overlay.conf' diff --git a/src/samples/audio/smart_amp_llext/CMakeLists.txt b/src/samples/audio/smart_amp_llext/CMakeLists.txt index 006e53b79f66..ded003b1ecb3 100644 --- a/src/samples/audio/smart_amp_llext/CMakeLists.txt +++ b/src/samples/audio/smart_amp_llext/CMakeLists.txt @@ -20,8 +20,8 @@ sof_append_relative_path_definitions(${MODULE}) target_include_directories(${MODULE} PRIVATE "${ZEPHYR_BASE}/include" - "${ZEPHYR_BASE}/soc/xtensa/intel_adsp/common/include" - "${ZEPHYR_BASE}/soc/xtensa/intel_adsp/ace/include/intel_ace15_mtpm" + "${ZEPHYR_BASE}/soc/intel/intel_adsp/common/include" + "${ZEPHYR_BASE}/soc/intel/intel_adsp/ace/include/ace15_mtpm" "${ZEPHYR_BASE}/../modules/hal/xtensa/include" "${ZEPHYR_BASE}/../modules/hal/xtensa/zephyr/soc/intel_ace15_mtpm" "${SOF_BASE}/src/include"