Skip to content

py-tensorboard-data-server: add Linux aarch64 support#34437

Merged
alalazo merged 1 commit intospack:developfrom
adamjstewart:packages/py-tensorboard-data-server
Dec 12, 2022
Merged

py-tensorboard-data-server: add Linux aarch64 support#34437
alalazo merged 1 commit intospack:developfrom
adamjstewart:packages/py-tensorboard-data-server

Conversation

@adamjstewart
Copy link
Copy Markdown
Member

See tensorflow/tensorboard#6101 for details.

Discovered in #34300

Copy link
Copy Markdown
Contributor

@bernhardkaindl bernhardkaindl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirming build on aarch64-linux with external rust (building rust from source takes a long time)

Notice: With external rust, when rustfmt is not installed, build fails with:

==> Error: ProcessError: Command exited with status 101:
    '/usr/bin/cargo' 'build' '--release'

1 error found in build log:
     304       Compiling tower v0.4.6
     305       Compiling hyper v0.14.2
     306       Compiling tonic-build v0.4.2
     307       Compiling tonic-reflection v0.1.0
     308       Compiling hyper-rustls v0.22.1
     309       Compiling tonic v0.4.2
  >> 310    error: failed to run custom build command for `tonic-reflection v0.1.0`
     311    
     312    Caused by:
     313      process didn't exit successfully: `spack-stage-py-tensorboard-data-server-0.6.1-jjhgcll5nroku5pzrcfbwsnvlhrsyy3y/spack-src/tensorboard
            /data/server/target/release/build/tonic-reflection-f629cb57ce97759a/build-script-build` (exit status: 1)
     314      --- stderr
     315      error running rustfmt: Os { code: 2, kind: NotFound, message: "No such file or directory" }

spacks build of internal rustrecipe always buildscargobut inspack external find rust, it doesn't not check for cargo, so I initially guessed it might be similar for rustfmt, but +rustfmtis a variant of therust` recipe.

Thus AFAICS, py-tensorboard-data-server needs +rustfmt added to it's depends_on.

As this is a different issue, I don't want to delay merging this.

@alalazo alalazo merged commit 7d72aeb into spack:develop Dec 12, 2022
@adamjstewart adamjstewart deleted the packages/py-tensorboard-data-server branch December 12, 2022 14:52
amd-toolchain-support pushed a commit to amd-toolchain-support/spack that referenced this pull request Feb 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants