这是indexloc提供的服务,不要输入任何密码
Skip to content

Build error: jaxlib 0.7.0, GCC 13.2.0 #30437

@adamjstewart

Description

@adamjstewart

Description

I'm seeing the following build errors:

ERROR: /tmp/root/spack-stage/spack-stage-py-jaxlib-0.7.0-pynifaoelsg7wplni3lijorw3jtxkhsl/spack-src/jaxlib/mosaic/dialect/gpu/BUILD:80:11: Compiling jaxlib/mosaic/dialect/gpu/mosaic_gpu.cc failed: (Exit 1): cc failed: error executing CppCompile command (from target //jaxlib/mosaic/dialect/gpu:mosaic_gpu)
...
jaxlib/mosaic/dialect/gpu/mosaic_gpu.cc:536:30: error: 'cast' was not declared in this scope
  536 |   auto custom_primitive_op = cast<CustomPrimitiveOp>((*this)->getParentOp());
      |                              ^~~~
...
jaxlib/mosaic/dialect/gpu/mosaic_gpu.cc:536:52: error: expected primary-expression before '>' token
  536 |   auto custom_primitive_op = cast<CustomPrimitiveOp>((*this)->getParentOp());
      |                                                    ^

I'm guessing this has something to do with newer C++ standards not being followed. Can we get a quick patch for this?

System info (python version, jaxlib version, accelerator, etc.)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions