blob: 5ad75d948cc1e9d1beaeb0e9d0b7ec08155f65b5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# 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)
from spack 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"
version('2.0.1', sha256='9164cb6044dcb6e430555721e3318d5a8f38871c2da9fd9256665746a69351e0')
def cmake_args(self):
args = ['-DBUILD_DIVSUFSORT64=ON']
return args
|