-
Notifications
You must be signed in to change notification settings - Fork 46
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
Create a TribitsFindJuliaInterp.cmake #489
Comments
Hello @bkochuna! Just a few questions:
I have been getting a lot of pressure to make TriBITS smaller and more focused. When many people look at TriBITS, they get scared off. So making it bigger and adding more features needs to be carefully weighed against the perceived added size and complexity. |
Hi Ross, For now the customer is us. Futility/MPACT/VERA. The use case is we have a module/package written in Julia that we access in Futility through a C API. Happy to include this stuff in our own project, just figured it might be worthwhile to any TriBITS user as they could then pull in features in Julia like they could for Python. |
As a follow up, We can just treat Julia like a TPL very easily in this case, but I think that this sort of abuses the abstraction of what a TPL is. |
Yea, but it not that bad of an abuse of the TPL system. The MPI and Pthread TPLs are similar that they often don't provide libraries, per say. But if you consider TPLs to just be external packages (that may or may not provide libraries), then it is okay okay. Basically, the I see there is no standard CMake But it looks like people have written some:
I think Kitware is very hesitant to accept new find modules going forward unless there is a very strong case to do so. Perhaps a good middle ground is to create a TriBITS/tribits/contrib/ directory and put things like this in there to be shared with other TriBITS projects? |
Julia is similar to Python. It is a programming language that features an interpreter.
The base CMake releases typically include a FindPython, but do not include a FindJulia.cmake
This issue is about adding a feature to TriBITS to find a Julia installation in basically the same fashion as it finds a python installation/interpreter.
The propsed task would be to copy and modify
./cmake/tribits/core/package_arch/TribitsFindPythonInterp.cmake
to make a
TribitsFindJuliaInterp.cmake
.This file would define two macros
TRIBITS_FIND_JULIA
andTRIBITS_FIND_JULIA_INTERP
that would be direct analogs to the python macros.The text was updated successfully, but these errors were encountered: