.. _compile:

compile
=======

.. program:: compile

Synopsis
--------

::

    sample-rpkg compile [-h] [--builddir BUILDDIR] [--arch ARCH]
                        [--short-circuit] [--nocheck]

Description
-----------

This command calls rpmbuild to compile the source. By default the prep and configure stages will be done as well, unless the short-circuit option is used.



Options
-------

.. option:: -h --help

   show this help message and exit

.. option:: --builddir

   Define an alternate builddir

.. option:: --arch

   Prep for a specific arch

.. option:: --short-circuit

   short-circuit compile

.. option:: --nocheck

   nocheck compile