Ver a proveniência

compile pybind11 from source

pull/64/head
Luigi Cruz há 3 anos
ascendente
cometimento
e115f2df3a
3 ficheiros alterados com 23 adições e 2 eliminações
  1. +4
    -1
      stage4/04-pisdr-system/00-packages
  2. +0
    -1
      stage4/04-pisdr-system/03-run.sh
  3. +19
    -0
      stage4/04-pisdr-system/05-run.sh

+ 4
- 1
stage4/04-pisdr-system/00-packages Ver ficheiro

@@ -5,4 +5,7 @@ build-essential
git
pkg-config
re2c
libssl-dev
libssl-dev

libboost-dev
python3-pytest

+ 0
- 1
stage4/04-pisdr-system/03-run.sh Ver ficheiro

@@ -3,5 +3,4 @@
on_chroot << EOF
python3 -m pip install cmake
python3 -m pip install ninja
python3 -m pip install pybind11
EOF

+ 19
- 0
stage4/04-pisdr-system/05-run.sh Ver ficheiro

@@ -0,0 +1,19 @@
#!/bin/bash -e

on_chroot << EOF
mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/System"
cd "/home/${FIRST_USER_NAME}/PiSDR/System"

if [ ! -d "pybind11" ]; then
git clone --depth 1 https://github.com/pybind/pybind11.git
fi

cd pybind11
mkdir -p build
cd build
cmake -GNinja ..
ninja install
ldconfig
cd ..
rm -fr build
EOF

Carregando…
Cancelar
Guardar