File tree Expand file tree Collapse file tree 2 files changed +15
-3
lines changed Expand file tree Collapse file tree 2 files changed +15
-3
lines changed Original file line number Diff line number Diff line change 77find_path (OPAL_ORCHESTRA_INCLUDE_DIR
88 NAMES RTAPI.h
99 PATHS
10- /usr/opalrt/common/bin
10+ /usr/opalrt/common/include
11+ /usr/opalrt/exportedOrchestra/include
1112)
1213
1314find_library (OPAL_ORCHESTRA_LIBRARY
1415 NAMES OpalOrchestra
1516 PATHS
16- /usr/opalrt/common/include
17+ /usr/opalrt/common/bin
18+ /usr/opalrt/exportedOrchestra/lib
1719)
1820
1921include (FindPackageHandleStandardArgs)
Original file line number Diff line number Diff line change @@ -490,7 +490,17 @@ if ! pkg-config "libmodbus >= 3.1.0" && \
490490 popd
491491fi
492492
493- if ! find /usr/{local/,}{lib,bin} -name " libOpenDSSC.so" | grep -q . &&
493+ # Install componentorchestra
494+ if has_command dpkg && \
495+ ! dpkg --status componentorchestra 2> /dev/null && \
496+ [ " $( uname -m) " == " x86_64" ] && \
497+ should_build " componentorchestra" " for the orchestra node-type" ; then
498+ COMPONENT_ORCHESTRA_DEB_URL=" https://blob.opal-rt.com/softwares/rt-lab-archives/componentorchestra_7.6.2_amd64.deb?sp=r&st=2024-10-30T06:31:59Z&se=2034-11-30T14:31:59Z&spr=https&sv=2022-11-02&sr=b&sig=cnKY8RxZf8hv91gWLIBG6iBGSVziXkKR3%2BOYIE6MSkI%3D"
499+ curl -L -o componentorchestra.deb " ${COMPONENT_ORCHESTRA_DEB_URL} "
500+ dpkg --install componentorchestra.deb
501+ fi
502+
503+ if ! find /usr/{local/,}{lib,bin} -name " libOpenDSSC.so" 2> /dev/null | grep -q . &&
494504 should_build " opendss" " For opendss node-type" ; then
495505 git svn clone -r 4020:4020 https://svn.code.sf.net/p/electricdss/code/trunk/VersionC OpenDSS-C
496506 mkdir -p OpenDSS-C/build
You can’t perform that action at this time.
0 commit comments