- (
sudo chown -R 499:486 drake
) (you may have to change this, see below) docker-compose build --no-cache
docker-compose run drake-opensuse
-
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
- 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
-> 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
-
The reason we use
dan@894f98563d35:~/drake/cmake> cmake .. -DWITH_USER_FMT:BOOLEAN=ON -DWITH_USER_SPDLOG:BOOLEAN=ON
instead of justcmake ..
from now on -
RuntimeError: Library file /usr/lib/x86_64-linux-gnu/libclang-14.so does NOT exist
Changed ownership of the drake folder to docker container's user and group id for smoother operation in docker container
dan@SurfBoard3:~/Projects/Drake-OpenSUSE-Integration$ ls -ld drake
drwxrwxr-x 23 dan dan 4096 Mär 5 11:20 drake
dan@SurfBoard3:~/Projects/Drake-OpenSUSE-Integration$ sudo chown -R 499:486 drake
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