mofem bone remodelling module
Definition at line 10 of file package.py.
◆ check()
package.MofemBoneRemodelling.check |
( |
| self | ) |
|
Searches the CMake-generated Makefile for the target ``test``
and runs it if found.
Definition at line 77 of file package.py.
77 def check(self):
78 """Searches the CMake-generated Makefile for the target ``test``
79 and runs it if found.
80 """
81 with working_dir(self.build_directory):
82 ctest('--output-on-failure', parallel=False)
◆ cmake_args()
package.MofemBoneRemodelling.cmake_args |
( |
| self | ) |
|
Definition at line 46 of file package.py.
46 def cmake_args(self):
47 spec = self.spec
48 source = self.stage.source_path
49
50 options = []
51
52
53 options.extend([
54 '-DWITH_SPACK=YES',
55 '-DWITH_METAIO=1',
56 '-DMPI_RUN_FLAGS=--allow-run-as-root',
57 '-DEXTERNAL_MODULE_SOURCE_DIRS=%s' % source])
58
59
60
61 options.append('-DMOFEM_UM_BUILD_TESTS={0}'.format(
62 'ON' if self.run_tests else 'OFF'))
63
64 return options
65
◆ copy_source_code()
package.MofemBoneRemodelling.copy_source_code |
( |
| self | ) |
|
Definition at line 72 of file package.py.
72 def copy_source_code(self):
73 source = self.stage.source_path
74 prefix = self.prefix
75 install_tree(source, prefix.ext_users_modules.bone_remodelling_module)
76
◆ root_cmakelists_dir()
package.MofemBoneRemodelling.root_cmakelists_dir |
( |
| self | ) |
|
The relative path to the directory containing CMakeLists.txt
This path is relative to the root of the extracted tarball,
not to the ``build_directory``. Defaults to the current directory.
:return: directory containing CMakeLists.txt
Definition at line 35 of file package.py.
35 def root_cmakelists_dir(self):
36 """The relative path to the directory containing CMakeLists.txt
37
38 This path is relative to the root of the extracted tarball,
39 not to the ``build_directory``. Defaults to the current directory.
40
41 :return: directory containing CMakeLists.txt
42 """
43 spec = self.spec
44 return spec['mofem-users-modules'].prefix.users_modules
45
◆ branch
package.MofemBoneRemodelling.branch |
|
static |
◆ build_directory
package.MofemBoneRemodelling.build_directory |
◆ default
package.MofemBoneRemodelling.default |
|
static |
◆ description
package.MofemBoneRemodelling.description |
|
static |
◆ git
str package.MofemBoneRemodelling.git = "https://bitbucket.org/likask/mofem_um_bone_remodelling.git" |
|
static |
◆ homepage
str package.MofemBoneRemodelling.homepage = "http://mofem.eng.gla.ac.uk" |
|
static |
◆ maintainers
list package.MofemBoneRemodelling.maintainers = ['karol41', 'likask'] |
|
static |
The documentation for this class was generated from the following file:
- users_modules/bone_remodelling/packages/mofem-bone-remodelling/package.py