ipp-headers-sys

Crates.ioipp-headers-sys
lib.rsipp-headers-sys
version0.4.3
sourcesrc
created_at2017-10-03 09:01:38.474419
updated_at2019-07-11 12:53:53.561564
descriptionrust-bindgen generated FFI declarations for IPP (part of ipp-sys Intel IPP bindings)
homepage
repositoryhttps://github.com/astraw/ipp-sys
max_upload_size
id34241
size5,165,265
Andrew Straw (astraw)

documentation

README

ipp-headers-sys - rust-bindgen generated FFI declarations for IPP

This crate is part of the ipp-sys Rust Intel IPP bindings. See ipp-sys for more information.

Regnerating the 2017 bindings:

# set IPPROOT env var on windows
"c:\Program Files (x86)\IntelSWTools\compilers_and_libraries_2017\windows\ipp\bin\ippvars.bat" intel64

# set IPPROOT env var on mac
source /opt/intel/compilers_and_libraries_2017/mac/bin/compilervars.sh -arch intel64 -platform mac

# On all platforms (use %IPPROOT% on Windows)
bindgen $IPPROOT/include/ipp.h --raw-line "pub use IppStatus::*;" --default-enum-style  "moduleconsts" --with-derive-partialeq --distrust-clang-mangling -o src/ipp_2017.rs

Regnerating the 2018 bindings:

# set IPPROOT env var on windows
"c:\Program Files (x86)\IntelSWTools\compilers_and_libraries_2018\windows\ipp\bin\ippvars.bat" intel64

# set IPPROOT env var on mac
source /opt/intel/compilers_and_libraries_2018/mac/bin/compilervars.sh -arch intel64 -platform mac

# On all platforms (use %IPPROOT% on Windows)
bindgen $IPPROOT/include/ipp.h --default-enum-style  "moduleconsts" --with-derive-partialeq --distrust-clang-mangling -o src/ipp_2018.rs

Regnerating the 2019 bindings:

# set IPPROOT env var on windows
"c:\Program Files (x86)\IntelSWTools\compilers_and_libraries_2019\windows\ipp\bin\ippvars.bat" intel64

# set IPPROOT env var on mac
source /opt/intel/compilers_and_libraries_2019/mac/bin/compilervars.sh -arch intel64 -platform mac

# On all platforms (use %IPPROOT% on Windows)
bindgen $IPPROOT/include/ipp.h --default-enum-style  "moduleconsts" --with-derive-partialeq --distrust-clang-mangling -o src/ipp_2019.rs
Commit count: 50

cargo fmt