Fix build on riscv64 (#542)
Add riscv64 build tag for udp_linux_64.go to fix build on riscv64 Co-authored-by: Wade Simmons <wade@wades.im>
This commit is contained in:
parent
3a8f533b24
commit
0e7bc290f8
|
@ -300,6 +300,16 @@ jobs:
|
||||||
asset_name: nebula-linux-mips-softfloat.tar.gz
|
asset_name: nebula-linux-mips-softfloat.tar.gz
|
||||||
asset_content_type: application/gzip
|
asset_content_type: application/gzip
|
||||||
|
|
||||||
|
- name: Upload linux-riscv64
|
||||||
|
uses: actions/upload-release-asset@v1.0.1
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
with:
|
||||||
|
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||||
|
asset_path: ./linux-latest/nebula-linux-riscv64.tar.gz
|
||||||
|
asset_name: nebula-linux-riscv64.tar.gz
|
||||||
|
asset_content_type: application/gzip
|
||||||
|
|
||||||
- name: Upload freebsd-amd64
|
- name: Upload freebsd-amd64
|
||||||
uses: actions/upload-release-asset@v1.0.1
|
uses: actions/upload-release-asset@v1.0.1
|
||||||
env:
|
env:
|
||||||
|
|
|
@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
- SSH `print-cert` has a new `-raw` flag to get the PEM representation of a certificate. (#483)
|
- SSH `print-cert` has a new `-raw` flag to get the PEM representation of a certificate. (#483)
|
||||||
|
- New build architecture: Linux `riscv64`. (#542)
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
|
|
3
Makefile
3
Makefile
|
@ -39,7 +39,8 @@ ALL_LINUX = linux-amd64 \
|
||||||
linux-mipsle \
|
linux-mipsle \
|
||||||
linux-mips64 \
|
linux-mips64 \
|
||||||
linux-mips64le \
|
linux-mips64le \
|
||||||
linux-mips-softfloat
|
linux-mips-softfloat \
|
||||||
|
linux-riscv64
|
||||||
|
|
||||||
ALL = $(ALL_LINUX) \
|
ALL = $(ALL_LINUX) \
|
||||||
darwin-amd64 \
|
darwin-amd64 \
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// +build linux
|
// +build linux
|
||||||
// +build amd64 arm64 ppc64 ppc64le mips64 mips64le s390x
|
// +build amd64 arm64 ppc64 ppc64le mips64 mips64le s390x riscv64
|
||||||
// +build !android
|
// +build !android
|
||||||
// +build !e2e_testing
|
// +build !e2e_testing
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue