
* fix remaining flake8 errors * imports: sort imports everywhere in Spack We enabled import order checking in #23947, but fixing things manually drives people crazy. This used `spack style --fix --all` from #24071 to automatically sort everything in Spack so PR submitters won't have to deal with it. This should go in after #24071, as it assumes we're using `isort`, not `flake8-import-order` to order things. `isort` seems to be more flexible and allows `llnl` mports to be in their own group before `spack` ones, so this seems like a good switch.
27 lines
851 B
Python
27 lines
851 B
Python
# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
|
|
# Spack Project Developers. See the top-level COPYRIGHT file for details.
|
|
#
|
|
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
|
|
|
import platform
|
|
|
|
from spack import *
|
|
|
|
|
|
class Buddy(AutotoolsPackage):
|
|
"""A Binary Decision Diagram library."""
|
|
|
|
homepage = "https://sourceforge.net/projects/buddy/"
|
|
url = "https://sourceforge.net/projects/buddy/files/buddy/BuDDy%202.4/buddy-2.4.tar.gz"
|
|
list_url = "https://sourceforge.net/projects/buddy/files/buddy"
|
|
list_depth = 1
|
|
|
|
version('2.4', sha256='d3df80a6a669d9ae408cb46012ff17bd33d855529d20f3a7e563d0d913358836')
|
|
|
|
def configure_args(self):
|
|
if platform.machine() == 'aarch64':
|
|
config_args = [
|
|
'--build=aarch64-unknown-linux-gnu',
|
|
]
|
|
return config_args
|