Skip to content
Snippets Groups Projects
Commit 2d56c517 authored by Lars Bilke's avatar Lars Bilke
Browse files

Set Ninja as CMAKE_GENERATOR.

parent 787cce97
No related branches found
No related tags found
No related merge requests found
......@@ -15,6 +15,7 @@ from hpccm.building_blocks.python import python
from hpccm.common import linux_distro
from hpccm.primitives.comment import comment
from hpccm.primitives.shell import shell
from hpccm.primitives.environment import environment
class ogs_base(bb_base):
......@@ -42,6 +43,7 @@ class ogs_base(bb_base):
apt_ppas=['ppa:git-core/ppa'],
epel=True, powertools=True)
self += shell(commands=self.__commands)
self += environment(variables={'CMAKE_GENERATOR': 'Ninja'})
def __setup(self):
self.__ospackages.extend(['git', 'git-lfs', 'ninja-build'])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment