On 22/12/2016 13:26, Ed Maste wrote:
Author: emaste
Date: Thu Dec 22 18:26:21 2016
New Revision: 310425
URL: https://svnweb.freebsd.org/changeset/base/310425
Log:
mlx: avoid use of __DATE__ to make build reproducible
Reviewed by: hselasky
Differential Revision: https://reviews.freebsd.org/D8886
Hmm ...
Sadly opengrok[*] reveals many uses of __DATE__.
I am wondering if there is some way to have it replaced with the SVN
Date keyword.
Pedro.
*
http://src.illumos.org/source/search?q=__DATE__&defs=&refs=&path=&hist=&project=freebsd-head
Modified:
head/sys/dev/mlx4/mlx4_core/mlx4.h
head/sys/dev/mlx4/mlx4_ib/mlx4_ib_main.c
Modified: head/sys/dev/mlx4/mlx4_core/mlx4.h
==============================================================================
--- head/sys/dev/mlx4/mlx4_core/mlx4.h Thu Dec 22 18:05:22 2016
(r310424)
+++ head/sys/dev/mlx4/mlx4_core/mlx4.h Thu Dec 22 18:26:21 2016
(r310425)
@@ -52,7 +52,7 @@
#define DRV_NAME "mlx4_core"
#define PFX DRV_NAME ": "
#define DRV_VERSION "2.1.6"
-#define DRV_RELDATE __DATE__
+#define DRV_RELDATE "Sep 30 2016"
#define DRV_STACK_NAME "Linux-MLNX_OFED"
#define DRV_STACK_VERSION "2.1"
Modified: head/sys/dev/mlx4/mlx4_ib/mlx4_ib_main.c
==============================================================================
--- head/sys/dev/mlx4/mlx4_ib/mlx4_ib_main.c Thu Dec 22 18:05:22 2016
(r310424)
+++ head/sys/dev/mlx4/mlx4_ib/mlx4_ib_main.c Thu Dec 22 18:26:21 2016
(r310425)
@@ -59,7 +59,7 @@
#define DRV_NAME MLX4_IB_DRV_NAME
#define DRV_VERSION "1.0"
-#define DRV_RELDATE __DATE__
+#define DRV_RELDATE "Sep 30 2016"
#define MLX4_IB_DRIVER_PROC_DIR_NAME "driver/mlx4_ib"
#define MLX4_IB_MRS_PROC_DIR_NAME "mrs"
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"