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

Report build configuration in test/bench output #796

Open
sipa opened this issue Aug 10, 2020 · 3 comments
Open

Report build configuration in test/bench output #796

sipa opened this issue Aug 10, 2020 · 3 comments

Comments

@sipa
Copy link
Contributor

sipa commented Aug 10, 2020

Suggested here: #793 (comment)

This should include explicitly selected configuration options (the ones passed through through libsecp256k1-config.h), but also C-detected configuration like added in #787 (endianness) and #793 (__int128).

@elichai
Copy link
Contributor

elichai commented Aug 11, 2020

Note, if we also want to print compiler version etc there are some useful macros here: https://www.boost.org/doc/libs/1_63_0/boost/config/ (specifically BOOST_COMPILER and BOOST_PLATFORM)

@sipa
Copy link
Contributor Author

sipa commented Aug 11, 2020

@elichai Boost is C++. libsecp256k1 is C.

@elichai
Copy link
Contributor

elichai commented Aug 11, 2020

I didn't mean that we should use boost,
But we could look at the macros as references

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

No branches or pull requests

2 participants