What is depends BUILD_ID_SALT ? #28276

issue maflcko openend this issue on August 16, 2023
  1. maflcko commented at 6:19 am on August 16, 2023: member

    Is it unused? If not, how can it be used? If yes, can it be removed?

    References:

    0$ git grep '\<build_id\>'
    1depends/Makefile:#        they rely on the build_id variables
    2depends/Makefile:build_id:=$(shell env CC='$(build_CC)' C_STANDARD='$(C_STANDARD)' CXX='$(build_CXX)' CXX_STANDARD='$(CXX_STANDARD)' AR='$(build_AR)' RANLIB='$(build_RANLIB)' STRIP='$(build_STRIP)' SHA256SUM='$(build_SHA256SUM)' DEBUG='$(DEBUG)' LTO='$(LTO)' NO_HARDEN='$(NO_HARDEN)' ./gen_id '$(BUILD_ID_SALT)' 'GUIX_ENVIRONMENT=$(realpath $(GUIX_ENVIRONMENT))')
    

    The cache is not invalidated:

    0$ (cd depends/ && BUILD_ID_SALT=salt make boost && echo done ) 
    1done
    2$ (cd depends/ && BUILD_ID_SALT=salty make boost && echo done ) 
    3done
    
  2. maflcko added the label Build system on Aug 16, 2023
  3. maflcko added the label Questions and Help on Aug 16, 2023
  4. maflcko closed this on Aug 17, 2023

  5. bitcoin locked this on Aug 16, 2024

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-12-21 15:12 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me