Skip to content

Commit

Permalink
Merge pull request easybuilders#19197 from migueldiascosta/2023111116…
Browse files Browse the repository at this point in the history
…0452_new_pr_nauty286

{math}[GCC/11.3.0] nauty v2.8.6
  • Loading branch information
boegel authored Nov 12, 2023
2 parents 1a2e713 + 321ccf2 commit 032375b
Showing 1 changed file with 53 additions and 0 deletions.
53 changes: 53 additions & 0 deletions easybuild/easyconfigs/n/nauty/nauty-2.8.6-GCC-11.3.0.eb
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'

0 comments on commit 032375b

Please sign in to comment.