Skip to contentSkip to conversation

tools/power/x86/intel-speed-select: drop __DATE__ and __TIME__ macros

PATCH In review Antonio Terceiro 2 participants 2 messages Mar 12, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tools/power/x86/intel-speed-select: drop __DATE__ and __TIME__ macros

These macros introduce nondeterminism in builds, and break reproducible builds.

Cc Srinivas Pandruvada <[email protected]>
---
 tools/power/x86/intel-speed-select/isst-config.c | 1 -
 1 file changed, 1 deletion(-)
tools/power/x86/intel-speed-select/isst-config.c +0 -1
index 582feb88eca3..c50c754a656e 100644
@@ -2791,7 +2791,6 @@ static void usage(void)
 static void print_version(void)
 {
 	fprintf(outf, "Version %s\n", version_str);
-	fprintf(outf, "Build date %s time %s\n", __DATE__, __TIME__);
 	exit(0);
 }
 
Signature · 1 line
2.30.1
#1 lore raw
Quoted 3 lines · Antonio Terceiro

These macros introduce nondeterminism in builds, and break reproducible
builds.

Thanks. I will include this change in my pull request.

-Srinivas

Quoted 20 lines
Cc Srinivas Pandruvada <[email protected]>
---
 tools/power/x86/intel-speed-select/isst-config.c | 1 -
 1 file changed, 1 deletion(-)
tools/power/x86/intel-speed-select/isst-config.c +0 -1
index 582feb88eca3..c50c754a656e 100644
@@ -2791,7 +2791,6 @@ static void usage(void)
 static void print_version(void)
 {
 	fprintf(outf, "Version %s\n", version_str);
-	fprintf(outf, "Build date %s time %s\n", __DATE__, __TIME__);
 	exit(0);
 }