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

meson: add llvm-config to cross files #27415

Merged
merged 1 commit into from
Jan 18, 2025
Merged

Conversation

kencu
Copy link
Contributor

@kencu kencu commented Jan 18, 2025

when building a non-native cross arch,
meson requires most binaries used during
the build to be specified in the cross
files.

these don't have to be full path-specified,
however, and simply setting this:

llvm-config = 'llvm-config'

will satisfy meson that it's OK to use the
llvm-config binary found in the PATH.

closes: https://trac.macports.org/ticket/71852

Description

Type(s)
  • bugfix
  • enhancement
  • security fix
Tested on

macOS 15.2 24C101 arm64
Xcode 16.2 16C5032a

Verification

Have you

  • followed our Commit Message Guidelines?
  • squashed and minimized your commits?
  • checked that there aren't other open pull requests for the same change?
  • referenced existing tickets on Trac with full URL in commit message?
  • checked your Portfile with port lint?
  • tried existing tests with sudo port test?
  • tried a full install with sudo port -vst install?
  • tested basic functionality of all binary files?
  • checked that the Portfile's most important variants haven't been broken?

when building a non-native cross arch,
meson requires most binaries used during
the build to be specified in the cross
files.

these don't have to be full path-specified,
however, and simply setting this:

llvm-config = 'llvm-config'

will satisfy meson that it's OK to use the
llvm-config binary found in the PATH.

closes: https://trac.macports.org/ticket/71852
@macportsbot
Copy link

Notifying maintainers:
@reneeotten for port py-meson.
@SoapZA for port py-meson.

@macportsbot macportsbot added type: enhancement maintainer: open Affects an openmaintainer port by: member Created by a member with commit rights labels Jan 18, 2025
@reneeotten reneeotten merged commit 361b924 into macports:master Jan 18, 2025
3 checks passed
@kencu kencu deleted the mesonllvm branch January 18, 2025 20:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
by: member Created by a member with commit rights maintainer: open Affects an openmaintainer port type: enhancement
Development

Successfully merging this pull request may close these issues.

3 participants