Skip to content

Commit 0e675ad

Browse files
authored
Merge pull request #1098 from slaclab/pre-release
Release Candidate v6.8.0
2 parents 96f0e16 + d66369f commit 0e675ad

File tree

23 files changed

+244
-494
lines changed

23 files changed

+244
-494
lines changed

CMakeLists.txt

Lines changed: 19 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -72,38 +72,28 @@ if ( NOT NO_PYTHON )
7272
set(BOOST_ROOT $ENV{CONDA_PREFIX})
7373
endif()
7474

75-
# libboost_python3.7 style libraries
76-
message("Looking for libboost_python${Python3_VERSION_MAJOR}${Python3_VERSION_MINOR} Mode 1")
77-
FIND_PACKAGE(Boost 1.58 QUIET COMPONENTS python${Python3_VERSION_MAJOR}${Python3_VERSION_MINOR})
78-
79-
# libboost_python3 style libraries
80-
if (NOT Boost_FOUND)
81-
message("Looking for libboost_python${Python3_VERSION_MAJOR} Mode 2")
82-
FIND_PACKAGE(Boost 1.58 QUIET COMPONENTS python${Python3_VERSION_MAJOR})
83-
endif()
84-
85-
# libboost_python style libraries
86-
if (NOT Boost_FOUND)
87-
message("Looking for libboost_python Mode 3")
88-
FIND_PACKAGE(Boost 1.58 QUIET COMPONENTS system thread python)
89-
endif()
90-
91-
# libboost_python-py37 style libraries
92-
if (NOT Boost_FOUND)
93-
message("Looking for libboost_python-py${Python3_VERSION_MAJOR}${Python3_VERSION_MINOR} Mode 4")
94-
FIND_PACKAGE(Boost 1.58 QUIET COMPONENTS python-py${Python3_VERSION_MAJOR}${Python3_VERSION_MINOR})
95-
endif()
96-
97-
# libboost_python3-py37 style libraries
98-
if (NOT Boost_FOUND)
99-
message("Looking for libboost_python3-py${Python3_VERSION_MAJOR}${Python3_VERSION_MINOR} Mode 5")
100-
FIND_PACKAGE(Boost 1.58 QUIET COMPONENTS python3-py${Python3_VERSION_MAJOR}${Python3_VERSION_MINOR})
101-
endif()
75+
# Loop through potential Boost Python component names
76+
set(BOOST_PYTHON_CANDIDATES
77+
"python${Python3_VERSION_MAJOR}${Python3_VERSION_MINOR}" # e.g. python38
78+
"python${Python3_VERSION_MAJOR}" # e.g. python3
79+
"python" # e.g. python
80+
"python-py${Python3_VERSION_MAJOR}${Python3_VERSION_MINOR}" # e.g. python-py38
81+
"python3-py${Python3_VERSION_MAJOR}${Python3_VERSION_MINOR}" # e.g. python3-py38
82+
)
83+
84+
foreach(COMPONENT_NAME ${BOOST_PYTHON_CANDIDATES})
85+
if(NOT Boost_FOUND)
86+
message(STATUS "Checking for Boost component: ${COMPONENT_NAME}")
87+
find_package(Boost QUIET COMPONENTS ${COMPONENT_NAME})
88+
else()
89+
break()
90+
endif()
91+
endforeach()
10292

10393
# Nothing worked
10494
if (NOT Boost_FOUND)
10595
message("")
106-
message(FATAL_ERROR "Failed to find boost libraries!")
96+
message(FATAL_ERROR "Failed to find boost libraries! Tried: ${BOOST_PYTHON_CANDIDATES}")
10797
endif()
10898

10999
else()
@@ -316,7 +306,7 @@ set(CONF_INCLUDE_DIRS ${CMAKE_INSTALL_INCLUDEDIR})
316306

317307
# Setup configuration file
318308
if ((${ROGUE_INSTALL} STREQUAL "system") OR (${ROGUE_INSTALL} STREQUAL "conda"))
319-
set(CONF_LIBRARIES PUBLIC rogue-core)
309+
set(CONF_LIBRARIES rogue-core)
320310
else()
321311
if (APPLE)
322312
set(CONF_LIBRARIES ${CMAKE_INSTALL_LIBDIR}/librogue-core.${ROGUE_SOVER}.dylib)

conda-recipe/meta.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ requirements:
1515
- git
1616
- cmake
1717
- make
18+
# Target CentOS 7 glibc (2.17) for maximum compatibility
19+
# OR target Rocky 8 glibc (2.28) specifically
20+
- sysroot_linux-64 2.28
1821
host:
1922
- boost
2023
- bzip2

docs/src/installing/build.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ The following packages are required to build the rogue library:
1515

1616
* cmake >= 3.15
1717
* Boost >= 1.58
18-
* python3 >= 3.7
18+
* python3 >= 3.9
1919
* bz2
2020

2121
Package Manager Install
@@ -44,6 +44,7 @@ RHEL-based systems (E.g. Rocky 9)
4444
$ sudo dnf install -y cmake
4545
$ sudo dnf install -y python3
4646
$ sudo dnf install -y boost-devel
47+
$ sudo dnf install -y boost-python3-devel
4748
$ sudo dnf install -y bzip2-devel
4849
$ sudo dnf install -y python3-pip
4950
$ sudo dnf install -y git

docs/src/installing/yocto.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ You will want to replace the file `sources/meta-user/recipes-apps/rogue/rogue.bb
3636
# rogue recipe for Yocto
3737
#
3838
39-
ROGUE_VERSION = "6.6.1"
40-
ROGUE_MD5SUM = "0c0a5d4c32ab2cf5bca46edb92d9e13e"
39+
ROGUE_VERSION = "6.7.0"
40+
ROGUE_MD5SUM = "51e6797e9f3fb61b22ad0804a471b760"
4141
4242
SUMMARY = "Recipe to build Rogue"
4343
HOMEPAGE ="https://github.com/slaclab/rogue"

docs/src/pyrogue_tree/index.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@ The PyRogue Tree implements a tree structure for the hierarchical organization o
88

99
.. toctree::
1010
:maxdepth: 1
11-
:caption: Using Nodes In The PyRogue Tree:
11+
:caption: Types Of Nodes In The PyRogue Tree:
1212

1313
node/index
14+
root/index
15+
device/index
16+
command/index
17+
variable/index
1418

docs/src/pyrogue_tree/node/command/index.rst

Lines changed: 0 additions & 49 deletions
This file was deleted.

docs/src/pyrogue_tree/node/command/local_command/index.rst

Lines changed: 0 additions & 42 deletions
This file was deleted.

docs/src/pyrogue_tree/node/command/remote_command/index.rst

Lines changed: 0 additions & 42 deletions
This file was deleted.

docs/src/pyrogue_tree/node/device/index.rst

Lines changed: 0 additions & 42 deletions
This file was deleted.

docs/src/pyrogue_tree/node/root/index.rst

Lines changed: 0 additions & 42 deletions
This file was deleted.

0 commit comments

Comments
 (0)