forked from tpm2-software/tpm2-pkcs11
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.lgtm.yml
29 lines (29 loc) · 954 Bytes
/
.lgtm.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# SPDX-License-Identifier: BSD-2-Clause
extraction:
cpp:
prepare:
packages:
- autoconf-archive
- libcurl4-openssl-dev
- libjson-c-dev
- libssl-dev
- uuid-dev
- acl
after_prepare:
- cd "$LGTM_WORKSPACE"
- mkdir installdir
- git clone https://github.com/tpm2-software/tpm2-tss.git
- cd tpm2-tss
- ./bootstrap
- ./configure --prefix="$LGTM_WORKSPACE/installdir/usr" --disable-doxygen-doc
- make install
- export PKG_CONFIG_PATH="$LGTM_WORKSPACE/installdir/usr/lib/pkgconfig:$PKG_CONFIG_PATH"
- export LD_LIBRARY_PATH="$LGTM_WORKSPACE/installdir/usr/lib:$LD_LIBRARY_PATH"
- cd "$LGTM_WORKSPACE"
- git clone https://github.com/tpm2-software/tpm2-tools.git
- cd "tpm2-tools"
- ./bootstrap
- ./configure --prefix="$LGTM_WORKSPACE/installdir/usr"
- make install
- export PATH="$LGTM_WORKSPACE/installdir/usr/bin:$PATH"
- cd "$LGTM_WORKSPACE"