Skip to content

{Build} Add CMake support for OPUS build#172

Closed
SeaOtocinclus wants to merge 3 commits intofacebookresearch:mainfrom
SeaOtocinclus:export-D68632323
Closed

{Build} Add CMake support for OPUS build#172
SeaOtocinclus wants to merge 3 commits intofacebookresearch:mainfrom
SeaOtocinclus:export-D68632323

Conversation

@SeaOtocinclus
Copy link
Contributor

Summary:
Enable optional OPUS compilation

  • Add a CMake preprocessor BUILD_WITH_OPUS
  • If required:
    • Add CMake rules to fetch OPUS library
    • Enable OPUS_IS_AVAILABLE CPP
  • Update pixi run build to compile with OPUS support by default to ease CI and testing long term support of the feature

Differential Revision:
D68632323

Privacy Context Container: L1163201

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jan 24, 2025
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D68632323

Summary: Include OPUS as a pure C library since it is a C library

Differential Revision: D72646388
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D68632323

SeaOtocinclus added a commit to SeaOtocinclus/vrs that referenced this pull request Apr 8, 2025
Summary:
Pull Request resolved: facebookresearch#172

Auto-detect Opus if installed
- Configure a CMake preprocessor `BUILD_WITH_OPUS` accordingly
- If opus detected:
  - link Opus::opus to the target
  - add compilation preprocessor`OPUS_IS_AVAILABLE` CPP

Differential Revision: D68632323
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D68632323

SeaOtocinclus added a commit to SeaOtocinclus/vrs that referenced this pull request Apr 8, 2025
Summary:
Pull Request resolved: facebookresearch#172

Auto-detect Opus if installed
- Configure a CMake preprocessor `BUILD_WITH_OPUS` accordingly
- If opus detected:
  - link Opus::opus to the target
  - add compilation preprocessor`OPUS_IS_AVAILABLE` CPP

Differential Revision: D68632323
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D68632323

SeaOtocinclus added a commit to SeaOtocinclus/vrs that referenced this pull request Apr 8, 2025
Summary:
Pull Request resolved: facebookresearch#172

Auto-detect Opus if installed
- Configure a CMake preprocessor `BUILD_WITH_OPUS` accordingly
- If opus detected:
  - link Opus::opus to the target
  - add compilation preprocessor`OPUS_IS_AVAILABLE` CPP

Differential Revision: D68632323
Summary: As we are running update and install libraries later, we don't need to run upgrade.

Differential Revision: D72653490
SeaOtocinclus added a commit to SeaOtocinclus/vrs that referenced this pull request Apr 8, 2025
Summary:

Auto-detect Opus if installed
- Configure a CMake preprocessor `BUILD_WITH_OPUS` accordingly
- If opus detected:
  - link Opus::opus to the target
  - add compilation preprocessor`OPUS_IS_AVAILABLE` CPP

Differential Revision: D68632323
Summary:
Pull Request resolved: facebookresearch#172

Auto-detect Opus if installed
- Configure a CMake preprocessor `BUILD_WITH_OPUS` accordingly
- If opus detected:
  - link Opus::opus to the target
  - add compilation preprocessor`OPUS_IS_AVAILABLE` CPP

Differential Revision: D68632323
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D68632323

SeaOtocinclus added a commit to SeaOtocinclus/vrs that referenced this pull request Apr 9, 2025
Summary:
Pull Request resolved: facebookresearch#172

Auto-detect Opus if installed
- Configure a CMake preprocessor `BUILD_WITH_OPUS` accordingly
- If opus detected:
  - link Opus::opus to the target
  - add compilation preprocessor`OPUS_IS_AVAILABLE` CPP

Differential Revision:
D68632323

Privacy Context Container: L1163201
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants