mirror of
https://code.it4i.cz/sccs/easyconfigs-it4i.git
synced 2025-04-07 23:42:12 +01:00
Added LMGC90 by @tom064
This commit is contained in:
parent
b1170f9df1
commit
8e49c7355e
46
l/LMGC90/LMGC90-2017.rc1-GCC-6.3.0-2.27.eb
Normal file
46
l/LMGC90/LMGC90-2017.rc1-GCC-6.3.0-2.27.eb
Normal file
@ -0,0 +1,46 @@
|
||||
easyblock = 'CMakeMake'
|
||||
|
||||
name = 'LMGC90'
|
||||
version = '2017.rc1'
|
||||
|
||||
homepage = 'https://git-xen.lmgc.univ-montp2.fr/lmgc90/'
|
||||
description = """LMGC90 is a free and open source software dedicated to multiple physics simulation of discrete material and structures. Module created by Jiri Tomcala from the PERMON Team (http://permon.it4i.cz) and Josef Hrabal from IT4I Supercomputing Services"""
|
||||
|
||||
toolchain = {'name': 'GCC', 'version': '6.3.0-2.27'}
|
||||
|
||||
source_urls = ['https://git-xen.lmgc.univ-montp2.fr/lmgc90/lmgc90_user/repository/archive.tar.gz?ref=%(version)s&null=']
|
||||
sources = ['lmgc90_user-%(version)s-ca01a3e325153d3fd4a03e57ce13165a92648ba1.tar.gz']
|
||||
|
||||
patches = ['%(name)s-%(version)s.patch']
|
||||
|
||||
builddependencies = [('CMake', '3.8.1', '', True)]
|
||||
|
||||
dependencies = [
|
||||
('Python', '2.7.9', '', True),
|
||||
]
|
||||
|
||||
skipsteps = ['install']
|
||||
|
||||
srcdir= '%(installdir)s/lmgc90_user-%(version)s-ca01a3e325153d3fd4a03e57ce13165a92648ba1'
|
||||
|
||||
start_dir= '%(installdir)s'
|
||||
|
||||
buildininstalldir = True
|
||||
|
||||
postinstallcmds = [
|
||||
'mv %(installdir)s/lmgc90_user-%(version)s-ca01a3e325153d3fd4a03e57ce13165a92648ba1/examples %(installdir)s',
|
||||
'mv %(installdir)s/lmgc90_user-%(version)s-ca01a3e325153d3fd4a03e57ce13165a92648ba1/manuals %(installdir)s',
|
||||
'mv %(installdir)s/lmgc90_user-%(version)s-ca01a3e325153d3fd4a03e57ce13165a92648ba1/docs %(installdir)s',
|
||||
'mv %(installdir)s/lmgc90_user-%(version)s-ca01a3e325153d3fd4a03e57ce13165a92648ba1/test %(installdir)s',
|
||||
'rm -rf CMakeFiles lmgc90_user-2017.rc1-ca01a3e325153d3fd4a03e57ce13165a92648ba1',
|
||||
'rm CMakeCache.txt cmake_install.cmake CTestTestfile.cmake DartConfiguration.tcl LMGC90v2_devConfig.cmake Makefile'
|
||||
]
|
||||
|
||||
modextrapaths = {'PYTHONPATH': ''}
|
||||
|
||||
sanity_check_paths = {
|
||||
'files': [],
|
||||
'dirs': ['bin', 'modules', 'lib'],
|
||||
}
|
||||
|
||||
moduleclass = 'phys'
|
11
l/LMGC90/LMGC90-2017.rc1.patch
Normal file
11
l/LMGC90/LMGC90-2017.rc1.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- src/tools/cmake/modules/FindMatLib_FOR_LMGC.cmake.old 2017-04-24 16:28:18.877039529 +0200
|
||||
+++ src/tools/cmake/modules/FindMatLib_FOR_LMGC.cmake 2017-04-24 16:17:29.221219547 +0200
|
||||
@@ -23,7 +23,7 @@
|
||||
endif(NOT MATLIB_LIBRARY)
|
||||
|
||||
# Mettre test en fonction du compilateur
|
||||
-EXEC_PROGRAM(${CMAKE_CXX_COMPILER} ARGS "--print-libgcc-file"
|
||||
+EXEC_PROGRAM(${CMAKE_CXX_COMPILER} ARGS "--print-libgcc-file-name"
|
||||
OUTPUT_VARIABLE LIBGCC
|
||||
RETURN_VALUE LIBGCC-NOTFOUND)
|
||||
|
Loading…
x
Reference in New Issue
Block a user