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

the compile_commands.json produced by ninja is incomplete.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.4.1, 4.7.0
    • Component/s: Build
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.4
    • Sprint:
      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

            Assignee:
            daniel.moody Daniel Moody
            Reporter:
            gabriel.russell Gabriel Russell
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: