Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It is not possible to build just schedutils #415

Closed
casantos opened this issue Feb 18, 2017 · 0 comments
Closed

It is not possible to build just schedutils #415

casantos opened this issue Feb 18, 2017 · 0 comments

Comments

@casantos
Copy link
Contributor

It is not possible to build schedutils (chrt, ionice, taskset) when --disable-all-programs is given to configure. This behavior is easy to reproduce with the current head of the master branch:

$ uname -a
Linux p7-1130br 4.4.0-62-generic #83-Ubuntu SMP Wed Jan 18 14:10:15 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
$ git log --pretty=oneline -1
1f519a90c15803fe262a569265bc0876b8726d4d tests: make sfdisk wipe partition optional
$ git clean -fdx
$ ./autogen.sh
$ ./configure --disable-all-programs --enable-schedutils --enable-line
$ make

The line utility is built but chrt, ionice, and taskset are not built.

karelzak added a commit that referenced this issue Feb 20, 2017
* add UL_ENABLE_ALIAS(NAME, MASTERNAME) to initialize $enable_<name>
  according to MASTERNAME. Note that we have to use $build_<mastername>,
  the $enable_<mastername> is just AC_ARG_ENABLE() stuff only. The
  $build_ is evaluated and modified by our UL_...() functions.

* add enable-schedutils.conf to have build-system regression test for
  this use-case

Addresses: #415
Signed-off-by: Karel Zak <kzak@redhat.com>
karelzak added a commit that referenced this issue Feb 21, 2017
* add UL_ENABLE_ALIAS(NAME, MASTERNAME) to initialize $enable_<name>
  according to MASTERNAME. Note that we have to use $build_<mastername>,
  the $enable_<mastername> is just AC_ARG_ENABLE() stuff only. The
  $build_ is evaluated and modified by our UL_...() functions.

* add enable-schedutils.conf to have build-system regression test for
  this use-case

Addresses: #415
Signed-off-by: Karel Zak <kzak@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants