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
libpfm: use placeholder for PREFIX #52599
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lopsided98
force-pushed
the
libpfm-cross
branch
from
December 20, 2018 23:50
baa6e55
to
b22482f
Compare
Should this go in staging? LLVM depends on it. |
jtojnar
reviewed
Dec 21, 2018
lopsided98
force-pushed
the
libpfm-cross
branch
from
December 21, 2018 19:31
b22482f
to
2e5ae38
Compare
GrahamcOfBorg
added
6.topic: GNOME
GNOME desktop environment and its underlying platform
6.topic: nixos
6.topic: policy discussion
6.topic: python
6.topic: ruby
6.topic: vim
8.has: documentation
8.has: module (update)
labels
Dec 21, 2018
This is already fixed in staging: #51154 |
You could also set PREFIX there though. |
Btw. llvm cross-compilation is also fixed in staging. A solution for llvm-config is required though. |
Ok, I'll rebase this on top of staging with the PREFIX changes. |
lopsided98
force-pushed
the
libpfm-cross
branch
from
December 21, 2018 20:58
2e5ae38
to
8032edf
Compare
lopsided98
requested review from
alyssais,
basvandijk,
edolstra,
Ericson2314,
FRidh and
infinisil
as code owners
December 21, 2018 20:58
GrahamcOfBorg
added
6.topic: rust
6.topic: stdenv
Standard environment
8.has: documentation
8.has: module (update)
and removed
6.topic: erlang
6.topic: GNOME
GNOME desktop environment and its underlying platform
6.topic: golang
6.topic: haskell
6.topic: nixos
6.topic: printing
6.topic: python
6.topic: qt/kde
6.topic: ruby
6.topic: rust
6.topic: stdenv
Standard environment
8.has: documentation
8.has: module (update)
labels
Dec 21, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation for this change
Enables cross-compilation of libpfm.
Things done
libpfm has its own
ARCH
strings, which are detailed in config.mk. This PR generates the correct string from thehostPlatform
.I tested cross builds for armv6l, armv7l and aarch64 as well as a native build on x86_64.
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)