You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Note: CMAKE_BUILD_TYPE is only used by Linux. It is ignored for Windows.
162
162
# Note: CMAKE_CONFIGURATION_TYPES is used by Windows to generate a single configuration for Release since we don't need Debug, RelWithDebugInfo, and MinSizeRel on CI. It is ignored for Linux.
docker run --rm --interactive --tty --volume $PWD:/var/app cesiumgs/cesium-omniverse:ubuntu22
252
252
```
253
253
254
254
Once inside the container, build like usual. Note that linters are turned off. It won't affect the build, it just means there won't be code formatting or linting. It will build fine with GCC.
Linux packages are built in the AlmaLinux 8 Docker container. A Red Hat Enterprise Linux 8 compatible OS is the [minimum OS required by Omniverse](https://docs.omniverse.nvidia.com/app_view/common/technical-requirements.html#suggested-minimums-by-product) and uses glibc 2.18 which is compatible with nearly all modern Linux distributions.
463
+
Linux packages are built in the Ubuntu 22 Docker container. Ubuntu 22 uses glibc 2.35 which is the minimum requirement fpr Kit 107.3 and above.
464
464
465
-
It's recommended to build AlmaLinux 8 packages in a separate clone of cesium-omniverse since the Docker container will overwrite files in the `extern/nvidia/_build` and `exts` folders.
It's recommended to build Ubuntu 22 packages in a separate clone of cesium-omniverse since the Docker container will overwrite files in the `extern/nvidia/_build` and `exts` folders.
466
469
467
470
Run the following shell script from the root cesium-omniverse directory:
468
471
469
472
```sh
470
-
./scripts/build_package_almalinux8.sh
473
+
./scripts/build_package_ubuntu22.sh
471
474
```
472
475
473
476
The resulting `.zip` file will be written to the `build-package` directory (e.g. `CesiumGS-cesium-omniverse-linux-x86_64-v0.0.0.zip`)
Copy file name to clipboardExpand all lines: docs/release-guide/README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ This is the process we follow when releasing a new version of Cesium for Omniver
4
4
5
5
1.[Release a new version of Cesium for Omniverse Samples](#releasing-a-new-version-of-cesium-for-omniverse-samples).
6
6
2. Make sure the latest commit in `main` is passing CI.
7
-
3. Download the latest build from S3. In the AWS management console (InternalServices AWS account), go to the bucket [`cesium-builds/cesium-omniverse/main`](https://s3.console.aws.amazon.com/s3/buckets/cesium-builds?region=us-east-1&prefix=cesium-omniverse/main/&showversions=false), find the appropriate date and commit hash to download the AlmaLinux and Windows zip files (e.g. `CesiumGS-cesium-omniverse-linux-x86_64-xxxxxxx.zip` and `CesiumGS-cesium-omniverse-windows-x86_64-xxxxxxx.zip`)
7
+
3. Download the latest build from S3. In the AWS management console (InternalServices AWS account), go to the bucket [`cesium-builds/cesium-omniverse/main`](https://s3.console.aws.amazon.com/s3/buckets/cesium-builds?region=us-east-1&prefix=cesium-omniverse/main/&showversions=false), find the appropriate date and commit hash to download the Ubuntu 22 and Windows zip files (e.g. `CesiumGS-cesium-omniverse-linux-x86_64-xxxxxxx.zip` and `CesiumGS-cesium-omniverse-windows-x86_64-xxxxxxx.zip`)
8
8
4. Verify that the Linux package loads in USD Composer (see instructions below).
9
9
5. Verify that the Windows package loads in USD Composer (see instructions below).
10
10
6. Update the project `VERSION` in [CMakeLists.txt](../../CMakeLists.txt).
@@ -21,7 +21,7 @@ This is the process we follow when releasing a new version of Cesium for Omniver
21
21
15. Tag the release, e.g. `git tag -a v0.0.0 -m "0.0.0 release"`.
22
22
16. Push the tag, e.g. `git push origin v0.0.0`.
23
23
17. Wait for CI to pass.
24
-
18. Download the latest build from S3. In the AWS management console (InternalServices AWS account), go to the bucket [`cesium-builds/cesium-omniverse`](https://s3.console.aws.amazon.com/s3/buckets/cesium-builds?prefix=cesium-omniverse/®ion=us-east-1), find the folder with the new tag and download the AlmaLinux and Windows zip files (e.g. `CesiumGS-cesium-omniverse-linux-x86_64-v0.0.0.zip` and `CesiumGS-cesium-omniverse-windows-x86_64-v0.0.0.zip` )
24
+
18. Download the latest build from S3. In the AWS management console (InternalServices AWS account), go to the bucket [`cesium-builds/cesium-omniverse`](https://s3.console.aws.amazon.com/s3/buckets/cesium-builds?prefix=cesium-omniverse/®ion=us-east-1), find the folder with the new tag and download the Ubuntu 22 and Windows zip files (e.g. `CesiumGS-cesium-omniverse-linux-x86_64-v0.0.0.zip` and `CesiumGS-cesium-omniverse-windows-x86_64-v0.0.0.zip` )
25
25
19. Create a new release on GitHub: https://github.com/CesiumGS/cesium-omniverse/releases/new.
26
26
* Chose the new tag.
27
27
* Copy the changelog into the description. Follow the format used in previous releases.
Copy file name to clipboardExpand all lines: docs/release-guide/push-docker-image.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
-
# Pushing the Docker Image for AlmaLinux 8 builds.
1
+
# Pushing the Docker Image for Ubuntu 22 builds.
2
2
3
-
We use a docker image for our AlmaLinux 8 builds that contains all of our build dependencies, so we don't have to build the image from scratch on each build. This document outlines how to build and push this to Docker Hub.
3
+
We use a docker image for our Ubuntu 22 builds that contains all of our build dependencies, so we don't have to build the image from scratch on each build. This document outlines how to build and push this to Docker Hub.
4
4
5
5
## Installing Docker
6
6
@@ -24,7 +24,7 @@ particular, `ssh` logins and `git` may not work anymore.
24
24
25
25
## Building the container
26
26
27
-
Confirm that you have push access to the [container repo](https://hub.docker.com/r/cesiumgs/omniverse-almalinux8-build).
27
+
Confirm that you have push access to the [container repo](https://hub.docker.com/r/cesiumgs/omniverse-ubuntu22-build).
28
28
29
29
### Log in
30
30
@@ -39,7 +39,7 @@ docker login
39
39
After making your changes to the docker file, execute:
Again, you should replace `$TAGNAME` with the current date in `YYYY-MM-DD` format. So if it's the 29th of August, 2023, you would use `2023-08-29`.
56
56
57
57
### Update CI.Dockerfile
58
58
59
-
The `docker/CI.Dockerfile` file is used as part of the AlmaLinux 8 build step in our GitHub actions. You will need to update the version of the Docker image used to the tagged version you just uploaded.
59
+
The `docker/CI.Dockerfile` file is used as part of the Ubuntu 22 build step in our GitHub actions. You will need to update the version of the Docker image used to the tagged version you just uploaded.
0 commit comments