Skip to content

Commit

Permalink
openmodelica: now building omlibrary-all instead of omlibrary-core
Browse files Browse the repository at this point in the history
  • Loading branch information
balodja committed May 12, 2021
1 parent c44bb3c commit 2fe25d5
Show file tree
Hide file tree
Showing 3 changed files with 88 additions and 84 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ in
mkOpenModelicaDerivation {
pname = "omlibrary";
omdir = "libraries";
omtarget = "omlibrary-core";
omtarget = "omlibrary-all";
omdeps = [openmodelica.omcompiler];

nativeBuildInputs = [];
Expand All @@ -16,5 +16,9 @@ mkOpenModelicaDerivation {
patchPhase = ''
patchShebangs --build libraries
cp -fv ${fakegit}/bin/checkout-git.sh libraries/checkout-git.sh
# The EMOTH library is broken in OpenModelica 1.17.0
# Let's remove it from targets.
sed -i -e '/^OTHER_LIBS=/ s/EMOTH //' libraries/Makefile.libs
'';
}
Loading

0 comments on commit 2fe25d5

Please sign in to comment.