Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux ARM64 bindings (as with Mac ARM64, no prebuilt available) #79

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Commits on Apr 23, 2021

  1. Configuration menu
    Copy the full SHA
    a65ec59 View commit details
    Browse the repository at this point in the history
  2. Update bindings.rs

    Has to point to OS / platform-specific versions.
    tc-wolf committed Apr 23, 2021
    Configuration menu
    Copy the full SHA
    86448c3 View commit details
    Browse the repository at this point in the history
  3. Swap out i8 -> std::os::raw::c_char

    Pointer to i8 is platform-specific, this should let onnxruntime compile
    on aarch64 with the generated bindings.
    tc-wolf committed Apr 23, 2021
    Configuration menu
    Copy the full SHA
    b767d27 View commit details
    Browse the repository at this point in the history
  4. Update example to compile on aarch64

    Use c_char here as well.
    tc-wolf committed Apr 23, 2021
    Configuration menu
    Copy the full SHA
    873b247 View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2021

  1. WIP for compile from scratch

    This is WIP but want to make sure committed and pushed to branch so that
    can resume work on this later.
    tc-wolf committed Apr 27, 2021
    Configuration menu
    Copy the full SHA
    a2837f9 View commit details
    Browse the repository at this point in the history

Commits on May 12, 2021

  1. Fix merge conflicts (#2)

    * Update bindgen config to use `usize`
    
    * Update macOS bindings
    
    * Update Linux bindings
    
    * Update Windows (x86_64) bindings
    
    * Update Windows (x86) bindings
    
    * Use `usize` instead of `u64`
    
    * Use conditional function calling conventions
    
    * Re-enable CI for Windows 32bit
    
    * Fix CI matrix
    
    * Add generated bindings for Apple M1
    
    * On macOS Big Sur, homebrew installs to /opt/homebrew instead of /usr/local, adapt installation notes
    
    * Feature is 'generate-bindings', not 'bindgen'. Change error message
    
    * Add more paths to include directory, required when compilling and installing from source
    
    * Formatting
    
    * Compilation notes: environment variable was changed to 'ORT_LIB_LOCATION' (from 'ONNXRUNTIME_INSTALL_DIR')
    
    * Add entry to changelog
    
    * Add macOS aarch64 to README
    
    * Add note about LD_LIBRARY_PATH in README
    
    * Add a VSCode config to run clippy and format on save
    
    * Clippy: Allow upper case acronyms, names coming from specific ML models
    
    * Fix clippy lint: Change 'Into' impls to 'From'
    
    * Add ORT_LIB_LOCATION note in readme for 'ORT_STRATEGY=system'
    
    * Update changelog following nbigaouette#70
    
    * Update macos/aarch64 bindings following nbigaouette#70
    
    * Formatting
    
    * Upgrade 'ndarray' to 0.15 (from 0.13)
    
    * Upgrade 'ureq' to 2.1 (from 1.5)
    
    * Add changelog entries
    
    * Clippy: Box the larse ureq::Error in OrtDownloadError
    
    * Release v0.0.12
    
    * Return an Err on shape mismatch instead of panic
    
    This way we let the user of the library decide how to handle the issue.
    
    Co-authored-by: krazijames <krazijames@gmail.com>
    Co-authored-by: Nicolas Bigaouette <nbigaouette@gmail.com>
    Co-authored-by: Keith Lohnes <lohnesk@gmail.com>
    4 people authored May 12, 2021
    Configuration menu
    Copy the full SHA
    c235ccb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d1dd3a5 View commit details
    Browse the repository at this point in the history