Hydrosphere
Hydrosphere copied to clipboard
Ocean beyond the Horizon
Hydrosphère

"Ocean beyond the Horizon"
Hydrosphère is a work in progress C++ toolchain targeting the Nintendo Switch userland.
Install from sources
Building on *nix
-
Make sure you have installed the dependencies:
llvm8.x or laterclang8.x or latermeson0.51 or laterlinkle0.2.7 or later (Releases: here)ninjamakegit
-
Clone the source with
git:$ git clone --recursive https://github.com/hydrosphere-nx/Hydrosphere.git $ cd Hydrosphere
-
Choose Hydrosphère sysroot and export it:
$ export HYDROSPHERE_SYSROOT=<path to your sysroot> -
Build and deploy Hydrosphère to
$HYDROSPHERE_SYSROOT:$ make deployNOTE: - On Debian based distributions, LLVM official packages use a postfix on every binaries. To provide this postfix to Hydrosphère build system, set
HYDROSPHERE_LLVM_SUFFIXenvironment variable to the appropriate suffix. (e.g:export HYDROSPHERE_LLVM_SUFFIX="-8"for llvm-8) - If your LLVM installation prefix isn't/usr, you can set theHYDROSPHERE_LLVM_INSTALL_PREFIXenvironment variable to the appropriate prefix to provide it to Hydrosphère build system.
Building on Windows (MINGW64)
-
Install MSYS2
-
Make sure you have installed the dependencies and that you are running under MINGW64 shell:
# Install dependencies $ pacman -S mingw-w64-x86_64-llvm mingw-w64-x86_64-clang mingw-w64-x86_64-lld mingw-w64-x86_64-meson mingw-w64-x86_64-ninja make wget gunzip git # Install linkle manually $ mkdir -p $HOME/bin $ wget -nc -O - https://github.com/MegatonHammer/linkle/releases/download/v0.2.7/linkle-v0.2.7-x86_64-pc-windows-msvc.zip | gunzip > $HOME/bin/linkle.exe # Add ~/bin to PATH for new shell instances $ echo "export PATH=\"\$HOME/bin:\$PATH\"" >> $HOME/.bashrc # Add ~/bin to PATH for this shell instance $ export PATH="$HOME/bin:$PATH" -
Clone the source with
git:$ git clone --recursive https://github.com/hydrosphere-nx/Hydrosphere.git $ cd Hydrosphere
-
Choose Hydrosphère sysroot and export it:
$ export HYDROSPHERE_SYSROOT=<path to your sysroot> -
Build and deploy Hydrosphère to
$HYDROSPHERE_SYSROOT:$ make deploy
Documentation
Documentation is hosted on our github pages.
License
Hydrosphère is distributed under the terms of either the MIT license or the Apache License (Version 2.0), at the user's choice.
See LICENSE-APACHE and LICENSE-MIT.