diff options
author | Bruce Lai <bruce.lai@sifive.com> | 2023-04-27 18:53:01 -0700 |
---|---|---|
committer | libyuv LUCI CQ <libyuv-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2023-05-04 18:09:00 +0000 |
commit | f4bd840794ec09fc1e493398a032f6026fb01ea3 (patch) | |
tree | cae4b4f898e378510a55314fbd6f8829f31d0d70 /docs | |
parent | 8811ad8ba13e8fc15cf68feb9529832962515cc2 (diff) | |
download | libyuv-f4bd840794ec09fc1e493398a032f6026fb01ea3.tar.gz |
Fix compile error for riscv scalar & simplify cmake cross build flow
1. Fix compile error when build riscv without using vector
2. Fix run_qemu.sh misused v=true for USE_RVV=OFF case
3. [cmake] Fix warning by rename TEST to UNIT_TEST
Warning log:
CMake Warning (dev) at CMakeLists.txt:57 (if): [54/1931]
Policy CMP0064 is not set: Support new TEST if() operator. Run "cmake
--help-policy CMP0064" for policy details. Use the cmake_policy command to
set the policy and suppress this warning.
TEST will be interpreted as an operator when the policy is set to NEW.
Since the policy is not set the OLD behavior will be used.
This warning is for project developers. Use -Wno-dev to suppress it.
4. [cmake] Simplify logic for cross-build
Bug: libyuv:956
Change-Id: I120402fc7d6d86403e7d974180b81f4f9c663e36
Signed-off-by: Bruce Lai <bruce.lai@sifive.com>
Reviewed-on: https://chromium-review.googlesource.com/c/libyuv/libyuv/+/4486239
Reviewed-by: Frank Barchard <fbarchard@chromium.org>
Reviewed-by: Mirko Bonadei <mbonadei@chromium.org>
Commit-Queue: Frank Barchard <fbarchard@chromium.org>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/getting_started.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/getting_started.md b/docs/getting_started.md index 37ffc747..b19f0009 100644 --- a/docs/getting_started.md +++ b/docs/getting_started.md @@ -231,7 +231,7 @@ If you don't have prebuilt clang and riscv64 qemu, run the script to download so After running script, clang & qemu are built in `build-toolchain-qemu/riscv-clang/` & `build-toolchain-qemu/riscv-qemu/`. ### Cross-compile for RISC-V target - cmake -B out/Release/ -DTEST=ON \ + cmake -B out/Release/ -DUNIT_TEST=ON \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_TOOLCHAIN_FILE="./riscv_script/riscv-clang.cmake" \ -DTOOLCHAIN_PATH={TOOLCHAIN_PATH} \ |