Conversation
include_directories(${GKLIB_PATH}/include)
change the directory of files
Signed-off-by: Cristian Le <cristian.le@mpsd.mpg.de>
Signed-off-by: Cristian Le <cristian.le@mpsd.mpg.de>
Signed-off-by: Cristian Le <cristian.le@mpsd.mpg.de>
Signed-off-by: Cristian Le <cristian.le@mpsd.mpg.de>
e3b23da to
3379e9f
Compare
Signed-off-by: Cristian Le <cristian.le@mpsd.mpg.de>
Signed-off-by: Cristian Le <cristian.le@mpsd.mpg.de>
Signed-off-by: Cristian Le <cristian.le@mpsd.mpg.de>
Signed-off-by: Cristian Le <cristian.le@mpsd.mpg.de>
Signed-off-by: Cristian Le <cristian.le@mpsd.mpg.de>
Signed-off-by: Cristian Le <cristian.le@mpsd.mpg.de>
Signed-off-by: Cristian Le <cristian.le@mpsd.mpg.de>
3379e9f to
1ba74b3
Compare
Signed-off-by: Cristian Le <cristian.le@mpsd.mpg.de>
Signed-off-by: Cristian Le <cristian.le@mpsd.mpg.de>
augusew1
left a comment
There was a problem hiding this comment.
Thank you for doing this, I am testing this on MSVC and clang on Windows and I ran into a couple of issues. My only other request would be that a .pc file would be nice, otherwise the cmake works just fine!
| # win32/adapt.h | ||
| # ) | ||
| if (GKLIB_INSTALL) | ||
| install(FILES win32/adapt.h ${CMAKE_INSTALL_INCLUDEDIR}/win32) |
There was a problem hiding this comment.
Typo here, should be
install(FILES win32/adapt.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/win32| add_feature_info(GKLIB_OpenMP GKLIB_OpenMP "OpenMP support") | ||
| option(GKLIB_PCRE "GKlib: Enable PCRE support" OFF) | ||
| add_feature_info(GKLIB_PCRE GKLIB_PCRE "PCRE support") | ||
| cmake_dependent_option(GKLIB_GKREGEX "GKlib: Enable GKREGEX support" OFF "NOT GKLIB_PCRE" OFF) |
There was a problem hiding this comment.
Logic error here, it should be
# Need to add `-GKLIB_GKREGEX=ON`
# Second "OFF" should be "ON"
cmake_dependent_option(GKLIB_GKREGEX "GKlib: Enable GKREGEX support" OFF "NOT GKLIB_PCRE" ON)| include(FetchContent) | ||
| if (GKLIB_INSTALL) | ||
| include(CMakePackageConfigHelpers) | ||
| if (UNIX) |
There was a problem hiding this comment.
This should be unconditional, it's not an issue for this on Windows. And also, you use e.g. CMAKE_INSTALL_BINDIR unconditionally later on which expands to nothing on Windows currently.
|
I merged the development branch in master that have addressed some of those. If you have time and update the PR to reflect those changes, I'll be able to take a look at it this summer. |
|
Not sure how many of these still apply given the recent changes. |
|
I can attempt to pull in the latest and see if the changes still work. There is the related KarypisLab/METIS#79 branch that would really help out with Windows builds for METIS. |
|
I was able to rebase and I would say the vast majority of changes are still necessary. As for the content of the code, I think there are some cmake improvements that could be made. Some of it is style choice, some of it is cmake best practices. Perhaps I could work with @LecrisUT on this, if they are willing. |
|
Sure, I can give a re-review. I of course picked up a lot of design practices since this PR and there are aome minor details that I would change. The overall re-design is still there in order to make this be usable by other projects. The only issue is if the maintainer is welcoming to these, then we can start suggesting piece-wise improvements. I can make a breakdown of the main changes that I would recommend and then address them in individual PRs |
|
I think the interest is renewed, and if you rebase your fork locally and this branch, I can make some PRs toward it. Piecewise improvements are likely not going to be possible as we're effectively re-writing the build system. |
|
Looking at the changes made, I believe we can still do piecewise changes, e.g. chainging the CI, adding higher bound policy, etc. We should start over this one imo. I really urge @karypis to comment on the future plans for this project and maintenance. I would start with an issue reviewing the current state of |
This is the counterpart of KarypisLab/METIS#79