-
Notifications
You must be signed in to change notification settings - Fork 686
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 #20849 from SimonPinches/20240618211941_new_pr_Tri…
…angle16 {numlib}[GCCcore/13.2.0] Triangle v1.6
- Loading branch information
Showing
1 changed file
with
44 additions
and
0 deletions.
There are no files selected for viewing
44 changes: 44 additions & 0 deletions
44
easybuild/easyconfigs/t/Triangle/Triangle-1.6-GCCcore-13.2.0.eb
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,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' |