|
@@ -6,27 +6,23 @@ The Solang compiler is a single binary. It can be installed in different ways.
|
|
|
Download release binaries
|
|
Download release binaries
|
|
|
-------------------------
|
|
-------------------------
|
|
|
|
|
|
|
|
-For Linux x86-64, there is a binary available in the github releases:
|
|
|
|
|
|
|
+There are binaries available on github releases:
|
|
|
|
|
|
|
|
-`<https://github.com/hyperledger-labs/solang/releases/download/v0.1.9/solang-linux>`_
|
|
|
|
|
|
|
+- `Linux x86-64 <https://github.com/hyperledger-labs/solang/releases/download/v0.1.10/solang-linux-x86-64>`_
|
|
|
|
|
+- `Linux arm64 <https://github.com/hyperledger-labs/solang/releases/download/v0.1.10/solang-linux-arm64>`_
|
|
|
|
|
+- `Windows x64 <https://github.com/hyperledger-labs/solang/releases/download/v0.1.10/solang.exe>`_
|
|
|
|
|
+- `MacOS intel <https://github.com/hyperledger-labs/solang/releases/download/v0.1.10/solang-mac-intel>`_
|
|
|
|
|
+- `MacOS arm <https://github.com/hyperledger-labs/solang/releases/download/v0.1.10/solang-mac-arm>`_
|
|
|
|
|
|
|
|
-For Windows x64, there is a binary available:
|
|
|
|
|
-
|
|
|
|
|
-`<https://github.com/hyperledger-labs/solang/releases/download/v0.1.9/solang.exe>`_
|
|
|
|
|
-
|
|
|
|
|
-For MacOS, there is an arm and intel binary available.
|
|
|
|
|
-Remember to remove the quarantine attribute using ``xattr -d com.apple.quarantine solang-mac-arm`` in the terminal.
|
|
|
|
|
-
|
|
|
|
|
-`<https://github.com/hyperledger-labs/solang/releases/download/v0.1.9/solang-mac-arm>`_
|
|
|
|
|
-
|
|
|
|
|
-`<https://github.com/hyperledger-labs/solang/releases/download/v0.1.9/solang-mac-intel>`_
|
|
|
|
|
|
|
+On MacOS, remember to remove the quarantine attribute using ``xattr -d com.apple.quarantine solang-mac-arm``
|
|
|
|
|
+in the terminal.
|
|
|
|
|
|
|
|
Using ghcr.io/hyperledger-labs/solang containers
|
|
Using ghcr.io/hyperledger-labs/solang containers
|
|
|
------------------------------------------------
|
|
------------------------------------------------
|
|
|
|
|
|
|
|
New images are automatically made available on
|
|
New images are automatically made available on
|
|
|
`solang containers <https://github.com/hyperledger-labs/solang/pkgs/container/solang>`_.
|
|
`solang containers <https://github.com/hyperledger-labs/solang/pkgs/container/solang>`_.
|
|
|
-There is a release `v0.1.9` tag and a `latest` tag:
|
|
|
|
|
|
|
+There is a release `v0.1.10` tag and a `latest` tag:
|
|
|
|
|
|
|
|
.. code-block:: bash
|
|
.. code-block:: bash
|
|
|
|
|
|
|
@@ -68,7 +64,7 @@ These patches make it possible to generate code for Solana, and fixes some
|
|
|
concurrency issues in the lld linker.
|
|
concurrency issues in the lld linker.
|
|
|
|
|
|
|
|
You can either download the pre-built libraries from
|
|
You can either download the pre-built libraries from
|
|
|
-`github <https://github.com/hyperledger-labs/solang/releases/tag/v0.1.9>`_
|
|
|
|
|
|
|
+`github <https://github.com/hyperledger-labs/solang/releases/tag/v0.1.10>`_
|
|
|
or build your own from source. After that, you need to add the `bin` directory to your
|
|
or build your own from source. After that, you need to add the `bin` directory to your
|
|
|
path, so that the build system of Solang can find the correct version of llvm to use.
|
|
path, so that the build system of Solang can find the correct version of llvm to use.
|
|
|
|
|
|
|
@@ -76,7 +72,7 @@ Installing LLVM on Linux
|
|
|
________________________
|
|
________________________
|
|
|
|
|
|
|
|
A pre-built version of llvm, specifically configured for Solang, is available at
|
|
A pre-built version of llvm, specifically configured for Solang, is available at
|
|
|
-`<https://github.com/hyperledger-labs/solang/releases/download/llvm13.0-1/llvm13.0-linux-x86-64.tar.xz>`_.
|
|
|
|
|
|
|
+`<https://github.com/hyperledger-labs/solang/releases/download/v0.1.10/llvm13.0-linux-x86-64.tar.xz>`_.
|
|
|
After downloading, untar the file in a terminal and add it to your path.
|
|
After downloading, untar the file in a terminal and add it to your path.
|
|
|
|
|
|
|
|
.. code-block:: bash
|
|
.. code-block:: bash
|
|
@@ -88,7 +84,7 @@ Installing LLVM on Windows
|
|
|
__________________________
|
|
__________________________
|
|
|
|
|
|
|
|
A pre-built version of llvm, specifically configured for Solang, is available at
|
|
A pre-built version of llvm, specifically configured for Solang, is available at
|
|
|
-`<https://github.com/hyperledger-labs/solang/releases/download/llvm13.0-1/llvm13.0-win.zip>`_.
|
|
|
|
|
|
|
+`<https://github.com/hyperledger-labs/solang/releases/download/v0.1.10/llvm13.0-win.zip>`_.
|
|
|
|
|
|
|
|
After unzipping the file, add the bin directory to your path.
|
|
After unzipping the file, add the bin directory to your path.
|
|
|
|
|
|
|
@@ -100,8 +96,8 @@ Installing LLVM on Mac
|
|
|
______________________
|
|
______________________
|
|
|
|
|
|
|
|
A pre-built version of llvm for intel macs, is available at
|
|
A pre-built version of llvm for intel macs, is available at
|
|
|
-`<https://github.com/hyperledger-labs/solang/releases/download/llvm13.0-1/llvm13.0-mac-intel.tar.xz>`_ and for arm macs there is
|
|
|
|
|
-`<https://github.com/hyperledger-labs/solang/releases/download/llvm13.0-1/llvm13.0-mac-arm.tar.xz>`_. After downloading,
|
|
|
|
|
|
|
+`<https://github.com/hyperledger-labs/solang/releases/download/v0.1.10/llvm13.0-mac-intel.tar.xz>`_ and for arm macs there is
|
|
|
|
|
+`<https://github.com/hyperledger-labs/solang/releases/download/v0.1.10/llvm13.0-mac-arm.tar.xz>`_. After downloading,
|
|
|
untar the file in a terminal and add it to your path like so:
|
|
untar the file in a terminal and add it to your path like so:
|
|
|
|
|
|
|
|
.. code-block:: bash
|
|
.. code-block:: bash
|