-
Notifications
You must be signed in to change notification settings - Fork 0
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
change build system to use Cmake #9
Conversation
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.
Looking good, a few minor tweaks. I'll see if I can fix the test in CI.
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.
Updated accorded to requested changes
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.
LGTM!
@@ -1,4 +1,4 @@ | |||
from pybmds import bmdscore, __version__ | |||
from pybmds import __version__, bmdscore |
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.
we have code enforcement to standardize how code is written so it's consistent. This error was caused because the order of the imports wasn't in abc order. To fix, I ran make format
and the formatter fixed it for me. You can google black, flake8, and isort for more info on our linters, though we're about to switch to the uber linter ruff that does all those and more.
src/code_base/bmds_helper.h
Outdated
@@ -27,7 +27,8 @@ | |||
const double BMDS_EPS = 1.0e-6; | |||
const double BMDS_MISSING = -9999.0; | |||
const double BMDS_QNORM = 1.959964; //bound for 95% confidence interval | |||
const char BMDS_VERSION[32] = "2023.03.1"; | |||
//const char BMDS_VERSION[32] = "2023.03.1"; |
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.
remove these comments?
Updated build environment to use CMake and integrated with pybind11 and pybmds. CMake builds should work for Windows, Mac, and Linux.