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 7
7
find_path (OPAL_ORCHESTRA_INCLUDE_DIR
8
8
NAMES RTAPI.h
9
9
PATHS
10
- /usr/opalrt/common/bin
10
+ /usr/opalrt/common/include
11
+ /usr/opalrt/exportedOrchestra/include
11
12
)
12
13
13
14
find_library (OPAL_ORCHESTRA_LIBRARY
14
15
NAMES OpalOrchestra
15
16
PATHS
16
- /usr/opalrt/common/include
17
+ /usr/opalrt/common/bin
18
+ /usr/opalrt/exportedOrchestra/lib
17
19
)
18
20
19
21
include (FindPackageHandleStandardArgs )
Original file line number Diff line number Diff line change @@ -490,7 +490,17 @@ if ! pkg-config "libmodbus >= 3.1.0" && \
490
490
popd
491
491
fi
492
492
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 . &&
494
504
should_build " opendss" " For opendss node-type" ; then
495
505
git svn clone -r 4020:4020 https://svn.code.sf.net/p/electricdss/code/trunk/VersionC OpenDSS-C
496
506
mkdir -p OpenDSS-C/build
You can’t perform that action at this time.
0 commit comments