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: README.md
+50-31Lines changed: 50 additions & 31 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,8 +24,7 @@ The easiest way to install `aflow` is to utilize our binary releases via the dif
24
24
### Linux
25
25
26
26
#### snap
27
-
28
-
[Snap packages](https://snapcraft.io/) are a modern package format designed for Linux, developed by Canonical. They
27
+
[Snap packages](https://snapcraft.io/aflow) are a modern package format designed for Linux, developed by Canonical. They
29
28
encapsulate software and all its dependencies, making it easy to install applications without worrying about system-wide
30
29
conflicts or missing libraries. It ensures also that `aflow` is kept up to date. Snaps are secure by default, running in
31
30
isolated environments (sandboxes), and they work across various Linux distributions. The drawback is that `aflow` can
@@ -38,21 +37,20 @@ snap install aflow
38
37
#### .deb (Ubuntu & Debian)
39
38
40
39
`.deb` packages are the standard software package format for Debian-based Linux distributions. They contain precompiled
41
-
binaries. We pre-build `.deb` packages for different systems, and they can be downloaded from the [GitHub Release]() page.
40
+
binaries. We pre-build `.deb` packages for different systems, and they can be downloaded from the [GitHub Release](https://github.com/aflow-org/aflow/releases/) page.
42
41
43
42
They can either be installed by double-clicking on an Ubuntu desktop system or using `dpkg` on the commandline.
@@ -133,23 +150,23 @@ It is important that [vcpkg](https://vcpkg.io/en/) is initialized and the `VCPKG
133
150
134
151
### Building and installing aflow
135
152
First the buildsystem needs to prepare the system. Different presets are available that already cover most needed cases.
136
-
- all available presets can be listed with `cmake -S src --list-presets`
153
+
- all available presets can be listed with:`cmake -S src --list-presets`
137
154
- presets including `release` are optimized builds intended for production use, while `debug` should be used during development
138
-
- presets with `vcpkg` will build a static linked version of `aflow` that can be helpful for clustered systems, or where libraries can't be easy installed or requested by users
155
+
- presets with `vcpkg` will build a static linked version of `aflow` that can be helpful for computer clusters, or where libraries can't be easy installed or requested by users
139
156
- for all `vcpkg` presets the environment variable `VCPKG_ROOT` needs to be set
140
157
- customized presets can be added to a `CMakeUserPresets.json` (see [CMakeUserPresets.example.json](src/CMakeUserPresets.example.json) for an example)
141
158
142
159
To generate `aflow` using shared libraries follow these steps:
143
-
- create and set up the build folder with
160
+
- create and set up the build folder with:
144
161
-`cmake -S src --preset release`
145
162
- this step configures the build environment with the available tools (compilers, linkers ...)
146
163
- it will inform you if there are missing dependencies
147
-
- build the `aflow` executable in parallel with 8 threads
164
+
- build the `aflow` executable in parallel with 8 threads:
0 commit comments