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

the compile_commands.json produced by ninja is incomplete.

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.4.1, 4.7.0
    • Build
    • None
    • Fully Compatible
    • ALL
    • v4.4
    • Dev Platform 2020-07-13

    Description

      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"
        }
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: