aboutsummaryrefslogtreecommitdiff
path: root/.lgtm.yml
blob: d2ee57db06e76a9d2c84a5b928f57c3968c73770 (plain) (blame)
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
30
# Copyright 2019 Axel Huebl
#
# This file is part of WarpX.
#
# License: BSD-3-Clause-LBNL

# docs:
#   https://help.semmle.com/lgtm-enterprise/user/help/lgtm.yml-configuration-file.html#example-of-complete-lgtmyml-file

extraction:
  cpp:
    prepare:
      packages:
        - cmake
        - openmpi-bin
        - libopenmpi-dev
        - libhdf5-openmpi-dev
        - libadios-openmpi-dev
    after_prepare:
      - python -m pip install --upgrade pip
      - python -m pip install --upgrade wheel
      - python -m pip install --upgrade cmake
      - export CMAKE="$HOME/.local/bin/cmake"
    configure:
      command:
        - $CMAKE -S . -B build -DWarpX_OPENPMD=ON
    index:
      build_command:
        - $CMAKE --build build -j 2