Skip to content

[LGTM] C/C++ build system undetected for Magma #256

Answered by jbj
bbarritt asked this question in Q&A
Discussion options

You must be logged in to vote

The build is failing because LGTM wasn't able to guess that lte/gateway is the interesting directory. There are two ways you can provide that information

  1. Create a .lgtm.yml file and customize the index step with something like build_command: make -C lte/gateway.
  2. Give the project a top-level Makefile that's a wrapper for lte/gateway and any other directories that should be compiled by default. Then you're also providing build information to humans and other automated build systems.

Dependencies that exist as Ubuntu packages should be installed automatically. If that fails for some reason, the .lgtm.yml allows specifying them manually.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@bbarritt
Comment options

@jbj
Comment options

jbj Feb 1, 2021
Collaborator

Answer selected by criemen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants