Skip to content
This repository has been archived by the owner on Apr 25, 2021. It is now read-only.

Commit

Permalink
Use static linking instead of dynamic
Browse files Browse the repository at this point in the history
Bug: 1689926
Change-Id: I68646e7fac03f5efcdd8876c5ebcb17da038b772
  • Loading branch information
Martin Styk committed Mar 18, 2019
1 parent 1d0563b commit e8459cb
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 4 deletions.
1 change: 1 addition & 0 deletions restraint-fetch-tarballs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@
# Hack to pull tarballs from dist-git, instead of from the internet
cd third-party
curl -fsS 'http://pkgs.devel.redhat.com/cgit/rpms/restraint/plain/sources?h=eng-rhel-6' | while read hash filename ; do curl -fsSLO http://pkgs.devel.redhat.com/repo/pkgs/restraint/$filename/$hash/$filename ; done
make
3 changes: 2 additions & 1 deletion restraint-review-checks-unittests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
: ${XDG_RUNTIME_DIR:=/run/user/$(id -u)}
unset http_proxy
set -o pipefail
flock $XDG_RUNTIME_DIR/restraint-tests-flock make check 2>&1 | tee check.out
export PKG_CONFIG_PATH=../third-party/tree/lib/pkgconfig
flock $XDG_RUNTIME_DIR/restraint-tests-flock make check STATIC=1 2>&1 | tee check.out
publishers:
- archive:
artifacts: check.out
Expand Down
3 changes: 2 additions & 1 deletion restraint-review-checks-valgrind.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
: ${XDG_RUNTIME_DIR:=/run/user/$(id -u)}
unset http_proxy
set -o pipefail
flock $XDG_RUNTIME_DIR/restraint-tests-flock make -C src valgrind 2>&1 | tee valgrind.out
export PKG_CONFIG_PATH=../third-party/tree/lib/pkgconfig
flock $XDG_RUNTIME_DIR/restraint-tests-flock make STATIC=1 -C src valgrind 2>&1 | tee valgrind.out
publishers:
- archive:
artifacts: valgrind.out
Expand Down
3 changes: 2 additions & 1 deletion restraint-unittests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
- shell: |
: ${XDG_RUNTIME_DIR:=/run/user/$(id -u)}
unset http_proxy
flock $XDG_RUNTIME_DIR/restraint-tests-flock make check
export PKG_CONFIG_PATH=../third-party/tree/lib/pkgconfig
flock $XDG_RUNTIME_DIR/restraint-tests-flock make check STATIC=1
publishers:
- report-failures
3 changes: 2 additions & 1 deletion restraint-valgrind.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
- shell: |
: ${XDG_RUNTIME_DIR:=/run/user/$(id -u)}
unset http_proxy
flock $XDG_RUNTIME_DIR/restraint-tests-flock make -C src valgrind
export PKG_CONFIG_PATH=../third-party/tree/lib/pkgconfig
flock $XDG_RUNTIME_DIR/restraint-tests-flock make STATIC=1 -C src valgrind
publishers:
- report-failures

0 comments on commit e8459cb

Please sign in to comment.