-
Notifications
You must be signed in to change notification settings - Fork 23
Vendor Boost.Preprocessor #1817
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
Conversation
|
It looks great! Let's just delete the cpp_bindgen stuff from here. I guess we should let cpp_bindgen rest in peace... |
Great, thanks for having a look. I'll attempt to remove all traces of cpp_bindgen in that case, unless you think it may be more complicated than it looks... |
|
cscs-ci run |
|
cscs-ci run |
|
I haven't touched the |
havogt
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I propose to fix a typo to prove that I read your README. ;)
This is great. Thanks a lot.
Co-authored-by: Hannes Vogt <hannes@havogt.de>
|
cscs-ci run |
This vendors Boost.Preprocessor from Boost 1.87.0 (https://github.com/boostorg/preprocessor/tree/boost-1.87.0, same as 1.85.0). I used a little helper script in `tools/vendor_boost_preprocessor/vendor_boost_preprocessor.py` (let me know what the best location for that would be) to help. This vendors only the headers from Boost.Preprocessor that gridtools actually uses (including transitive includes of course). Macros are renamed to `GT_PP_*` (from `BOOST_PP_*`). The vendored headers are now in `include/gridtools/preprocessor`. I'm not sure if you want to have them in some slightly less conspicuous place? Do you consider any `GT_*` macros to be part of the public API, or is that unspecified (should they be called `GT_IMPL_PP_*` instead)? There are 226 vendored headers, compared to 400 in the upstream Boost version.
This vendors Boost.Preprocessor from Boost 1.87.0 (https://github.com/boostorg/preprocessor/tree/boost-1.87.0, same as 1.85.0).
This requires #1816 (and is based on top of it).
I used a little helper script in
tools/vendor_boost_preprocessor/vendor_boost_preprocessor.py(let me know what the best location for that would be) to help. This vendors only the headers from Boost.Preprocessor that gridtools actually uses (including transitive includes of course). Macros are renamed toGT_PP_*(fromBOOST_PP_*). The vendored headers are now ininclude/gridtools/preprocessor. I'm not sure if you want to have them in some slightly less conspicuous place? Do you consider anyGT_*macros to be part of the public API, or is that unspecified (should they be calledGT_IMPL_PP_*instead)?There are 226 vendored headers, compared to 400 in the upstream Boost version.