pub struct Configure {
pub no_static: bool,
pub no_shared: bool,
pub no_cblas: bool,
pub no_lapack: bool,
pub no_lapacke: bool,
pub use_thread: bool,
pub use_openmp: bool,
pub dynamic_arch: bool,
pub interface: Interface,
pub target: Option<Target>,
pub compilers: Compilers,
}
Expand description
make option generator
Fields§
§no_static: bool
§no_cblas: bool
§no_lapack: bool
§no_lapacke: bool
§use_thread: bool
§use_openmp: bool
§dynamic_arch: bool
§interface: Interface
§target: Option<Target>
§compilers: Compilers
Implementations§
Source§impl Configure
impl Configure
Sourcepub fn build<P: AsRef<Path>>(self, openblas_root: P) -> Result<MakeConf, Error>
pub fn build<P: AsRef<Path>>(self, openblas_root: P) -> Result<MakeConf, Error>
Build OpenBLAS
Libraries are created directly under out_dir
e.g. out_dir/libopenblas.a
§Error
- Build deliverables are invalid same as [inspect].
This means that the system environment is not appropriate to execute
make
, e.g. LAPACK is required but there is no Fortran compiler.
Trait Implementations§
impl Eq for Configure
impl StructuralPartialEq for Configure
Auto Trait Implementations§
impl Freeze for Configure
impl RefUnwindSafe for Configure
impl Send for Configure
impl Sync for Configure
impl Unpin for Configure
impl UnwindSafe for Configure
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more