![Jeff Squyres](/assets/img/avatar_default.png)
use_default_rpm_opt_flags. It defaults to a value of 1, meaning that we'll try to use $RPM_OPT_FLAGS. But if you're not compiling with the GNU compilers, you might want to set this value to 0 so that your compiler doesn't get flags that it doesn't understand (e.g., PGI 7.0 will barf on flags that it doesn't understand). This commit was SVN r14477.
43 строки
1.8 KiB
Plaintext
43 строки
1.8 KiB
Plaintext
Copyright (c) 2004-2006 The Trustees of Indiana University and Indiana
|
|
University Research and Technology
|
|
Corporation. All rights reserved.
|
|
Copyright (c) 2004-2006 The University of Tennessee and The University
|
|
of Tennessee Research Foundation. All rights
|
|
reserved.
|
|
Copyright (c) 2004-2006 High Performance Computing Center Stuttgart,
|
|
University of Stuttgart. All rights reserved.
|
|
Copyright (c) 2004-2006 The Regents of the University of California.
|
|
All rights reserved.
|
|
Copyright (c) 2006 Cisco Systems, Inc. All rights reserved.
|
|
$COPYRIGHT$
|
|
|
|
Additional copyrights may follow
|
|
|
|
$HEADER$
|
|
|
|
===========================================================================
|
|
|
|
The buildrpm.sh script takes a single argument -- a filename pointing
|
|
to an Open MPI tarball (may be either .gz or .bz2). It will create
|
|
one or more RPMs from this tarball:
|
|
|
|
1. Source RPM
|
|
2. "All in one" RPM, where all of Open MPI is put into a single RPM.
|
|
3. "Multiple" RPM, where Open MPI is split into several sub-package
|
|
RPMs:
|
|
- openmpi-runtime
|
|
- openmpi-devel
|
|
- openmpi-docs (not currently generated because we have no docs; to
|
|
be rectified soon!)
|
|
|
|
The prefix, target architecture, and choice of RPM(s) to build are all
|
|
currently hard-coded in the beginning of the buildrpm.sh script.
|
|
|
|
Alternatively, you can build directly from the openmpi.spec spec file
|
|
or SRPM directly. Many options can be passed to the building process
|
|
via rpmbuild's --define option (there are older versions of rpmbuild
|
|
that do not seem to handle --define'd values properly in all cases,
|
|
but we generally don't care about those old versions of rpmbuild...).
|
|
The available options are described in the comments in the beginning
|
|
of the spec file in this directory.
|