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
config: replace ax_prefix_config_h.m4 #3856
Conversation
0932cb5
to
aa465ab
Compare
test:mpich/custom |
test:jenkins/ch3/tcp |
The defines here (https://github.com/pmodels/mpich/blob/master/src/mpl/configure.ac#L816) get double prefixed after this patch, and may not work as intended. I wonder if this even worked before this patch... |
I'll fix the script to detect and avoid double prefix. |
Replace AX_PREFIX_CONFIG_H with AC_CONFIG_COMMANDS and perl confdb/cmd_prefix_config_h.pl.
Added another commit to
retest: |
Looking better. I'm still seeing a few issues. I don't think this is actually a problem, but looks a little weird.
|
That was |
Actually, I am not sure what |
Here is what it did previously.
I don't have much opinion about always using upper-case. We just need to make sure to update all the places in the code that used the old style. |
Previously, |
3edc174
to
d860eeb
Compare
On second thought, it is better to conform to the convention I patched the script so it applies test:jenkins/ch3/most |
Actually, for I'll add another commit to test it out. |
test:jenkins/ch3/most |
test:mpich/quick |
ROMIO still have the test:mpich/quick --with-device=ch4:ofi --disable-romio |
@raffenet This PR is ready for your another review. |
Perhaps we should remove usage of autoconf macros for I still see some weird stuff in
and
|
I saw that
Ahh... numbers. I'll fix it. One thing for rolling our own is lack of testing, but we are getting there... |
test:jenkins/ch3/most |
test:jenkins/ch4/most |
I'm confused why these values get prefixed:
while these do not:
|
Because they are of different patterns from those generated by ref: AC_USE_SYSTEM_EXTENSIONS |
Oh, I see. What you meant was that we shouldn't touch I could modify the scripts to exempt macros start with |
* avoid double prefix * add prefix to the #undef inside comments * direct define, matches AC_CONFIG_HEADER, deviates from AX_PREFIX_CONFIG_H
AX_PREFIX_CONFIG_H adds `_mpl_` or `_opa_` to substitute keywords `inline`, `const`, and `restrict`. Now we use custom scripts, `cmd_prefix_config_h.pl`, we can easily use the keywords as they are to make the code (much) cleaner.
test:jenkins/ch3/sock |
Output from this one looks good. I'm going to merge. |
Replace AX_PREFIX_CONFIG_H with AC_CONFIG_COMMANDS and
perl confdb/cmd_prefix_config_h.pl.
Expected Performance Changes
Known Issues
Author Checklist
module: short description
and follows good practicedoc/
directory for any new code design