Skip to content

Support riscv64 architecture #18439

@Elara6331

Description

@Elara6331

Proposal

Allow Nomad to compile for riscv64 CPUs.

Use-cases

Use Nomad on riscv64 machines

Attempted Solutions

Nomad currently doesn't compile due to its dependency on raft-boltdb, which depends on the unmaintained boltdb to convert old databases to bbolt, and boltdb doesn't compile for riscv64 as well as several other platforms. hashicorp/raft-boltdb#37 uses build tags to disable the conversion features on unsupported platforms and return an error instead. If that's merged and nomad updates its dependency, that should fix this. I've built a Nomad binary with that change and it's been running without any issues for about 2 months.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Needs Roadmapping

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions