Message ID | GVXPR08MB772581C8D170F95A28C967D6D8C0A@GVXPR08MB7725.eurprd08.prod.outlook.com |
---|---|
State | Accepted |
Commit | 1a7a85137e593f5164027da7ce53219829253f65 |
Headers | show |
Series | [FFmpeg-devel] ffbuild: Add gzip -n flag to fix reproducible builds | expand |
Context | Check | Description |
---|---|---|
yinshiyou/make_loongarch64 | success | Make finished |
yinshiyou/make_fate_loongarch64 | success | Make fate finished |
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
Quoting Rob Hall (2023-09-30 01:25:39) > Without this flag, timestamps were embedded into the final > binary if CUDA was enabled. > > Signed-off-by: Rob Hall <robxnanocode@outlook.com> > --- > ffbuild/common.mak | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Thanks, will push soonish if nobody objects.
diff --git a/ffbuild/common.mak b/ffbuild/common.mak index f52473453e..ac54ac0681 100644 --- a/ffbuild/common.mak +++ b/ffbuild/common.mak @@ -130,7 +130,7 @@ $(BIN2CEXE): ffbuild/bin2c_host.o ifdef CONFIG_PTX_COMPRESSION %.ptx.gz: TAG = GZIP %.ptx.gz: %.ptx - $(M)gzip -c9 $(patsubst $(SRC_PATH)/%,$(SRC_LINK)/%,$<) >$@ + $(M)gzip -nc9 $(patsubst $(SRC_PATH)/%,$(SRC_LINK)/%,$<) >$@ %.ptx.c: %.ptx.gz $(BIN2CEXE) $(BIN2C) $(patsubst $(SRC_PATH)/%,$(SRC_LINK)/%,$<) $@ $(subst .,_,$(basename $(notdir $@)))
Without this flag, timestamps were embedded into the final binary if CUDA was enabled. Signed-off-by: Rob Hall <robxnanocode@outlook.com> --- ffbuild/common.mak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)