mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-15 23:22:53 +08:00
parent
900a048744
commit
09ed315159
32
README.rst
32
README.rst
@ -165,10 +165,10 @@ Dependencies, git master
|
||||
Building from git master currently requires, in addition to the dependencies for a tarball:
|
||||
|
||||
- Rust (version 1.67 or later)
|
||||
- libclang, even if you are compiling with gcc
|
||||
- an internet connection
|
||||
- libclang, even if you are compiling with GCC
|
||||
- an Internet connection
|
||||
|
||||
Fish is in the process of being ported to rust, replacing all C++ code, and as such these dependencies are a bit awkward and in flux.
|
||||
fish is in the process of being ported to Rust, replacing all C++ code, and as such these dependencies are a bit awkward and in flux.
|
||||
|
||||
In general, we would currently not recommend running from git master if you just want to *use* fish.
|
||||
Given the nature of the port, what is currently there is mostly a slower and buggier version of the last C++-based release.
|
||||
@ -188,34 +188,12 @@ To install into ``/usr/local``, run:
|
||||
The install directory can be changed using the
|
||||
``-DCMAKE_INSTALL_PREFIX`` parameter for ``cmake``.
|
||||
|
||||
Building from source (macOS) - Xcode
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Note: The minimum supported macOS version is 10.10 "Yosemite".
|
||||
|
||||
.. code:: bash
|
||||
|
||||
mkdir build; cd build
|
||||
cmake .. -G Xcode
|
||||
|
||||
An Xcode project will now be available in the ``build`` subdirectory.
|
||||
You can open it with Xcode, or run the following to build and install in
|
||||
``/usr/local``:
|
||||
|
||||
.. code:: bash
|
||||
|
||||
xcodebuild
|
||||
xcodebuild -scheme install
|
||||
|
||||
The install directory can be changed using the
|
||||
``-DCMAKE_INSTALL_PREFIX`` parameter for ``cmake``.
|
||||
|
||||
Build options
|
||||
~~~~~~~~~~~~~
|
||||
|
||||
In addition to the normal cmake build options (like ``CMAKE_INSTALL_PREFIX``), fish has some other options available to customize it.
|
||||
In addition to the normal CMake build options (like ``CMAKE_INSTALL_PREFIX``), fish has some other options available to customize it.
|
||||
|
||||
- BUILD_DOCS=ON|OFF - whether to build the documentation. This is automatically set to OFF when sphinx isn't installed.
|
||||
- BUILD_DOCS=ON|OFF - whether to build the documentation. This is automatically set to OFF when Sphinx isn't installed.
|
||||
- INSTALL_DOCS=ON|OFF - whether to install the docs. This is automatically set to on when BUILD_DOCS is or prebuilt documentation is available (like when building in-tree from a tarball).
|
||||
- FISH_USE_SYSTEM_PCRE2=ON|OFF - whether to use an installed pcre2. This is normally autodetected.
|
||||
- MAC_CODESIGN_ID=String|OFF - the codesign ID to use on Mac, or "OFF" to disable codesigning.
|
||||
|
Loading…
x
Reference in New Issue
Block a user