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

llvm versioned formula does not build and install lldb #170122

Closed
4 tasks done
mizvekov opened this issue Apr 26, 2024 · 4 comments
Closed
4 tasks done

llvm versioned formula does not build and install lldb #170122

mizvekov opened this issue Apr 26, 2024 · 4 comments
Labels
bug Reproducible Homebrew/homebrew-core bug outdated PR was locked due to age

Comments

@mizvekov
Copy link

brew gist-logs <formula> link OR brew config AND brew doctor output

HOMEBREW_VERSION: 4.2.19-94-gf381b2c
ORIGIN: https://github.com/Homebrew/brew
HEAD: f381b2cdf732abf28d72bcfdaf94b7fb9bc4bc32
Last commit: 11 hours ago
Core tap HEAD: 1efea3be1f662aa77ad0fc42371c695839a8eed1
Core tap last commit: 2 hours ago
Core tap JSON: 26 Apr 01:06 UTC
Core cask tap JSON: 26 Apr 01:06 UTC
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_MAKE_JOBS: 12
HOMEBREW_NO_ENV_HINTS: set
HOMEBREW_SORBET_RUNTIME: set
Homebrew Ruby: 3.1.4 => /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.1.4/bin/ruby
CPU: dodeca-core 64-bit arm_blizzard_avalanche
Clang: 15.0.0 build 1500
Git: 2.44.0 => /opt/homebrew/bin/git
Curl: 8.4.0 => /usr/bin/curl
macOS: 14.4.1-arm64
CLT: 15.3.0.0.1.1708646388
Xcode: 15.3
Rosetta 2: false

Verification

What were you trying to do (and why)?

I installed llvm@17 because vscode lldb plugin doesn't work with lldb 18.

What happened (include all command output)?

llvm@17 installation misses lldb binary and libraries.

What did you expect to happen?

llvm@17 should contain lldb.

Step-by-step reproduction instructions (by running brew commands)

brew install llvm@17
ls /opt/homebrew/Cellar/llvm@17/17.0.6/lib/
@mizvekov mizvekov added the bug Reproducible Homebrew/homebrew-core bug label Apr 26, 2024
@kuznetsss
Copy link

kuznetsss commented May 2, 2024

lldb-vscode was renamed to lldb-dap in LLVM.
PR: llvm/llvm-project#69264

@carlocab
Copy link
Member

carlocab commented May 8, 2024

The VSCode LLDB plugin should work with LLVM 18 if you configure it to use lldb-dap instead of lldb-vscode.

If that doesn't work, please report this issue to the VSCode LLDB plugin maintainers first.

@carlocab carlocab closed this as completed May 8, 2024
@mizvekov
Copy link
Author

mizvekov commented May 8, 2024

The fact lldb-18 didn't work with vscode is a bit of a background information / motivation on my part.

It's still strange this part of the formula is not built when versioned, when it did build for previous versions.

As an llvm developer and compiler engineer, it sure is interesting to be able to test and try lldb-17, just as much as we can with clang-17 and other llvm tools, in order to properly identify regressions and such.

@carlocab
Copy link
Member

carlocab commented May 8, 2024

Might've been better to lead with that.

We didn't build LLDB for llvm@17 to reduce the burden on our (limited, self-hosted) build infrastructure. And most users don't have as much need for older versions of LLDB.

But I'm happy to review a PR that returns LLDB to llvm@17's LLVM_ENABLE_PROJECTS configuration.

@github-actions github-actions bot added the outdated PR was locked due to age label Jun 7, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Reproducible Homebrew/homebrew-core bug outdated PR was locked due to age
Projects
None yet
Development

No branches or pull requests

3 participants