Struct openblas_build::Configure [−][src]
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>
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.
- e.g.
pub fn build(
self,
openblas_root: impl AsRef<Path>,
out_dir: impl AsRef<Path>
) -> Result<Deliverables, Error>
[src]
self,
openblas_root: impl AsRef<Path>,
out_dir: impl AsRef<Path>
) -> Result<Deliverables, 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 Clone for Configure
[src]
impl Debug for Configure
[src]
impl Default for Configure
[src]
impl Eq for Configure
[src]
impl Hash for Configure
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<Configure> for Configure
[src]
impl StructuralEq for Configure
[src]
impl StructuralPartialEq for Configure
[src]
Auto Trait Implementations
impl RefUnwindSafe for Configure
[src]
impl Send for Configure
[src]
impl Sync for Configure
[src]
impl Unpin for Configure
[src]
impl UnwindSafe for Configure
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,