Skip to content

aix: install rust#4273

Open
abmusse wants to merge 3 commits intonodejs:mainfrom
abmusse:rust-aix
Open

aix: install rust#4273
abmusse wants to merge 3 commits intonodejs:mainfrom
abmusse:rust-aix

Conversation

@abmusse
Copy link
Copy Markdown
Contributor

@abmusse abmusse commented Mar 13, 2026

Add rust, cargo, and rustfmt to the lsit of packages to install.

@abmusse abmusse requested review from richardlau and sxa March 13, 2026 21:49
@richardlau
Copy link
Copy Markdown
Member

It looks like on AIX, cargo/rustc are not installed into /opt/freeware/bin so are not on the PATH, e.g. https://ci.nodejs.org/job/node-test-commit-aix/61998/nodes=aix72-power9/console

It looks like they are in /opt/freeware/lib/RustSDK/1.88/bin. We either need to:

  • Add this path to the PATH in the Jenkins start script:
    export PATH="/opt/freeware/bin:/usr/opt/python3/bin/:$PATH"; \
  • Add the path into select-compiler.sh for AIX.
  • Export CARGO and RUSTC environment variables in select-compiler.sh for AIX with fully qualified paths to cargo/rustc.
  • Create symlinks in /opt/freeware/bin to cargo/rustc (i.e. the symlinks would be on the PATH).

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.

3 participants