Skip to content

cmake: reuse OpenCV NEON detection in carotene - #16423

Merged
opencv-pushbot merged 1 commit into
opencv:3.4from
alalek:issue_16321
Jan 28, 2020
Merged

opencv-pushbot merged 1 commit into
opencv:3.4from
alalek:issue_16321

Conversation

@alalek

@alalek alalek commented Jan 24, 2020

Copy link
Copy Markdown
Member
force_builders=ARMv7,ARMv8

- use carotene if NEON available only
@asmorkalov

Copy link
Copy Markdown
Contributor

@alalek The patch disables Carotene in cross-compilation case:

cmake -DCPU_BASELINE=NEON -DCMAKE_TOOLCHAIN_FILE=/home/alexander/Projects/opencv/platforms/linux/arm-gnueabi.toolchain.cmake ../opencv
...
--   Other third-party libraries:
--     Lapack:                      NO
--     Custom HAL:                  NO
--     Protobuf:                    build (3.5.1)

@alalek

alalek commented Jan 27, 2020

Copy link
Copy Markdown
Member Author

What is the difference from this log?

@mshabunin

Copy link
Copy Markdown
Contributor

@asmorkalov , it could be a different problem. Workaround is to add -DENABLE_NEON=ON option.

@asmorkalov

Copy link
Copy Markdown
Contributor

-DENABLE_NEON=ON restores Carotene back. Thanks. 👍

@opencv-pushbot
opencv-pushbot merged commit ffaf15d into opencv:3.4 Jan 28, 2020
@alalek alalek mentioned this pull request Jan 28, 2020
SavyaSanchi-Sharma pushed a commit to SavyaSanchi-Sharma/opencv that referenced this pull request Jul 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category: build/install platform: arm ARM boards related issues: RPi, NVIDIA TK/TX, etc

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants