Skip to content

emgullufsen-lii/emgullufsen-lii.github.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Guides

Installing pyre2 on Apple ARM M1 (aarch64) Machine

  1. Clone the fork of pyre2 from emgullufsen-lii/pyre2.

     git clone git@github.com:emgullufsen-lii/pyre2.git
    
  2. Change directory (cd) into pyre2

     cd pyre2
    
  3. Use homebrew to install dependencies (Cython among them), and determine the path to the installed cython binary

     brew install cmake ninja pybind11 Cython re2
     sudo find / -name cython
    

*We will use the path to cython found via 'find' below - you can double-check this is the actual cython binary by invoking it with the '--version' argument.

    <path>/cython --version
  1. Edit src/CMakeLists.txt, substituting the location of your cython executable on line 5 (this is currently set to /opt/homebrew/bin/cython)

     set(CYTHON_EXECUTABLE <your path here>)
    
  2. Run 'make install' to install

     make install
    

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages