summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/libuv-julia/package.py
blob: d744decb2065ba4866ab62055016b96d14f47066 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Copyright 2013-2022 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.package import *


class LibuvJulia(AutotoolsPackage):
    """Multi-platform library with a focus on asynchronous IO"""
    homepage = "https://libuv.org"
    url      = "https://github.com/JuliaLang/libuv/archive/refs/heads/julia-uv2-1.44.1.tar.gz"

    # julia's libuv fork doesn't tag releases, only has release branches, so we
    # fix commits.
    version('1.44.1',
            sha256='f931e7825702cbb6d07486d92e5436990cf20f91e2b56d6f759822c0f832b13e',
            url="https://github.com/JuliaLang/libuv/archive/1b2d16477fe1142adea952168d828a066e03ee4c.tar.gz")

    @property
    def libs(self):
        return find_libraries(['libuv'], root=self.prefix, recursive=True)