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

[Build] absl not getting built on MacOS #22756

Closed
cyanic-selkie opened this issue Nov 7, 2024 · 4 comments
Closed

[Build] absl not getting built on MacOS #22756

cyanic-selkie opened this issue Nov 7, 2024 · 4 comments
Labels
build build issues; typically submitted using template

Comments

@cyanic-selkie
Copy link

cyanic-selkie commented Nov 7, 2024

Describe the issue

Hi,

When building on an ARM64 MacOS, the absl libs aren't getting built. The onnxruntime build itself passes, however, when I try to use the library to link into another program, I can't link absl libraries since they don't exist, and therefore I get linker errors. I should point out that this worked before. So, something must've silently changed either in my system, or in the dependencies/onnxruntime itself. In any case, I find it odd and consider it a bug that it silently fails, but claims a successful build.

Urgency

No response

Target platform

MacOS ARM64

Build script

./build.sh --config Release --parallel --compile_no_warning_as_error --skip_submodule_sync --update --build --build_dir build/macos --use_xcode

Error / output

logs.txt

Visual Studio Version

No response

GCC / Compiler Version

No response

@cyanic-selkie cyanic-selkie added the build build issues; typically submitted using template label Nov 7, 2024
@cyanic-selkie cyanic-selkie changed the title [Build] absl not getting built [Build] absl not getting built on MacOS Nov 7, 2024
@snnn
Copy link
Member

snnn commented Nov 7, 2024

/opt/homebrew/lib/libabsl_flags_parse.2407.0.0.dylib

That's the reason.

@snnn snnn closed this as not planned Won't fix, can't repro, duplicate, stale Nov 7, 2024
@cyanic-selkie
Copy link
Author

@snnn Can you elaborate? Is it not supposed to be there?

@snnn
Copy link
Member

snnn commented Nov 7, 2024

Because you already installed absl from homebrew. The build just used that one.

@cyanic-selkie
Copy link
Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build build issues; typically submitted using template
Projects
None yet
Development

No branches or pull requests

2 participants