kopia lustrzana https://github.com/OpenDroneMap/ODM
Snap: do not add snap/local
rodzic
d8ad954702
commit
4cb5d75cfc
|
@ -187,10 +187,6 @@ parts:
|
||||||
build-snaps:
|
build-snaps:
|
||||||
- cmake
|
- cmake
|
||||||
|
|
||||||
snap-specifics:
|
|
||||||
source: snap/local
|
|
||||||
plugin: dump
|
|
||||||
|
|
||||||
plugs:
|
plugs:
|
||||||
shared-memory:
|
shared-memory:
|
||||||
private: true
|
private: true
|
||||||
|
|
|
@ -187,19 +187,9 @@ parts:
|
||||||
build-snaps:
|
build-snaps:
|
||||||
- cmake
|
- cmake
|
||||||
|
|
||||||
snap-specifics:
|
plugs:
|
||||||
source: snap/local
|
shared-memory:
|
||||||
plugin: dump
|
private: true
|
||||||
|
|
||||||
snapcraft-preload:
|
|
||||||
source: https://github.com/sergiusens/snapcraft-preload.git
|
|
||||||
plugin: cmake
|
|
||||||
cmake-parameters:
|
|
||||||
- -DCMAKE_INSTALL_PREFIX=/
|
|
||||||
build-packages:
|
|
||||||
- on amd64:
|
|
||||||
- gcc-multilib
|
|
||||||
- g++-multilib
|
|
||||||
|
|
||||||
apps:
|
apps:
|
||||||
opendronemap:
|
opendronemap:
|
||||||
|
@ -208,7 +198,8 @@ apps:
|
||||||
- bin/snapcraft-preload # Fixes multiprocessing python module
|
- bin/snapcraft-preload # Fixes multiprocessing python module
|
||||||
environment:
|
environment:
|
||||||
# Ensure libraries are found
|
# Ensure libraries are found
|
||||||
LD_LIBRARY_PATH: $SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/blas:$SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/lapack:$LD_LIBRARY_PATH
|
LD_LIBRARY_PATH: $SNAP/odm/SuperBuild/install/lib:$SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/blas:$SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/lapack
|
||||||
|
PYTHONPATH: $SNAP/odm/SuperBuild/install:$SNAP/lib/python3.8/site-packages:$SNAP/usr/lib/python3/dist-packages/:$SNAP/usr/lib/python3.8
|
||||||
plugs:
|
plugs:
|
||||||
- home
|
- home
|
||||||
- network
|
- network
|
||||||
|
|
Ładowanie…
Reference in New Issue