Skip to content

Commit

Permalink
Merge pull request #49 from TBSniller/fix/slow_capture
Browse files Browse the repository at this point in the history
Bring back NDK toolchain because of performance issues
  • Loading branch information
TBSniller authored Sep 28, 2022
2 parents 25f61fd + 899fe47 commit dbc3f82
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/build_piccap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,15 @@ jobs:
- name: Install dependencies
working-directory: ${{github.workspace}}
run: npm install

- name: Download and unpack toolchain
working-directory: /opt
run: wget -q -O toolchain.tar.gz https://github.com/openlgtv/buildroot-nc4/releases/download/webos-9f5b1a1/arm-webos-linux-gnueabi_sdk-buildroot.tar.gz && tar -xf toolchain.tar.gz

- name: Relocate toolchain
working-directory: /opt/arm-webos-linux-gnueabi_sdk-buildroot
run: ./relocate-sdk.sh
- name: Download webOS NDK
run: wget -q https://github.com/webosbrew/meta-lg-webos-ndk/releases/download/1.0.g-rev.5/webos-sdk-x86_64-armv7a-neon-toolchain-1.0.g.sh -P ${{github.workspace}}/temp

- name: Setup Env
run: env -i bash -c 'export CMAKE_TOOLCHAIN_FILE=/opt/arm-webos-linux-gnueabi_sdk-buildroot/share/buildroot/toolchainfile.cmake && env' >> $GITHUB_ENV
- name: Install webOS NDK
run: chmod 755 ${{github.workspace}}/temp/webos-sdk-x86_64-armv7a-neon-toolchain-1.0.g.sh && sudo ${{github.workspace}}/temp/webos-sdk-x86_64-armv7a-neon-toolchain-1.0.g.sh -y

- name: Initialize NDK Environments
run: env -i bash -c '. /opt/webos-sdk-x86_64/1.0.g/environment-setup-armv7a-neon-webos-linux-gnueabi && env' >> $GITHUB_ENV

- name: Check CMAKE Version
run: which cmake && cmake --version
Expand Down
2 changes: 1 addition & 1 deletion hyperion-webos

0 comments on commit dbc3f82

Please sign in to comment.