Skip to content

Latest commit

 

History

History
99 lines (68 loc) · 2.83 KB

README.md

File metadata and controls

99 lines (68 loc) · 2.83 KB

AtomicParsley for get_iplayer

Pre-built binaries

Pre-built binaries (Intel/AMD only) are available for the latest release. Linux binaries are statically linked with glibc and thus should work on musl-based distros such as Alpine. Requires Linux kernel 3.2.0+, macos 10.10+, Windows Vista+.

Linux

Debian/Ubuntu example - adjust for other distros

    # install compilers, utilities, zlib development support
    sudo apt install build-essential make git zlib1g-dev cmake
    # download source code
    git clone -b get_iplayer https://github.com/get-iplayer/atomicparsley.git
    cd atomicparsley
    # configure
    cmake .
    # build
    cmake --build . --config Release
    # (optional) install in /usr/local/bin
    sudo cmake --install .

macOS

  • Install Homebrew

  • Xcode command-line tools are installed with Homebrew

      # install additional utilities
      brew install cmake
      # download source code
      git clone -b get_iplayer https://github.com/get-iplayer/atomicparsley.git
      cd atomicparsley
      # configure
      cmake .
      # build
      cmake --build . --config Release
      # (optional) install in /usr/local/bin
      sudo cmake --install .
    

Windows

MSYS2

  • Install MSYS2 (64-bit)

  • 32-bit: Open "MSYS2 MinGW 32-bit" command prompt from Start Menu

      # install 32-bit toolchain and utilities
      pacman -S mingw-w64-i686-gcc mingw-w64-i686-cmake
    
  • 64-bit: Open "MSYS2 MinGW 64-bit" command prompt from Start Menu

      # install 64-bit toolchain and utilities
      pacman -S mingw-w64-x86_64-gcc mingw-w64-x86_64-cmake
    
  • 32-bit and 64-bit:

      # install additional utilities
      pacman -S make git
      # retrieve source code
      git clone -b get_iplayer https://github.com/get-iplayer/atomicparsley.git
      cd atomicparsley
      # configure
      cmake . -DSTATIC_LINK=ON
      # build
      cmake --build . --config Release
      # copy AtomicParsley.exe to desired location
    

Visual Studio

  • Install Visual Studio or Build Tools for Visual Studio with C++ support

  • Install Git for Windows

  • Open "Developer Command Prompt for VS" from Start Menu

  • 32-bit and 64-bit:

      :: retrieve source code
      git clone -b get_iplayer https://github.com/get-iplayer/atomicparsley.git
      cd atomicparsley
    
  • 32-bit:

      :: configure
      cmake . -DSTATIC_LINK=ON -A Win32
    
  • 64-bit:

      :: configure
      cmake . -DSTATIC_LINK=ON -A x64
    
  • 32-bit and 64-bit:

      :: build
      cmake --build . --config Release
      :: copy AtomicParsley.exe to desired location