Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[package] onnxruntime/1.15.1: missing CPUINFO_SUPPORTED #26218

Open
Nekto89 opened this issue Dec 18, 2024 · 0 comments
Open

[package] onnxruntime/1.15.1: missing CPUINFO_SUPPORTED #26218

Nekto89 opened this issue Dec 18, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Nekto89
Copy link
Contributor

Nekto89 commented Dec 18, 2024

Description

After updating recipe to latest version on CCI I've noticed performance degradation in some cases. I've been able to fix it by injecting preprocessor definition that has been removed in #23409
I've added these 3 lines to generate method but maybe it would be better to add it to onnxruntime_external_deps.cmake instead.
https://github.com/microsoft/onnxruntime/blob/baeece44ba075009c6bfe95891a8c1b3d4571cb3/cmake/external/onnxruntime_external_deps.cmake#L249-L251

# https://github.com/microsoft/onnxruntime/blob/baeece44ba075009c6bfe95891a8c1b3d4571cb3/cmake/external/onnxruntime_external_deps.cmake#L249-L251
if not self.settings.os == "Emscripten":
    tc.preprocessor_definitions["CPUINFO_SUPPORTED"] = ""

Package and Environment Details

  • Package Name/Version: onnxruntime/1.15.1
  • Operating System+version: Debian Bullseye
  • Compiler+version: GCC 10
  • Docker image: -
  • Conan version: conan 2.6.0
  • Python version: Python 3.9.2

Conan profile

[settings]
arch=x86_64
build_type=Release
compiler=gcc
compiler.cppstd=20
compiler.libcxx=libstdc++11
compiler.version=10
os=Linux

Steps to reproduce

conan install -r conancenter --requires=onnxruntime/1.15.1 -pr:b=default -pr:h=default

Logs

Click to expand log
...
@Nekto89 Nekto89 added the bug Something isn't working label Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants