Skip to content

Commit f087e44

Browse files
authored
Merge pull request #241 from branfosj/develop
RPATH on by default
2 parents de5805c + f586a30 commit f087e44

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

docs/easybuild-v5/enhancements.md

+26
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
Various significant enhancements are included in EasyBuild v5.0, including:
66

77
* [`run_shell_cmd` function][run_shell_cmd]
8+
* [Enable RPATH linking by default][rpath]
89
* [Enable `--trace` by default][trace]
910

1011
---
@@ -13,6 +14,31 @@ Various significant enhancements are included in EasyBuild v5.0, including:
1314

1415
See dedicated page on the new [`run_shell_cmd` function](run_shell_cmd.md).
1516

17+
---
18+
19+
## Enable RPATH linking by default {: #rpath }
20+
21+
[RPATH linking][rpath_support] is enabled by default in EasyBuild v5.0 (see [easybuild-framework PR #4448](https://github.com/easybuilders/easybuild-framework/pull/4448)).
22+
23+
The benefits for enabling RPATH are explained in [Why RPATH?][rpath_support_why].
24+
25+
This enhancement **does not** add any filtering of environment variables. This means `$LD_LIBRARY_PATH`
26+
will continue to be appended by the environment module files EasyBuild generates,
27+
unless it is configured to filter these variables (via `--filter-env-vars`,
28+
see also [Relation to `$LD_LIBRARY_PATH`][rpath_support_LD_LIBRARY_PATH]).
29+
30+
To disable RPATH linking, either:
31+
32+
* Use the `--disable-rpath` command line option;
33+
* Set the `$EASYBUILD_DISABLE_RPATH` environment variable;
34+
* Disable RPATH linking in an EasyBuild [configuration file](../configuration.md#configuration_file):
35+
36+
``` ini
37+
[override]
38+
rpath=0
39+
```
40+
41+
1642
---
1743

1844
## Enable `--trace` by default {: #trace }

0 commit comments

Comments
 (0)