Skip to content

[Info] Build Howto for SUSE-Tumbleweed/Ubuntu #10

@LowLevelMahn

Description

@LowLevelMahn

im currently playing with the subject of "Geometric solvers" - stumbled over your project, building it from source

an SUSE-Tumbleweed/Ubuntu all-from-source installation guide - skipping out-of-source builds and doing make install

mkdir Adjacent_dev
cd Adjacent_dev

# xtl
git clone https://github.com/xtensor-stack/xtl.git
cd xtl
cmake -D CMAKE_INSTALL_PREFIX=../xtl_install
make install
cd ..

# xtensor
git clone https://github.com/xtensor-stack/xtensor.git
cd xtensor
cmake -DCMAKE_PREFIX_PATH=../xtl_install/ -DCMAKE_INSTALL_PREFIX=../xtensor_install
make install
cd ..

# pybind11
sudo zypper install python3
sudo zypper install python3-devel
sudo zypper install python3-pytest
# sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 20
git clone https://github.com/pybind/pybind11.git
cd pybind11/
cmake -DCMAKE_INSTALL_PREFIX=../pybind11_install
make install
cd ..

# Adjacent
git clone https://github.com/Evil-Spirit/Adjacent.git
cd Adjacent
cmake -DCMAKE_PREFIX_PATH="../xtl_install;../xtensor_install;../pybind11_install" ../Adjacent

then run ./adjacent_test

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions