Commit Graph

19 Commits

Author SHA1 Message Date
Robert Baldyga
1704017839
Merge pull request #417 from rafalste/configure_deps
Add libelf check to configure
2020-06-10 16:13:22 +02:00
Rafal Stefanowski
1ca1381b12 Add libelf check to configure
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2020-06-09 11:32:57 +02:00
Jan Musial
d244b2a340 Don't check TF presence in configure
Since test-framework isn't needed to compile CAS I suggest we remove the
check for it in configure.

Signed-off-by: Jan Musial <jan.musial@intel.com>
2020-06-03 09:47:10 +02:00
Rafal Stefanowski
7ffb933eee Check for submodules in ./configure
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2020-04-28 12:12:45 +02:00
Slawomir Jankowski
903486f984 Modify message in configure script
There is no generic way to check apart presence of kernel headers and kernel devel packages.
If we know system, we could use package manager, but without this knowledge,
we can't distinguish which headers in kernel headers directory belongs to which package.
Resolves #280 issue

Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
2020-01-20 08:43:40 +01:00
Michal Mielewczyk
b05491edac configure: check for requiured tools.
Configure is not only supposed to check for tools required by itself but also
for those ones needed by OCL.

Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2019-10-16 03:44:42 -04:00
Michal Rakowski
0f2ea7ade7 configure: more deseralization & cleanup
Signed-off-by: Michal Rakowski <michal.rakowski@intel.com>
2019-09-09 16:10:31 +02:00
Michal Rakowski
a904a5bf66 Return values of expected type by the block layer
Signed-off-by: Michal Rakowski <michal.rakowski@intel.com>
2019-09-09 14:00:44 +02:00
Michal Mielewczyk
827c4d1466 configure: Prevent spawning more subprocesses than CPUs available.
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2019-08-02 01:00:34 -04:00
Michal Mielewczyk
fe9a0b262b configure: Prevent race condition while preparing header file.
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2019-07-24 04:13:54 -04:00
Michal Mielewczyk
a32b079a8a Enable confiugure script to generate header in parallel.
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2019-07-15 06:23:11 -04:00
Michal Mielewczyk
9473cf9795 Enable configure script to compile test modules in parallel.
This patch significantly reduces time needed to prepare config file.

Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2019-07-12 03:00:18 -04:00
Robert Baldyga
13c51041ff Generate and apply config
Allows for faster configuration in known environments

Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2019-07-11 03:32:53 -04:00
Michal Mielewczyk
3f65c7fab2 configure.d: Print information about progress from configure script
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2019-07-02 10:24:41 -04:00
Adam Rutkowski
c8d7c32236 Check for required commands in configure script
Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
2019-06-07 15:47:55 -04:00
Michal Mielewczyk
42f981918d Force ordering in configure script
To prevent using macros before they are defined, enfoce calling them in an
appropriate order.

Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2019-06-03 08:34:32 -04:00
Michal Mielewczyk
1e5355eba1 Extending 'configure' script
Functions and macros dependent on different kernel versions are now generated
before compilation basing on current kernel capabilities instead of hardcoding
them for specific kernels.

Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2019-05-30 06:29:07 -04:00
Michal Rakowski
869cb9c6ed Enabling CentOS 7.6
Signed-off-by: Michal Rakowski <michal.rakowski@intel.com>
2019-05-21 12:48:30 +02:00
Michal Rakowski
61e2af80bc Added configure script
Signed-off-by: Michal Rakowski <michal.rakowski@intel.com>
2019-05-21 12:48:30 +02:00