kopia lustrzana https://github.com/OpenDroneMap/ODM
Drop snapcraft-preload from snap package
The multiprocessing python module should function correctly with the newer method of using a private shared memory for the snap (see the plug `shared-memory` with `private` set to `true`).pull/1527/head
rodzic
5ab34603a6
commit
07fcf73a88
|
@ -191,21 +191,13 @@ parts:
|
||||||
source: snap/local
|
source: snap/local
|
||||||
plugin: dump
|
plugin: dump
|
||||||
|
|
||||||
snapcraft-preload:
|
plugs:
|
||||||
source: https://github.com/sergiusens/snapcraft-preload.git
|
shared-memory:
|
||||||
plugin: cmake
|
private: true
|
||||||
cmake-parameters:
|
|
||||||
- -DCMAKE_INSTALL_PREFIX=/
|
|
||||||
build-packages:
|
|
||||||
- on amd64:
|
|
||||||
- gcc-multilib
|
|
||||||
- g++-multilib
|
|
||||||
|
|
||||||
apps:
|
apps:
|
||||||
opendronemap:
|
opendronemap:
|
||||||
command: odm/run.sh
|
command: odm/run.sh
|
||||||
command-chain:
|
|
||||||
- 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/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/blas:$SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/lapack:$LD_LIBRARY_PATH
|
||||||
|
|
Ładowanie…
Reference in New Issue