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
It is often the case that a configuration step is needed before compiling a code with ``make``.
125
-
Currently, ReFrame does not provide specific abstractions for "configure-make"-style build systems.
126
-
However, you can achieve the same effect using the :attr:`prebuild_cmd <reframe.core.pipeline.RegressionTest.prebuild_cmd>` for performing the configuration step.
127
-
The following code snippet will configure a code with ``cmake`` before invoking ``make``:
125
+
To address this kind of projects, ReFrame aims to offer specific abstractions for "configure-make"-style build systems.
126
+
It supports `CMake-based <https://cmake.org/>`__ projects through the :class:`CMake <reframe.core.buildsystems.CMake>` build system, as well as `Autotools-based <https://www.gnu.org/software/automake/>`__ projects through the :class:`Autotools <reframe.core.buildsystems.Autotools>` build system.
127
+
128
+
For other build systems, you can achieve the same effect using the :class:`Make <reframe.core.buildsystems.Make>` build system and the :attr:`prebuild_cmd <reframe.core.pipeline.RegressionTest.prebuild_cmd>` for performing the configuration step.
129
+
The following code snippet will configure a code with ``./custom_configure`` before invoking ``make``:
Copy file name to clipboardExpand all lines: docs/tutorial.rst
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -354,7 +354,7 @@ Assuming our test supported only GCC, we could simply add the following lines in
354
354
self.build_system ='SingleSource'
355
355
self.build_system.cflags = ['-fopenmp']
356
356
357
-
The ``SingleSource`` build system that we use here supports the compilation of a single file only.
357
+
The :class:`SingleSource <reframe.core.buildsystems.SingleSource>` build system that we use here supports the compilation of a single file only.
358
358
Each build system type defines a set of variables that the user can set.
359
359
Based on the selected build system, ReFrame will generate a build script that will be used for building the code.
360
360
The generated build script can be found in `the stage or the output directory of the test <running.html#configuring-reframe-directories>`__, along with the output of the compilation.
0 commit comments