Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-49036

the compile_commands.json produced by ninja is incomplete.

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.4.1, 4.7.0
    • Affects Version/s: None
    • Component/s: Build
    • None
    • Fully Compatible
    • ALL
    • v4.4
    • Dev Platform 2020-07-13

      The compile_commands.json produced by scons is complete.

      For example, this is not enough information to compile this target:

        {
          "directory": "/home/gabriel/git/mongo/master",
          "command": "PATH=/opt/mongodbtoolchain/v3/bin:/usr/local/bin:/opt/bin:/bin:/usr/bin /opt/mongodbtoolchain/v3/bin/clang @build/ninja/third_party/zstandard-1.4.4/zstd/lib/dictBuilder/zdict.dyn.o.rsp",
          "file": "src/third_party/zstandard-1.4.4/zstd/lib/dictBuilder/zdict.c",
          "output": "build/ninja/third_party/zstandard-1.4.4/zstd/lib/dictBuilder/zdict.dyn.o"
        }
      

            Assignee:
            daniel.moody@mongodb.com Daniel Moody
            Reporter:
            gabriel.russell@mongodb.com Gabriel Russell (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: