-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
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 workingSomething isn't working