Michal Vasko | b7b2bec | 2021-06-03 14:55:30 +0200 | [diff] [blame] | 1 | extraction: |
2 | cpp: | ||||
3 | prepare: | ||||
4 | packages: libpcre2-dev | ||||
5 | after_prepare: | ||||
6 | - cd $LGTM_WORKSPACE | ||||
7 | - git clone -b devel https://github.com/CESNET/libyang.git | ||||
8 | - cd libyang; mkdir build; cd build | ||||
9 | - cmake -DCMAKE_INSTALL_PREFIX=$LGTM_WORKSPACE -DENABLE_BUILD_TESTS=OFF .. | ||||
10 | - make -j2 | ||||
11 | - make install | ||||
12 | configure: | ||||
13 | command: | ||||
14 | - mkdir build; cd build | ||||
15 | - cmake -DCMAKE_INCLUDE_PATH=$LGTM_WORKSPACE/include -DCMAKE_LIBRARY_PATH=$LGTM_WORKSPACE/lib .. | ||||
16 | index: | ||||
17 | build_command: | ||||
18 | - cd build | ||||
19 | - make -j2 |