forked from easybuilders/easybuild-easyconfigs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request easybuilders#19197 from migueldiascosta/2023111116…
…0452_new_pr_nauty286 {math}[GCC/11.3.0] nauty v2.8.6
- Loading branch information
Showing
1 changed file
with
53 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
easyblock = 'MakeCp' | ||
|
||
name = 'nauty' | ||
version = '2.8.6' | ||
|
||
homepage = 'https://pallini.di.uniroma1.it/' | ||
description = """nauty and Traces are programs for computing automorphism groups of graphs and | ||
digraphs. They can also produce a canonical label.""" | ||
|
||
toolchain = {'name': 'GCC', 'version': '11.3.0'} | ||
toolchainopts = {'pic': True} | ||
|
||
source_urls = ['https://pallini.di.uniroma1.it'] | ||
sources = ['nauty%s.tar.gz' % version.replace('.', '_')] | ||
checksums = ['f2ce98225ca8330f5bce35f7d707b629247e09dda15fc479dc00e726fee5e6fa'] | ||
|
||
local_executables = [ | ||
'addedgeg', 'amtog', 'assembleg', 'biplabg', 'catg', 'complg', 'converseg', 'copyg', 'countg', 'cubhamg', | ||
'deledgeg', 'delptg', 'directg', 'dreadnaut', 'dretodot', 'dretog', 'edgetransg', 'genbg', 'genbgL', 'geng', | ||
'gengL', 'genquarticg', 'genrang', 'genspecialg', 'gentourng', 'gentreeg', 'hamheuristic', 'labelg', 'linegraphg', | ||
'listg', 'multig', 'newedgeg', 'NRswitchg', 'pickg', 'planarg', 'ranlabg', 'shortg', 'showg', 'subdivideg', | ||
'twohamg', 'underlyingg', 'vcolg', 'watercluster2' | ||
] | ||
local_headers = [ | ||
'gtools.h', 'gutils.h', 'naugroup.h', 'naugstrings.h', 'naurng.h', 'nausparse.h', 'nautaux.h', 'nautinv.h', | ||
'naututil.h', 'nautycliquer.h', 'nauty.h', 'planarity.h', 'quarticirred28.h', 'schreier.h', 'traces.h' | ||
] | ||
local_libs = ['nauty%s.a' % l for l in ['', '1', 'L', 'L1', 'W', 'W1']] | ||
|
||
# Configure and enable thread-local variables | ||
prebuildopts = "./configure --enable-tls && " | ||
|
||
runtest = "checks" | ||
|
||
files_to_copy = [ | ||
(local_executables, "bin"), | ||
(local_headers, "include/%(name)s"), | ||
(local_libs, "lib"), | ||
] | ||
|
||
# prepend "lib" to library files to standarize their name | ||
postinstallcmds = ["cd %%(installdir)s/lib/ && mv %s lib%s" % (l, l) for l in local_libs] | ||
|
||
sanity_check_paths = { | ||
'files': ['bin/%s' % x for x in local_executables] + | ||
['include/%%(name)s/%s' % h for h in local_headers] + | ||
['lib/lib%s' % l for l in local_libs], | ||
'dirs': [''] | ||
} | ||
|
||
sanity_check_commands = ["dreadnaut --help"] | ||
|
||
moduleclass = 'math' |