Skip to content

Make build output deterministic by remapping paths #6

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

Merged

Conversation

TheBlueMatt
Copy link
Collaborator

No description provided.

@TheBlueMatt TheBlueMatt force-pushed the 2021-03-deterministic-bins branch from 29abeb3 to 2466f10 Compare March 24, 2021 16:32
@TheBlueMatt
Copy link
Collaborator Author

I think I addressed the specific requests.

Copy link

@valentinewallace valentinewallace left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 💯

Note: getting this possibly new warning:

+ clang++ -Wall -Wno-nullability-completeness -pthread -flto -fuse-ld=lld -O2 demo.cpp target/release/libldk.a -ldl
ld.lld: warning: Linking two modules of different target triples: target/release/libldk.a(secp256k1.o at 9360636)' is 'x86_64-unknown-linux-gnu' whereas 'ld-temp.
o' is 'x86_64-pc-linux-gnu'

@TheBlueMatt TheBlueMatt force-pushed the 2021-03-deterministic-bins branch from 2466f10 to c41808a Compare March 24, 2021 18:23
@TheBlueMatt
Copy link
Collaborator Author

Note: getting this possibly new warning:

Yes, I'm pretty sure it doesn't matter given they're both x86_64-linux-gnu, its just a difference in how cc-rs manages rust's target triple into clang's target triple.

Fixed the other comments with the changes being exactly the diff suggested by Val, above.

@TheBlueMatt TheBlueMatt merged commit 4b7b5e6 into lightningdevkit:main Mar 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants