Coder Social home page Coder Social logo

drake-opensuse-integration's Introduction

Drake-OpenSUSE-Integration

Usage

  • (sudo chown -R 499:486 drake) (you may have to change this, see below)
  • docker-compose build --no-cache
  • docker-compose run drake-opensuse

In OpenSUSE Leap 15.4 docker image

  • dan@894f98563d35:> cd drake/cmake/

  • dan@894f98563d35:~/drake/cmake> cmake .. -DWITH_USER_FMT:BOOLEAN=ON -DWITH_USER_SPDLOG:BOOLEAN=ON

  • dan@894f98563d35:~/drake/cmake> make install

  • (After usage) docker-compose down --remove-orphans

Documentation

  • fixed ownership issues with git-folder drake (see below)
  • fixed gcc-fortran nasm by just installing it with Zypper
  • fixed lapack and blas by adding made up .pc files
  • fixed fmt, spdlog by building from source from GitHub repositories
  • fixed native python version 3.6 with Pyenv 3.10

Problem with mumps - fixed

-> In tools/workspace/mumps_internal/repository.bzl I changed repo_ctx.symlink("/usr/include/mumps/" + hdr, "include/" + hdr) # Changed this for OpenSUSE integration

  • fixed gcc problem by installing gcc 10
  • fixed /usr/share/java/jchart2d.jar file issue by downloading it with wget
  • fixed missing PyYAML by installing it
  • fixed missing llvm-clang packages by just installing it with Zypper

Problem with spdlog and fmt - (seems to be fixed - might resurface)

https://stackoverflow.com/questions/78122252/integration-of-drake-to-opensuse-build-error-with-spdlog-and-fmt

  • The reason we use dan@894f98563d35:~/drake/cmake> cmake .. -DWITH_USER_FMT:BOOLEAN=ON -DWITH_USER_SPDLOG:BOOLEAN=ON instead of just cmake .. from now on

  • RuntimeError: Library file /usr/lib/x86_64-linux-gnu/libclang-14.so does NOT exist

Docker stuff

Changed ownership of the drake folder to docker container's user and group id for smoother operation in docker container

Before change

dan@SurfBoard3:~/Projects/Drake-OpenSUSE-Integration$ ls -ld drake
drwxrwxr-x 23 dan dan 4096 Mär  5 11:20 drake

change

  • dan@SurfBoard3:~/Projects/Drake-OpenSUSE-Integration$ sudo chown -R 499:486 drake

After change

dan@SurfBoard3:~/Projects/Drake-OpenSUSE-Integration$ ls -ld drake
drwxrwxr-x 23 499 486 4096 Mär  5 11:20 drake
  • I configured git accordingly

git config --global --add safe.directory /home/dan/Projects/Drake-OpenSUSE-Integration/drake

drake-opensuse-integration's People

Contributors

hedaniel7 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.