File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed
src/Measurement_Observation/Measurement_Libs Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ SPHINXOPTS ?=
7
7
SPHINXBUILD ?= sphinx-build
8
8
SOURCEDIR = .
9
9
BUILDDIR = _build
10
- # SOURCE_DATE_EPOCH = $(shell git log -1 --format=%ct)
10
+ SOURCE_DATE_EPOCH = $(shell git log -1 --format=% ct)
11
11
12
12
# Put it first so that "make" without argument is like "make help".
13
13
help :
Original file line number Diff line number Diff line change @@ -31,6 +31,10 @@ pkgs.stdenv.mkDerivation {
31
31
src = ./. ;
32
32
propagatedBuildInputs = pythonInputs ++ nonPythonInputs ;
33
33
34
+ preBuild = ''
35
+ SOURCE_DATE_EPOCH="$(${ pkgs . coreutils } /bin/date '+%s')"
36
+ '' ;
37
+
34
38
buildPhase = ''
35
39
runHook preBuild
36
40
make ${ target } SPHINXOPTS="-W"
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ useful to confirm that a data structure or function has the memory performance
10
10
you anticipate it to have at *runtime *. ``Weigh `` is easy to setup and
11
11
non-invasive; requiring no changes to source code. Thus, it is a good *initial *
12
12
tool to use before trying more advanced methods with higher setup costs, such as
13
- :ref: `Cachegrind <Cachegrind >`.
13
+ :ref: `Cachegrind <Cachegrind Chapter >`.
14
14
15
15
16
16
Requirements
You can’t perform that action at this time.
0 commit comments