Skip to content

Latest commit

 

History

History
83 lines (39 loc) · 1.69 KB

README.md

File metadata and controls

83 lines (39 loc) · 1.69 KB

FFTW3 (double precision) as addon for LibreELEC

This project builds FFTW3 (double-precision) as addon for LibreELEC.tv.

Installation

There is no addon-repository for distribution (yet?), the addon and its requirements MUST be installed via ZIP-file transfer.

Either copy the zip-file to libreelec-host via file-transfer or use some other (USB-)storage-device.

Then install addon using menu Install from ZIP-file.

Configuration

No configuration neccessary.

Build the addon

The addon is build using LibreELEC.tv build-system, so this has to be setup first.

Clone LibreELEC.tv

git clone https://github.com/LibreELEC/LibreELEC.tv
cd LibreELEC.tv

Checkout release

git checkout 11.0.4

Make a directory to hold package and dependencies

In LibreELEC.tv repository create a subfolder for additional packages

mkdir -p packages/chipfunk
cd packages/chipfunk/

Clone addon

git clone https://github.com/chipfunk/LibreELEC.tv-addon-fftw3 fftw3

Prepare build environment

You can add environment-variables to build for a specific target-device and -platform. Now is a good time to do so.

For a Hardkernel Odroid-C2 i use

PROJECT=LibreELEC
PROJECT=Amlogic
DEVICE=AMLGX
ARCH=arm

Build a release first

This step can take a long time ...

In LibreELEC.tv repository run

make release

In the meantime get something to hydrate yourself.

Build this addon

In LibreELEC.tv repository run

scripts/create_addon fftw3

to actually build the addon.

You should end-up with a zip-file in folder

target/addons/${VERSION}/${PROJECT}/${ARCH}/fftw3/fftw3-${ADDON_VERSION}.zip