- Notifications
You must be signed in to change notification settings - Fork15
[ISSUE #19] Make HEALPix/MOC support optional#26
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
[ISSUE #19] Make HEALPix/MOC support optional#26
Uh oh!
There was an error while loading.Please reload this page.
Conversation
|
ceab70d
to0d272eb
Comparevitcpp commentedJul 7, 2023 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
@esabol Nice catch! You've found g_spoint3_fetch issue. Once we do not change the version number I'm ok to do it in this PR. Thank you! |
@esabol Concerning make test. It fails without your PR. I will create an issue for it. |
Makefile Outdated
REGRESS += healpix moc mocautocast | ||
endif | ||
REGRESS += epochprop |
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 not to separate epochprop into a new line. It is already included unconditionally.
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 didn't want to change the order of the tests, as I thought that might affect something. I think I saw a comment somewhere saying that "the order matters" and not to change it, but maybe that doesn't apply toREGRESS
. If it's ok to change the order of the tests, it would certainly simplify things if I could add it unconditionally above this line and I will update the PR.
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 may guess that epochprop independent on other tests. I tried to move epochprop back and forth and I haven't seen any problems with it. I got your point. It is up to you to keep PR unchanged. Furthermore, we are planning to cleanup and improve Makefile in the future. I do not see any problems with your PR at the moment.
…lify Makefile and also other minor cleanups to Makefile
esabol commentedJul 7, 2023 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
With the help of Travis CI, I got I've also added That just leaves the minimum PostgreSQL version mentioned in the |
@esabol You did great work! Give me please some time to review the changes. Thank you! |
@esabol I tested your changes. It works for me with and without USE_HEALPIX. Thank you! |
Thank you,@vitcpp ! |
Uh oh!
There was an error while loading.Please reload this page.
This PR address issue#19 and makes support for HEALPix/MOC functionality optional. It is enabled by default, but it can be disabled by including
USE_HEALPIX=0
as an argument to themake
commands. The README.pg_sphere file is updated to reflect this change (and other recent changes to the build process).Also, when upgrading my installation from 1.2.1 to 1.2.2, I was getting the error:
I've included a fix for that in this PR (the function is just
g_spoint3_fetch(internal)
). Let me know if you prefer that I submit that as a separate PR.