Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 79d3897f authored by hhakim's avatar hhakim
Browse files

Add a gitlab ci job to generate a package on raspberry pi.

parent 6d99d43b
No related branches found
No related tags found
No related merge requests found
Pipeline #833913 skipped
...@@ -310,6 +310,24 @@ package_linux_purepy_release: ...@@ -310,6 +310,24 @@ package_linux_purepy_release:
- linux - linux
- tux_packager - tux_packager
package_purepy_release_rasp:
variables: {MATIO_STATIC_LIB_PATH: "/opt/local/libmatio.a", Z_STATIC_LIB_PATH: "/opt/local/libz.a", HDF5_STATIC_LIB_PATH: "/opt/local/libhdf5.a"}
script:
- if [[ ! -d 'build' ]]; then mkdir build;fi; cd build
- 'cmake -DBUILD_WRAPPER_PYTHON=ON -DBUILD_WRAPPER_MATLAB=OFF -DBUILD_DOCUMENTATION=ON -DCPACK_PACKAGE_VERSION=$VERSION -DCMAKE_INSTALL_PREFIX=/opt/local/faust-$SHA_START -DBUILD_TESTING=OFF -DEXCLUDE_FAUST_LIB_INSTALL=ON -DUSE_MATIO_STATIC_LIBS=ON -DMATIO_STATIC_LIB_PATH=$MATIO_STATIC_LIB_PATH -DZ_STATIC_LIB_PATH=$Z_STATIC_LIB_PATH -DHDF5_STATIC_LIB_PATH=$HDF5_STATIC_LIB_PATH -DREMOTE_DATA_URL="$DURL" -DREMOTE_DATA_FILE="$DFILE" -DEXPERIMENTAL_PKG=$EXPERIMENTAL_PKG -DNOPY2=ON ..'
- ln -s /usr/bin/clang gcc
- export PATH=$PWD:$PATH
- make
- cd wrapper/python
- python3 setup.py bdist_wheel
artifacts:
paths:
- build/wrapper/python/dist
except:
- schedules
tags:
- arm
########### pip binary packages for windows ########### pip binary packages for windows
.package_win_purepy: &package_win_purepy .package_win_purepy: &package_win_purepy
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment