Skip to content

Commit

Permalink
Merge pull request #20849 from SimonPinches/20240618211941_new_pr_Tri…
Browse files Browse the repository at this point in the history
…angle16

{numlib}[GCCcore/13.2.0] Triangle v1.6
  • Loading branch information
bedroge committed Jun 24, 2024
2 parents ba6ebaa + 5941a8a commit a45e75f
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions easybuild/easyconfigs/t/Triangle/Triangle-1.6-GCCcore-13.2.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
easyblock = 'MakeCp'

name = 'Triangle'
version = '1.6'

homepage = 'https://www.cs.cmu.edu/~quake/triangle.html'
description = """Triangle generates exact Delaunay triangulations, constrained Delaunay triangulations,
conforming Delaunay triangulations, Voronoi diagrams, and high-quality triangular meshes.
The latter can be generated with no small or large angles,
and are thus suitable for finite element analysis."""

toolchain = {'name': 'GCCcore', 'version': '13.2.0'}
toolchainopts = {'pic': True}

source_urls = ['https://www.netlib.org/voronoi/']
sources = ['%(namelower)s.zip']
checksums = [
'1766327add038495fa3499e9b7cc642179229750f7201b94f8e1b7bee76f8480', # triangle.zip
'38fc1395c2392f627068b669275c30da0c25b1a6db8ed8b80d6bf05a98971568', # Triangle-1.6_makefile.patch
]

patches = ['%(name)s-%(version)s_makefile.patch']

builddependencies = [('binutils', '2.40')]

buildopts = 'triangle trilibrary'

files_to_copy = [
(['triangle', 'tricall'], 'bin'),
(['triangle.h'], 'include'),
(['libtriangle.a'], 'lib'),
]

sanity_check_paths = {
'files': ['bin/triangle', 'bin/tricall', 'include/triangle.h', 'lib/libtriangle.a'],
'dirs': []
}

sanity_check_commands = [
'triangle -h',
'tricall',
]

moduleclass = 'numlib'

0 comments on commit a45e75f

Please sign in to comment.