Skip to content

Commit 4b02ee1

Browse files
committed
Remove support for ~/.config makefile inclusion
1 parent 4c626fd commit 4b02ee1

4 files changed

Lines changed: 4 additions & 13 deletions

File tree

doxygen/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,7 @@ export TBB_LIB="$TBB/lib/intel64/gcc4.8"
125125

126126
- Set `Stan` local compiler flags to use the new TBB interface:
127127
```bash
128-
mkdir -p ~/.config/stan
129-
echo TBB_INTERFACE_NEW=true>> ~/.config/stan/make.local
128+
echo TBB_INTERFACE_NEW=true>> ./make/local
130129
```
131130

132131
Compilers

doxygen/contributor_help_pages/developer_doc.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -165,9 +165,7 @@ Within the Math library, the only build targets are the tests (there are no othe
165165

166166
## Makefile Variables
167167

168-
To customize how the tests are built in C++, variables can be set in a file called `make/local`. This is the preferred way of customizing the build. You can also set it more permanently by setting variables in `~/.config/stan/make.local`.
169-
170-
Note: variables in `make/local` override variables in `~/.config/stan/make/local`.
168+
To customize how the tests are built in C++, variables can be set in a file called `make/local`. This is the preferred way of customizing the build.
171169

172170
There are a lot of make variables that can be set. In general, `CXXFLAGS_*` is for C++ compiler flags, `CPPFLAGS_*` is for C preprocessor flags, `LDFLAGS_*` is for linker flags, and `LDLBIS_*` is for libraries that need to be linked in.
173171

@@ -310,7 +308,7 @@ If you want to use custom locations for the library locations, set these makefil
310308
- `GTEST`
311309
- `CPPLINT` (optional)
312310

313-
Example `~/.config/stan/make.local` file:
311+
Example `make/local` file:
314312
```
315313
BOOST = ~/boost
316314
```

make/standalone

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414

1515
MATH_MAKE ?=$(dir $(abspath $(firstword $(MAKEFILE_LIST))))
1616
MATH ?= $(realpath $(MATH_MAKE)..)/
17-
-include $(HOME)/.config/stan/make.local
1817
-include $(MATH)make/local
1918
-include $(MATH)make/compiler_flags
2019
-include $(MATH)make/libraries

makefile

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,11 @@
22
# Stan Math Library
33
# -----------------
44
#
5-
# To customize your build, set make variables in either:
6-
# ~/.config/stan/make.local
7-
# make/local
8-
# Variables in make/local is loaded after ~/.config/stan/make.local
9-
5+
# To customize your build, set make variables in the file make/local.
106

117
## 'help' is the default make target.
128
help:
139

14-
-include $(HOME)/.config/stan/make.local # user-defined variables
1510
-include make/local # user-defined variables
1611

1712
include make/compiler_flags # CXX, CXXFLAGS, LDFLAGS set by the end of this file

0 commit comments

Comments
 (0)