Skip to content

Commit 9b23627

Browse files
authored
Merge pull request #31 from DARMA-tasking/30-add-ldms-workflow
#30: Create a new workflow for ldms
2 parents 2cc4f95 + e6dc556 commit 9b23627

File tree

2 files changed

+35
-0
lines changed

2 files changed

+35
-0
lines changed

ci/shared/scripts/deps/ldms.sh

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
#!/usr/bin/env bash
2+
3+
set -exo pipefail
4+
5+
if test $# -lt 1
6+
then
7+
echo "usage: ./$0 <ldms-version>"
8+
exit 1
9+
fi
10+
11+
version=$1
12+
13+
echo "${version}"
14+
15+
git clone https://github.com/ovis-hpc/ovis.git
16+
cd ovis
17+
git checkout OVIS-${version}
18+
19+
./autogen.sh
20+
sed -i '19s|^prefix=.*|prefix=/opt/ldms|' ./packaging/make-all-top.sh
21+
./packaging/make-all-top.sh
22+
23+
cd -

docker-bake.hcl

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -458,6 +458,18 @@ target "build-all" {
458458
mpich: ['4.0.2', '-j4']
459459
EOF
460460
},
461+
#LDMS
462+
{
463+
compiler = "gcc-9"
464+
distro_version = "20.04"
465+
variant = "ldms"
466+
extra_packages = "autoconf automake libtool m4 pkg-config bison flex libssl-dev python3-dev python3-distutils"
467+
deps = <<EOF
468+
cmake: ['3.28.3']
469+
mpich: ['4.0.2', '-j4']
470+
ldms: ['4.3.5'] #latest: 5.1.2
471+
EOF
472+
}
461473
]
462474
}
463475
}

0 commit comments

Comments
 (0)