Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 448535
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T21:40:46+00:00 2026-05-12T21:40:46+00:00

scons uses MD5 hashes rather than file mod times to determine if a dependency

  • 0

scons uses MD5 hashes rather than file mod times to determine if a dependency needs to be built.

I want this to be the default behavior. But is there any way to force it to assume a particular file is out of date (the equivalent of “touch”), besides editing the file to make it different?

edit: use case:

binary file F is used to create another file G using a tool X. For some reason file G has changed (it got corrupted, or I edited it) or tool X has changed, and I want to recreate file G and everything downstream of it.

edit: This is for occasional use only. I do not want this to happen always, only those few times when I ask for it. Also I may not know the particular file ahead of time. For this reason I do not want to modify the SConscript/SConstruct files to build a particular file. What I would like is to do this at a command prompt:

scons {something to specify file foobar.h}

and that would force scons to build all files depending on foobar.h, whereas just typing scons would do the regular build using MD5 hashes for dependency checking. I don’t mind editing the SConscript/SConstruct files ahead of time to allow this (custom Decider, I guess), if there’s a way to do so that doesn’t significantly increase the build times.

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T21:40:46+00:00Added an answer on May 12, 2026 at 9:40 pm

    Have you had a a look at the –interactive option of Scons, there you can clean and build specific targets.

    man page describing this.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In SCons, my command generators create ridiculously long command lines. I'd like to be
I recently started using scons to build several small cross-platform projects. One of these
Does anyone have any recommendations for a good, fast, make tool? SCons? KJam? Something
I use Scons from time to time, and I see it's a good tool
I have scons set up to run pdflatex nicely on my latex documents and
I am using the scons to compile 2 binaries. Compilation happens in 2 stages.
Is there an SCons function the provides the functionality of Glob, but using Regular
I'm struggling with setting my scons environment variables for visual studio 2008. Normally I
I have a C++ project builds with Scons. At first I have only the
I'm trying to use SCons to compile a program that requires a set of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.