Go: support for aarch64 (#16083)
This commit is contained in:
parent
df2cfd26cd
commit
6cad7a585d
@ -6,6 +6,7 @@
|
|||||||
import os
|
import os
|
||||||
import llnl.util.tty as tty
|
import llnl.util.tty as tty
|
||||||
from spack import *
|
from spack import *
|
||||||
|
import platform
|
||||||
|
|
||||||
# - vanilla CentOS 7, and possibly other systems, fail a test:
|
# - vanilla CentOS 7, and possibly other systems, fail a test:
|
||||||
# TestCloneNEWUSERAndRemapRootDisableSetgroups
|
# TestCloneNEWUSERAndRemapRootDisableSetgroups
|
||||||
@ -87,7 +88,10 @@ class Go(Package):
|
|||||||
depends_on('git', type=('build', 'link', 'run'))
|
depends_on('git', type=('build', 'link', 'run'))
|
||||||
# TODO: Make non-c self-hosting compilers feasible without backflips
|
# TODO: Make non-c self-hosting compilers feasible without backflips
|
||||||
# should be a dep on external go compiler
|
# should be a dep on external go compiler
|
||||||
depends_on('go-bootstrap', type='build')
|
if platform.machine() == 'aarch64':
|
||||||
|
depends_on('gcc languages=go', type='build')
|
||||||
|
else:
|
||||||
|
depends_on('go-bootstrap', type='build')
|
||||||
|
|
||||||
# https://github.com/golang/go/issues/17545
|
# https://github.com/golang/go/issues/17545
|
||||||
patch('time_test.patch', when='@1.6.4:1.7.4')
|
patch('time_test.patch', when='@1.6.4:1.7.4')
|
||||||
|
Loading…
Reference in New Issue
Block a user