Files
TheRock/compiler/amd-llvm/llvm/docs/CommandGuide/llvm-libtool-darwin.rst
T
derek.holloway 7502bf64a4
CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
Flatten subprojects into a single base monorepo
2026-09-02 16:34:47 -07:00

101 lines
2.6 KiB
ReStructuredText

llvm-libtool-darwin - LLVM tool for creating libraries for Darwin
=================================================================
.. program:: llvm-libtool-darwin
SYNOPSIS
--------
:program:`llvm-libtool-darwin` [*options*] *<input files>*
DESCRIPTION
-----------
:program:`llvm-libtool-darwin` is a tool for creating static and dynamic
libraries for Darwin.
For most scenarios, it works as a drop-in replacement for cctools'
:program:`libtool`.
OPTIONS
--------
:program:`llvm-libtool-darwin` supports the following options:
.. option:: -arch_only <architecture>
Build a static library only for the specified `<architecture>` and ignore all
other architectures in the files.
.. option:: -D
Use zero for timestamps and UIDs/GIDs. This is set by default.
.. option:: -filelist <listfile[,dirname]>
Read input file names from `<listfile>`. File names are specified in `<listfile>`
one per line, separated only by newlines. Whitespace on a line is assumed
to be part of the filename. If the directory name, `dirname`, is also
specified then it is prepended to each file name in the `<listfile>`.
.. option:: -h, -help
Show help and usage for this command.
.. option:: -l <x>
Searches for the library libx.a in the library search path. If the string `<x>`
ends with '.o', then the library 'x' is searched for without prepending 'lib'
or appending '.a'. If the library is found, it is added to the list of input
files. Otherwise, an error is raised.
.. option:: -L <dir>
Adds `<dir>` to the list of directories in which to search for libraries. The
directories are searched in the order in which they are specified with
:option:`-L` and before the default search path. The default search path
includes directories `/lib`, `/usr/lib` and `/usr/local/lib`.
.. option:: -no_warning_for_no_symbols
Do not warn about files that have no symbols.
.. option:: -warnings_as_errors
Produce a non-zero exit status if any warnings are emitted.
.. option:: -o <filename>
Specify the output file name. Must be specified exactly once.
.. option:: -static
Produces a static library from the input files.
.. option:: -U
Use actual timestamps and UIDs/GIDs.
.. option:: -V
Display the version of this program and perform any operation specified.
.. option:: -version
Display the version of this program and exit immediately.
EXIT STATUS
-----------
:program:`llvm-libtool-darwin` exits with a non-zero exit code if there is an error.
Otherwise, it exits with code 0.
BUGS
----
To report bugs, please visit <https://github.com/llvm/llvm-project/issues/>.
SEE ALSO
--------
:manpage:`llvm-ar(1)`