This website works better with JavaScript.
Home
Help
Sign In
hms
/
pisdr-rpi-image
mirror of
https://github.com/luigifreitas/pisdr-image
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
14
Wiki
Activity
Browse Source
compile pybind11 from source
pull/64/head
Luigi Cruz
3 years ago
parent
8ef82d0f0b
commit
e115f2df3a
3 changed files
with
23 additions
and
2 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-1
stage4/04-pisdr-system/00-packages
+0
-1
stage4/04-pisdr-system/03-run.sh
+19
-0
stage4/04-pisdr-system/05-run.sh
+ 4
- 1
stage4/04-pisdr-system/00-packages
View File
@@ -5,4 +5,7 @@ build-essential
git
git
pkg-config
pkg-config
re2c
re2c
libssl-dev
libssl-dev
libboost-dev
python3-pytest
+ 0
- 1
stage4/04-pisdr-system/03-run.sh
View File
@@ -3,5 +3,4 @@
on_chroot << EOF
on_chroot << EOF
python3 -m pip install cmake
python3 -m pip install cmake
python3 -m pip install ninja
python3 -m pip install ninja
python3 -m pip install pybind11
EOF
EOF
+ 19
- 0
stage4/04-pisdr-system/05-run.sh
View File
@@ -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
Write
Preview
Loading…
Cancel
Save