Skip to content

Kaenbyo/Hydrosphere

 
 

Repository files navigation

Hydrosphère

Hydrosphère Travis Build

"Ocean beyond the Horizon"

Hydrosphère is a work in progress C++ toolchain targeting the Nintendo Switch userland.

Install from sources

Building on *nix

  1. Make sure you have installed the dependencies:

    • llvm 8.x or later
    • clang 8.x or later
    • meson 0.51 or later
    • linkle 0.2.7 or later (Releases: here)
    • ninja
    • make
    • git
  2. Clone the source with git:

    $ git clone --recursive https://github.com/hydrosphere-nx/Hydrosphere.git
    $ cd Hydrosphere
  1. Choose Hydrosphère sysroot and export it:

    $ export HYDROSPHERE_SYSROOT=<path to your sysroot>
  2. Build and deploy Hydrosphère to $HYDROSPHERE_SYSROOT:

    $ make deploy

Building on Windows (MINGW64)

  1. Install MSYS2

  2. 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"
  3. Clone the source with git:

    $ git clone --recursive https://github.com/hydrosphere-nx/Hydrosphere.git
    $ cd Hydrosphere
  1. Choose Hydrosphère sysroot and export it:

    $ export HYDROSPHERE_SYSROOT=<path to your sysroot>
  2. 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.

About

Ocean beyond the Horizon

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 77.5%
  • Assembly 12.9%
  • Meson 6.6%
  • Makefile 2.6%
  • Python 0.4%