xref: /libCEED/julia/LibCEED.jl/docs/src/LibCEED.md (revision bf185410af015d53ed6d3b520013ce284095d550)
1# Library configuration
2
3By default, LibCEED.jl uses a "basic version" of the libCEED library that is
4bundled as a pre-built binary. In order to access more advanced features (CUDA
5support, architecture-specific compiler flags, etc.), users can use LibCEED.jl
6with a other versions of the libCEED library (e.g. compiled from source).
7
8This is achieved by by calling [`set_libceed_path!`](@ref) with the path to the
9library file. The choice of library file is stored as a per-environment
10preference. For changes to take effect, the Julia session must be restarted. The
11library currently being used by LibCEED.jl can be queried using
12[`get_libceed_path`](@ref).
13
14The version number of the currently loaded libCEED library can also be queried
15using [`ceedversion`](@ref).
16
17```@docs
18ceedversion
19isrelease
20set_libceed_path!
21use_prebuilt_libceed!
22get_libceed_path
23```
24