Add 68.patch for reproducible builds (boo#1084909) OBS-URL: https://build.opensuse.org/request/show/1194839 OBS-URL: https://build.opensuse.org/package/show/science/lapackpp?expand=0&rev=3
39 lines
1.2 KiB
Diff
39 lines
1.2 KiB
Diff
From 0cceb4e8358d8d4b4c25b487c79a99b12cee2b50 Mon Sep 17 00:00:00 2001
|
|
From: "Bernhard M. Wiedemann" <bwiedemann@suse.de>
|
|
Date: Tue, 2 Jul 2024 09:13:01 +0200
|
|
Subject: [PATCH] Do not record the build hostname
|
|
|
|
to make builds reproducible.
|
|
See https://reproducible-builds.org/ for why this is good.
|
|
|
|
This patch was done while working on reproducible builds for openSUSE, sponsored by the NLnet NGI0 fund.
|
|
---
|
|
CMakeLists.txt | 1 -
|
|
include/lapack/defines.h.in | 1 -
|
|
2 files changed, 2 deletions(-)
|
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index f0a76532..844d5ad9 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -757,7 +757,6 @@ if (true)
|
|
string( APPEND lapackpp_header_defines "#define ${def}\n" )
|
|
endforeach()
|
|
|
|
- cmake_host_system_information( RESULT HOSTNAME QUERY HOSTNAME )
|
|
# ctime format: Mon Nov 16 15:19:47 2020
|
|
string( TIMESTAMP datetime "%a %b %d %H:%M:%S %Y" )
|
|
|
|
diff --git a/include/lapack/defines.h.in b/include/lapack/defines.h.in
|
|
index 5d89a8f2..fddaa1b5 100644
|
|
--- a/include/lapack/defines.h.in
|
|
+++ b/include/lapack/defines.h.in
|
|
@@ -3,7 +3,6 @@
|
|
|
|
// auto-generated by: @argv@
|
|
// @CMAKE_COMMAND@ @CMAKE_VERSION@
|
|
-// host: @HOSTNAME@
|
|
//
|
|
// Definitions for:
|
|
// CXX = @CXX@
|