Skip to content
Snippets Groups Projects
Unverified Commit 66b896d2 authored by Toyohisa Kameyama's avatar Toyohisa Kameyama Committed by GitHub
Browse files

conda4aarch64:New Package. (#16617)

parent a9ee4da6
No related branches found
No related tags found
No related merge requests found
# Copyright 2013-2020 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)
from spack import *
class Conda4aarch64(Package):
"""Conda for aarch64"""
homepage = "https://anaconda.org/c4aarch64/"
url = "https://github.com/jjhelmus/conda4aarch64/releases/download/1.0.0/c4aarch64_installer-1.0.0-Linux-aarch64.sh"
conflicts('arch=x86_64:')
conflicts('arch=ppc64:')
conflicts('arch=ppc64le:')
version('1.0.0', sha256='165565dc7e7cc74c9ef8fd75d309fb7b81a6d1bc5e2eab48aafa7b836a7427af', expand=False)
def install(self, spec, prefix):
conda_script = self.stage.archive_file
bash = which('bash')
bash(conda_script, '-b', '-f', '-p', self.prefix)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment