OpenModelica icon indicating copy to clipboard operation
OpenModelica copied to clipboard

Missing tools in build-dep openmodelica for CMake build

Open AnHeuermann opened this issue 3 years ago • 0 comments

Description

When following https://github.com/OpenModelica/OpenModelica/blob/master/OMCompiler/README.Linux.md#debianubuntu-compile-cheat-sheet-or-read-on-for-the-full-guide to build OpenModelica on Ubuntu some tools are missing.

ccache and flex are missing to build the compiler with CMake. In addition I saw that Doxygen and AsciiDoc for the user's guide are missing as well. Is there an additional build-dep to install all of them as well. I can of course look into our Dockerimages and install everything listed there, but an additional build-dep would be nice.

Steps to Reproduce

Get a fresh Ubuntu, clone OpenModelica and follow the Linux install guide and then configure using CMake.

echo deb http://build.openmodelica.org/apt `lsb_release --short --codename` nightly | sudo tee -a /etc/apt/sources.list.d/openmodelica.list
echo deb-src http://build.openmodelica.org/apt nightly contrib | sudo tee -a /etc/apt/sources.list.d/openmodelica.list
# You'll also need to import the GPG key used to sign the releases:
wget -q http://build.openmodelica.org/apt/openmodelica.asc -O- | sudo apt-key add -
# To verify that your key is installed correctly
apt-key fingerprint
# Gives output:
# pub   2048R/64970947 2010-06-22
#      Key fingerprint = D229 AF1C E5AE D74E 5F59  DF30 3A59 B536 6497 0947
# uid                  OpenModelica Build System
sudo apt-get update
sudo apt-get build-dep openmodelica
cmake -S . -B build_cmake

Expected Behavior

When running build-dep on openmodelica all tools needed to compile should be installed.

sudo apt-get build-dep openmodelica

Version and OS

  • OpenModelica Version: v1.21.0-dev-131-g7d34aced9c-cmake
  • OS: Ubuntu 22.04.1 LTS (WSL2)
  • Versions of used Modelica libraries if applicable

AnHeuermann avatar Dec 08 '22 15:12 AnHeuermann