blob: bebbc0c57b19c2f3605819a1e09afd5b06844cbf (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# 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)
from spack.package import *
class Libdivsufsort(CMakePackage):
"""libdivsufsort is a software library that implements a
lightweight suffix array construction algorithm."""
homepage = "https://github.com/y-256/libdivsufsort"
url = "https://github.com/y-256/libdivsufsort/archive/2.0.1.tar.gz"
license("MIT")
version("2.0.1", sha256="9164cb6044dcb6e430555721e3318d5a8f38871c2da9fd9256665746a69351e0")
def cmake_args(self):
args = ["-DBUILD_DIVSUFSORT64=ON"]
return args
|