Skip to content

Commit 78ae673

Browse files
committed
Add HashDist stack for building dependencies.
1 parent 0d8f3f9 commit 78ae673

File tree

2 files changed

+39
-0
lines changed

2 files changed

+39
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
extends:
2+
- name: hashstack
3+
urls: ['https://github.com/hashdist/hashstack.git']
4+
key: 'git:445e198b35facf04521fe3d48747a0eec05ca91c'
5+
file: debian.yaml
6+
7+
parameters:
8+
debug: false
9+
10+
packages:
11+
mpi:
12+
use: host-mpi
13+
fftw:
14+
eigen:
15+
gtest:
16+
gmock:
17+
boost:
18+
toolset: gcc
19+
address_model: 64
20+
21+
package_dirs:
22+
- pkgs

tools/hashdist/pkgs/gmock.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
extends: [cmake_package]
2+
3+
sources:
4+
- key: zip:e36lwwjfw5fnl7eme2yesxp4sy2t6tkv
5+
url: https://googlemock.googlecode.com/files/gmock-1.7.0.zip
6+
7+
build_stages:
8+
- name: configure
9+
extra: ['-D BUILD_SHARED_LIBS:BOOL=ON']
10+
11+
- name: install
12+
handler: bash
13+
bash: |
14+
mkdir -p ${ARTIFACT}/include
15+
mkdir -p ${ARTIFACT}/lib
16+
cp -rv ../include/gmock ${ARTIFACT}/include/
17+
cp -v libgmock* ${ARTIFACT}/lib/

0 commit comments

Comments
 (0)