Unverified Commit 8b03a88f authored by Adam Simpson's avatar Adam Simpson Committed by GitHub
Browse files

Merge pull request #14 from robertdfrench/test-building-with-spack

Move spack package to repo; setup tests
parents 9e3f2596 b91e331a
Loading
Loading
Loading
Loading

spack-repo/README.md

0 → 100644
+16 −0
Original line number Diff line number Diff line
Spack Package Repository
========================

In order to integrate ContainerBuilder with an existing Spack installation,
we separate the ContainerBuilder package into its own "Spack Repository" which
can be dynamically added to an existing spack installation like this:


```bash
# Assumes a loaded spack environment
spack repo add spack-repo/containerbuilder
spack install container-builder
```

This repository is structured according to Spack's repository definitions. For
example, see [Spack itself](https://github.com/spack/spack/tree/develop/var/spack/repos/builtin.mock).
+1 −0
Original line number Diff line number Diff line
*.pyc
+11 −0
Original line number Diff line number Diff line
class Containerbuilder(Package):
from spack import *

class ContainerBuilder(CMakePackage):
    """ContainerBuilder Client"""

    homepage = "https://github.com/AdamSimpson/ContainerBuilder"
@@ -6,10 +8,4 @@ class Containerbuilder(Package):

    version('0.0.0')

    depends_on('boost@1.65.1+coroutine')

    def install(self, spec, prefix):
        with working_dir('build', create=True):
            cmake('..', *std_cmake_args)
            make()
            make('install')
 No newline at end of file
    depends_on('boost@1.65.1')
+2 −0
Original line number Diff line number Diff line
repo:
  namespace: 'containerbuilder'

tests/.gitignore

0 → 100644
+1 −0
Original line number Diff line number Diff line
artifacts/*
Loading