Skip to content

Commit f941bce

Browse files
committed
Merge release v24.03
2 parents 0b18ad3 + 2d6099f commit f941bce

File tree

1,632 files changed

+184455
-45977
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,632 files changed

+184455
-45977
lines changed

BUILDING.md

Lines changed: 27 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -157,23 +157,45 @@ parse metadata from OSL shaders.
157157
Doxygen documentation can optionally be generated by specifying the cmake flag
158158
`PXR_BUILD_DOCUMENTATION=TRUE`.
159159

160-
The additional dependencies that must be supplied for enabling documentation
160+
There are two documentation sub-components, controlled by setting
161+
`PXR_BUILD_HTML_DOCUMENTATION` and `PXR_BUILD_PYTHON_DOCUMENTATION`. See the
162+
sections below for descriptions of precisely what they control. Neither sub-
163+
component will have any effect if `PXR_BUILD_DOCUMENTATION` is not `TRUE`.
164+
165+
The additional dependencies that must be supplied for enabling documentation
161166
generation are:
162167

163168
| Dependency Name | Description |
164-
| ------------------ |--------------------------------------- |
169+
| ------------------ |--------------------------------------- |
165170
| DOXYGEN_EXECUTABLE | The location of Doxygen |
171+
172+
See [3rd Party Library and Application Versions](VERSIONS.md) for version
173+
information, including supported Doxygen versions.
174+
175+
##### HTML Documentation
176+
177+
If `PXR_BUILD_HTML_DOCUMENTATION` evaluates `TRUE` then building of the HTML
178+
documentation is enabled. This includes USD overview and general concepts, and
179+
the C++ API documentation. It defaults to `TRUE`, and so is built by default
180+
when `PXR_BUILD_DOCUMENTATION` is also enabled (but has no effect if
181+
`PXR_BUILD_DOCUMENTATION` is not set.)
182+
183+
The additional dependencies that must be supplied for enabling HTML
184+
documentation generation are:
185+
186+
| Dependency Name | Description |
187+
| ------------------ |--------------------------------------- |
166188
| DOT_EXECUTABLE | The location of Dot(from GraphViz). |
167189

168-
See [3rd Party Library and Application Versions](VERSIONS.md) for version
169-
information, including supported Doxygen and GraphViz versions.
190+
See [3rd Party Library and Application Versions](VERSIONS.md) for version
191+
information, including supported GraphViz versions.
170192

171193
##### Python Documentation
172194

173195
Python docstrings for Python entities can be generated by specifying the cmake
174196
flag `PXR_BUILD_PYTHON_DOCUMENTATION`. This process requires that Python support
175197
(`PXR_ENABLE_PYTHON_SUPPORT`) and documentation (`PXR_BUILD_DOCUMENTATION`) are
176-
enabled.
198+
enabled. It defaults to `FALSE`.
177199

178200
This process uses the scripts in the docs/python subdirectory. Relevant
179201
documentation from generated doxygen XML data is extracted and matched with

CHANGELOG.md

Lines changed: 639 additions & 0 deletions
Large diffs are not rendered by default.

CMakeLists.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,13 @@ endif()
6262

6363
if (PXR_BUILD_DOCUMENTATION)
6464
pxr_build_documentation()
65-
endif()
6665

67-
# If building python doc strings, run script
68-
# that uses doxygen build results and installed
69-
# USD python modules
70-
if (PXR_BUILD_PYTHON_DOCUMENTATION)
71-
pxr_build_python_documentation()
72-
endif()
66+
# If building python doc strings, run script
67+
# that uses doxygen build results and installed
68+
# USD python modules
69+
if (PXR_BUILD_PYTHON_DOCUMENTATION)
70+
pxr_build_python_documentation()
71+
endif()
72+
endif()
7373

7474
pxr_toplevel_epilogue()

README.md

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -111,18 +111,22 @@ You can download source code archives from [GitHub](https://www.github.com/Pixar
111111

112112
```
113113
> git clone https://github.com/PixarAnimationStudios/OpenUSD
114-
Cloning into 'USD'...
114+
Cloning into 'OpenUSD'...
115115
```
116116

117117
#### 3. Run the script
118118

119+
Run the build_usd.py script to build and install USD. Note that the build script
120+
is structured with an out-of-source build in mind -- installing a build into the
121+
directory where the repository was cloned is untested.
122+
119123
##### Linux:
120124

121125
For example, the following will download, build, and install USD's dependencies,
122-
then build and install USD into `/usr/local/USD`.
126+
then build and install USD into `/path/to/my_usd_install_dir`.
123127

124128
```
125-
> python USD/build_scripts/build_usd.py /usr/local/USD
129+
> python USD/build_scripts/build_usd.py /path/to/my_usd_install_dir
126130
```
127131

128132
##### MacOS:
@@ -131,10 +135,10 @@ In a terminal, run `xcode-select` to ensure command line developer tools are
131135
installed. Then run the script.
132136

133137
For example, the following will download, build, and install USD's dependencies,
134-
then build and install USD into `/opt/local/USD`.
138+
then build and install USD into `/path/to/my_usd_install_dir`.
135139

136140
```
137-
> python USD/build_scripts/build_usd.py /opt/local/USD
141+
> python USD/build_scripts/build_usd.py /path/to/my_usd_install_dir
138142
```
139143

140144
##### Windows:
@@ -146,10 +150,10 @@ command prompt and not the 32-bit (x86) command prompt.
146150
See https://docs.microsoft.com/en-us/cpp/build/how-to-enable-a-64-bit-visual-cpp-toolset-on-the-command-line for more details.
147151

148152
For example, the following will download, build, and install USD's dependencies,
149-
then build and install USD into `C:\USD`.
153+
then build and install USD into `C:\path\to\my_usd_install_dir`.
150154

151155
```
152-
C:\> python USD\build_scripts\build_usd.py "C:\USD"
156+
C:\> python USD\build_scripts\build_usd.py "C:\path\to\my_usd_install_dir"
153157
```
154158

155159
#### 4. Try it out

VERSIONS.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ Our test machines have the following software versions installed.
1313

1414
| Software | Linux | macOS | Windows |
1515
| ------------- | -------------------- | ---------------------------- | ------------------------------ |
16-
| OS | CentOS Linux 7 | 10.15.7 | Windows 10 |
16+
| OS | CentOS Linux 7 | 12.6.3 | Windows 10 |
1717
| C++ Compiler | gcc 9.3.1 | Apple clang 13.1.6 (Xcode 13.3) | Visual Studio 2017 15.9 |
1818
| CMake | 3.17.5 | 3.19.5 | 3.25.3 |
1919
| Python | 3.9.16 | 3.9.13 | 3.9.13 |
2020
| Boost | 1.76.0 | 1.78.0 | 1.76.0 |
2121
| Intel TBB | 2020 Update 3 | 2018 Update 1, 2020 Update 3 | 2020 Update 3 |
22-
| OpenSubdiv | 3.5.1 | 3.5.1 | 3.5.1 |
22+
| OpenSubdiv | 3.6.0 | 3.6.0 | 3.6.0 |
2323
| OpenImageIO | 2.3.21.0 | 2.3.21.0 | 2.3.21.0 |
2424
| OpenColorIO | 2.1.3 | 2.1.3 | 2.1.3 |
2525
| OSL | 1.10.9 | | |
@@ -37,5 +37,5 @@ Our test machines have the following software versions installed.
3737
| Doxygen | 1.9.6 | | |
3838
| GraphViz | 2.40.1 | | |
3939
| OpenVDB | 9.1.0 | 7.1.0, 9.1.0 | 9.1.0 |
40-
| Vulkan SDK | 1.2.135.0 | 1.2.135.0 | 1.2.135.0 |
40+
| Vulkan SDK | 1.3.243.0 | 1.3.243.0 | 1.3.243.0 |
4141
| Draco | 1.3.6 | 1.3.6 | 1.3.6 |

azure-pypi-pipeline.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ stages:
6060
Python310:
6161
PYTHON_INTERPRETER: /opt/python/cp310-cp310/bin/python
6262
PYTHON_TAG: cp310
63+
Python311:
64+
PYTHON_INTERPRETER: /opt/python/cp311-cp311/bin/python
65+
PYTHON_TAG: cp311
6366
timeoutInMinutes: 90
6467
pool:
6568
vmImage: Ubuntu-20.04
@@ -128,6 +131,9 @@ stages:
128131
Python310:
129132
PYTHON_VERSION_SPEC: 3.10
130133
PYTHON_TAG: cp310
134+
Python311:
135+
PYTHON_VERSION_SPEC: 3.11
136+
PYTHON_TAG: cp311
131137
timeoutInMinutes: 90
132138
pool:
133139
vmImage: 'windows-2019'
@@ -187,6 +193,10 @@ stages:
187193
PYTHON_VERSION_SPEC: 3.10
188194
PYTHON_INTERPRETER: python3.10
189195
PYTHON_TAG: cp310
196+
Python311:
197+
PYTHON_VERSION_SPEC: 3.11
198+
PYTHON_INTERPRETER: python3.11
199+
PYTHON_TAG: cp311
190200
timeoutInMinutes: 180
191201
pool:
192202
vmImage: 'macOS-11'
@@ -284,6 +294,10 @@ stages:
284294
PYTHON_VERSION_SPEC: 3.10
285295
IMAGE: 'Ubuntu-20.04'
286296
PYTHON_INTERPRETER: python3
297+
Linux_Python311:
298+
PYTHON_VERSION_SPEC: 3.11
299+
IMAGE: 'Ubuntu-20.04'
300+
PYTHON_INTERPRETER: python3
287301
Windows_Python36:
288302
PYTHON_VERSION_SPEC: 3.6
289303
IMAGE: 'windows-2019'
@@ -304,6 +318,10 @@ stages:
304318
PYTHON_VERSION_SPEC: 3.10
305319
IMAGE: 'windows-2019'
306320
PYTHON_INTERPRETER: python
321+
Windows_Python311:
322+
PYTHON_VERSION_SPEC: 3.11
323+
IMAGE: 'windows-2019'
324+
PYTHON_INTERPRETER: python
307325
Mac_Python36:
308326
PYTHON_VERSION_SPEC: 3.6
309327
IMAGE: 'macOS-11'
@@ -324,6 +342,10 @@ stages:
324342
PYTHON_VERSION_SPEC: 3.10
325343
IMAGE: 'macOS-11'
326344
PYTHON_INTERPRETER: python3
345+
Mac_Python311:
346+
PYTHON_VERSION_SPEC: 3.11
347+
IMAGE: 'macOS-11'
348+
PYTHON_INTERPRETER: python3
327349
timeoutInMinutes: 10
328350
pool:
329351
vmImage: '$(IMAGE)'

0 commit comments

Comments
 (0)