Feature #10516

Filter CC options passed to CIF using Clade

Added by Ilya Shchepetkov 4 months ago. Updated 3 months ago.

Infrastructure of Core
Target version:
Start date:
Due date:
% Done:


Estimated time:
Published in build:


Currently Klever filters options of CC commands before they are passed further to CIF. It employs the "black list" method of filtering, where unsupported options are explicitly listed and filtered. On the other hand, Clade employs the "white list" method of filtering, in which only the options required by CIF are explicitly listed, while all other options are filtered.

Usage of "white list" in Clade is proved to be far easier to support and generally superior than "black list". So, it's time to use it in Klever as well, and the simplest way to do it is to import and use the Clade implementation directly.

In future, however, it is expected that this functionality will become a part of the CIF Python interface (



Updated by Ilya Shchepetkov 4 months ago

  • Status changed from Open to Resolved
  • Category changed from Scheduling to Infrastructure of Core

The feature is implemented in the filter-cif-opts branch and is currently being tested on a full-scale linux 5.5 launch.


Updated by Evgeny Novikov 3 months ago

  • Priority changed from Normal to Urgent

This is strictly necessary for the newest versions of the Linux kernel where some new compiler options that are not compatible with CIF are necessary.

The feature implementation is rather serious, so, it will be thoroughly tested.


Updated by Evgeny Novikov 3 months ago

  • Status changed from Resolved to Closed

Tests passed (not only CI but large jobs as well). So, I merged the branch to master in fcd2ccf4a.

Also available in: Atom PDF