You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/easybuild-v5/enhancements.md
+26
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,7 @@
5
5
Various significant enhancements are included in EasyBuild v5.0, including:
6
6
7
7
*[`run_shell_cmd` function][run_shell_cmd]
8
+
*[Enable RPATH linking by default][rpath]
8
9
*[Enable `--trace` by default][trace]
9
10
10
11
---
@@ -13,6 +14,31 @@ Various significant enhancements are included in EasyBuild v5.0, including:
13
14
14
15
See dedicated page on the new [`run_shell_cmd` function](run_shell_cmd.md).
15
16
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):
0 commit comments