summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-intel-openmp/package.py
blob: bfb28c441ca9caaaa4b1f62f764d99fa1c328153 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Copyright 2013-2024 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 sys

from spack.package import *


class PyIntelOpenmp(PythonPackage):
    """Intel OpenMP* Runtime Library x86_64 dynamic libraries
    for macOS*. Intel OpenMP* Runtime Library provides OpenMP
    API specification support in Intel C Compiler, Intel C++
    Compiler and Intel Fortran Compiler. It helps to improve
    performance by creating multithreaded software using shared
    memory and running on multi-core processor systems."""

    homepage = "https://pypi.org/project/intel-openmp/"

    if sys.platform.startswith("linux"):
        version(
            "2021.1.2",
            url="https://pypi.io/packages/py2.py3/i/intel-openmp/intel_openmp-2021.1.2-py2.py3-none-manylinux1_x86_64.whl",
            sha256="8796797ecae99f39b27065e4a7f1f435e2ca08afba654ca57a77a2717f864dca",
            expand=False,
        )

    if sys.platform.startswith("darwin"):
        version(
            "2021.1.2",
            url="https://pypi.io/packages/py2.py3/i/intel-openmp/intel_openmp-2021.1.2-py2.py3-none-macosx_10_15_x86_64.whl",
            sha256="2af893738b4b06cb0183746f2992169111031340b59c84a0fd4dec1ed66b80f2",
            expand=False,
        )