Skip to content

Add aix os constraint.#126

Merged
gregestren merged 1 commit intobazelbuild:mainfrom
aiuto:main
Sep 25, 2025
Merged

Add aix os constraint.#126
gregestren merged 1 commit intobazelbuild:mainfrom
aiuto:main

Conversation

@aiuto
Copy link
Copy Markdown
Contributor

@aiuto aiuto commented Sep 24, 2025

Believe it or not, I may have to build for AIX with Bazel in the foreseable future. Having this here makes it possible to upstream that case into select() clauses of legacy C code that has made its way into the BCR.

Believe it or not, I may have to build for AIX with Bazel in the foreseable future.
Having this here makes it possible to upstream that case into select() clauses
of legacy C code that has made its way into the BCR.
@aiuto
Copy link
Copy Markdown
Contributor Author

aiuto commented Sep 24, 2025

cc/ @gregestren

aiuto added a commit to DataDog/datadog-agent that referenced this pull request Sep 24, 2025
- switch from BCR to a private BUILD file.
- verify that the bzip2 1.0.8 version we see in the original repo and the two mirrors is actually the same content.
  - then use the most available.
- build shared library
- continue to build static bzip2 tool as //deps/bzip2:bzip2
- integrate options currently used by Omnibus
- preserve compile options for AIX, in case omnibus script goes away before we get there.
- add basic smoke tests culled from upstream repository.

- figure out how to install the
- have omnibus use this

Related:
- bazelbuild/platforms#126
dd-mergequeue Bot pushed a commit to DataDog/datadog-agent that referenced this pull request Sep 25, 2025
Build  bzip2 as a shared library.

- switch from BCR to a private BUILD file.
- verify that the bzip2 1.0.8 version we see in the original repo and the two mirrors is actually the same content.
  - then use the most available.
- build shared library
- continue to build static bzip2 tool as //deps/bzip2:bzip2
- integrate options currently used by Omnibus
- preserve compile options for AIX, in case omnibus script goes away before we get there.
- add basic smoke tests culled from upstream repository.

For next time:
- figure out if we actually need the symlinked .so files, and how to install them.
- have omnibus use this

Related:
- bazelbuild/platforms#126
@gregestren gregestren merged commit cdcb207 into bazelbuild:main Sep 25, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants