Skip to content

Commit 3df3b33

Browse files
Merge pull request #242 from delphix/dlpx/pr/sumedhbala-delphix/a48cdc0f-3d4c-483b-bfbb-2503a7b6a6b6
DLPX-82230 add delphix/fio to linux-pkg
2 parents 2a1a6c8 + 8f1219b commit 3df3b33

File tree

2 files changed

+42
-0
lines changed

2 files changed

+42
-0
lines changed

package-lists/build/main.pkgs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ delphix-rust
1414
delphix-sso-app
1515
drgn
1616
docker-python-image
17+
fio
1718
fluentd-gems
1819
gdb-python
1920
grub2

packages/fio/config.sh

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
#!/usr/bin/env bash
2+
#
3+
# Copyright 2018, 2022 Delphix
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
#
17+
# shellcheck disable=SC2034
18+
19+
DEFAULT_PACKAGE_GIT_URL="https://github.com/delphix/fio.git"
20+
21+
function prepare() {
22+
logmust install_pkgs \
23+
libaio-dev \
24+
librdmacm-dev \
25+
libibverbs-dev \
26+
librbd-dev \
27+
libgtk2.0-dev \
28+
libcairo2-dev \
29+
libnuma-dev \
30+
flex \
31+
bison \
32+
libglusterfs-dev \
33+
libpmem-dev \
34+
libpmemblk-dev
35+
}
36+
37+
function build() {
38+
logmust cd "$WORKDIR/repo/"
39+
logmust dpkg-buildpackage -b -us -uc
40+
logmust mv "$WORKDIR"/*deb "$WORKDIR/artifacts/"
41+
}

0 commit comments

Comments
 (0)