arbor: Add version 0.4 (#19839)

This commit is contained in:
t-nojiri 2020-11-12 01:50:32 +09:00 committed by GitHub
parent 56df3fcbaa
commit 48093350c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,6 +13,7 @@ class Arbor(CMakePackage):
homepage = "https://github.com/arbor-sim/arbor/" homepage = "https://github.com/arbor-sim/arbor/"
url = "https://github.com/arbor-sim/arbor/archive/v0.2.tar.gz" url = "https://github.com/arbor-sim/arbor/archive/v0.2.tar.gz"
version('0.4', sha256='7d9fc6b3262954cc5dc1751215fbb9f2cdb7010e829a2be43022f90da2d8d2e3')
version('0.2', sha256='43c9181c03be5f3c9820b2b50592d7b41344f37e1200980119ad347eb7bcf4eb') version('0.2', sha256='43c9181c03be5f3c9820b2b50592d7b41344f37e1200980119ad347eb7bcf4eb')
variant('vectorize', default=False, variant('vectorize', default=False,
@ -45,6 +46,8 @@ class Arbor(CMakePackage):
# when building documentation, this could be an optional dependency # when building documentation, this could be an optional dependency
depends_on('py-sphinx', type='build') depends_on('py-sphinx', type='build')
conflicts('@:0.2', when='target=aarch64:')
def patch(self): def patch(self):
filter_file( filter_file(
r'find_library\(_unwind_library_target unwind-\${libunwind_arch}', r'find_library\(_unwind_library_target unwind-\${libunwind_arch}',