Commit Graph

5 Commits

Author SHA1 Message Date
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
Adam Rutkowski
ef223cfd47 configure.d: fix detecting and usage of cas_blk_rq_append_bio
1. When generating cas_blk_rq_append_bio, check whether a
   version with double pointer compiles successfully. This
   is a better criteria than the version with single pointer
   since the latter may compile successfully regardless of
   kernel blk_rq_append_bio prototype.
2. Always provide single pointer to cas_blk_rq_append_bio
   macro - its up to cas_blk_rq_append_bio implementation to
   decide whether extra level of indirection is needed.

This fixes compilation with kernel 4.14.98.

Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
2019-07-02 14:40:51 -04:00
Michal Mielewczyk
60192c447e Fix typos in configuration script
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2019-06-26 12:37:53 -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