Struct openblas_build::Configure[][src]

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>,
}

make option generator

Fields

no_static: boolno_shared: boolno_cblas: boolno_lapack: boolno_lapacke: booluse_thread: booluse_openmp: booldynamic_arch: boolinterface: Interfacetarget: Option<Target>

Implementations

impl Configure[src]

pub fn inspect(&self, out_dir: impl AsRef<Path>) -> Result<Deliverables, Error>[src]

Inspect existing build deliverables, and validate them.

Error

  • No build deliverables exist
  • Build deliverables are not valid
    • e.g. self.no_lapack == false, but the existing library does not contains LAPACK symbols.

pub fn build(
    self,
    openblas_root: impl AsRef<Path>,
    out_dir: impl AsRef<Path>
) -> Result<Deliverables, Error>
[src]

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 Clone for Configure[src]

impl Debug for Configure[src]

impl Default for Configure[src]

impl Eq for Configure[src]

impl Hash for Configure[src]

impl PartialEq<Configure> for Configure[src]

impl StructuralEq for Configure[src]

impl StructuralPartialEq for Configure[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.