Skip to content

Commit

Permalink
Merge branch 'develop' of github.com:easybuilders/easybuild-docs into…
Browse files Browse the repository at this point in the history
… develop
  • Loading branch information
boegel committed Oct 29, 2023
2 parents eef8d89 + a06a058 commit 157ad8a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/wrapping-dependencies.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ a particular software package by specifying the dependency only on the `<major>.
(i.e., without including the "subminor" version, which usually corresponds to a bugfix release).

One particular example where this is employed is for `Java`. Since the `2018b` generation of
the [Common toolchains][common_toolchains], we use a wrapper for `Java` (e.g., `Java/1.8`), rather than
depending on a specific version (e.g., `Java/1.8.0_181`):
the [Common toolchains][common_toolchains], we use a wrapper for `Java` (e.g., `Java/17`), rather than
depending on a specific version (e.g., `Java/17.0.6`):

``` python
# specify dependency on Java/1.8 "wrapper", rather than a specific Java version
dependencies = [('Java', '1.8', '', SYSTEM)]
# specify dependency on Java/17 "wrapper", rather than a specific Java version
dependencies = [('Java', '17', '', SYSTEM)]
```

This has a couple of advantages:
Expand Down

0 comments on commit 157ad8a

Please sign in to comment.