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

Visual Studio rebuilds jsscan.c unnecessarily

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 2.3.0
    • Affects Version/s: 2.2.0
    • Component/s: Build
    • Labels:
    • Environment:
      Windows Visual Studio build
    • Fully Compatible
    • Windows

      The Windows Visual Studio build rebuilds src/third_party/js-1.7/jsscan.c on every build of mongod.exe, mongos.exe, mongo.exe or test.exe, forcing a relink each time. Linking release builds takes forever, so this is really annoying. The problem is that we are unconditionally running jskwgen.exe to create jsautokw.h before starting the mongo

      {x}

      rebuild; we do this in a Pre-build step. This pre-build step should only recreate jsautokw.h when it is out-of-date, which will be "never" after it's been built once. Some custom JScript code should be able to do this test.

            Assignee:
            tad Tad Marshall
            Reporter:
            tad Tad Marshall
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: