Search Criteria
Package Details: openmodelica-git 1.16.0.dev.r590.g8f5710f752-2
Git Clone URL: | https://aur.archlinux.org/openmodelica-git.git (read-only, click to copy) |
---|---|
Package Base: | openmodelica-git |
Description: | The Open Source Modelica Suite |
Upstream URL: | https://openmodelica.org |
Licenses: | |
Conflicts: | |
Provides: | |
Submitter: | Xwang |
Maintainer: | ElMastro |
Last Packager: | ElMastro |
Votes: | 10 |
Popularity: | 0.083533 |
First Submitted: | 2015-06-20 11:21 |
Last Updated: | 2021-02-13 23:23 |
Dependencies (18)
- boost-libs (boost171, boost-libs-git)
- java-environment (jdk5, tuxjdk, jdk7-openjdk-infinality, java-8-openjdk-shenandoah, jdk8-openjdk-infinality, java-gcj-compat, jdk9, zulu-10-bin, jdk-devel, jdk8-arm64, jdk6, jdk12-openj9-bin, zulu-12-bin, jdk12, jdk8-openjdk-dcevm, jdk11-graalvm-ee-bin, jdk8-arm, jdk13-openj9-bin, jdk9-openj9-bin, jdk10, jdk11-openjdk-dcevm, jdk8-openjdk-jetbrains, jdk8-openjdk-shenandoah, jdk10-openj9-bin, jdk14-openj9-bin, jdk7, jdk8-jetbrains, jdk7r1-j9-bin, jdk7-j9-bin, zulu-14-bin, zulu-13-bin, jdk-bcl, amazon-corretto-15, jdk11-openj9-bin, amazon-corretto-8, amazon-corretto-11, jdk11-openjdk-dcevm-conflicts-fixed, jdk8, jdk11-adoptopenjdk, zulu-15-bin, liberica-jre-8-full-bin, jdk8-j9-bin, zulu-embedded-jdk11, jdk8-openj9-bin, zulu-embedded-jdk8, jdk11, sapmachine-jdk-bin, jdk8-adoptopenjdk, jdk11-jetbrains-imfix, java-openjdk-bin, jdk-adoptopenjdk, zulu-16-bin, jdk15-adoptopenjdk, jdk-openj9, zulu-embedded-jdk, java-openjdk-ea-bin, jdk16-graalvm-bin, java-openjdk-loom-ea-bin, zulu-8-bin, zulu-11-bin, jre-jetbrains, jdk-jetbrains, jdk-arm, jdk8-graalvm-bin, jdk11-graalvm-bin, liberica-jdk-8-full-bin, liberica-jdk-11-bin, liberica-jdk-11-full-bin, liberica-jdk-11-lite-bin, liberica-jdk-full-bin, liberica-jre-11-bin, liberica-jre-11-full-bin, amazon-corretto-16, jdk-openj9-bin, jdk, jdk-openjdk, jdk11-openjdk, jdk7-openjdk, jdk8-openjdk)
- lapack (openblas-lapack-git, lapack-tmg, flexiblas, openblas-lapack-static, atlas-lapack, lapack-git, openblas-lapack, armpl)
- qt5-svg (qt5-svg-git)
- qt5-tools (qt5-tools-git)
- qt5-webkit (qt5-webkit-print, qt5-webkit-git)
- qt5-xmlpatterns (qt5-xmlpatterns-git)
- antlr4-runtime (make)
- boost (boost-git) (make)
- clang (clang-pypy-stm, clang39, clang38, llvm-tce, clang8, llvm-toolchain-nightly-bin, llvm-minimal-git, llvm-git, clang-rc, clang-stable) (make)
- cmake (cmake-git) (make)
- expat (expat-git) (make)
- gcc9-fortran (make)
- git (git-git) (make)
- jre7-openjdk (jre7-openjdk-infinality) (make)
- ncurses (ncurses-nohex, ncurses-git) (make)
- readline (readline-athame-git, readline-git) (make)
- zip (zip-natspec) (optional) – requested when exporting to FMU
Required by (0)
Sources (10)
- git+https://github.com/OpenModelica/OMCompiler-3rdParty
- git+https://github.com/OpenModelica/OMFMISimulator-3rdParty.git
- git+https://github.com/OpenModelica/OMLibraries.git
- git+https://github.com/OpenModelica/OMOptim.git
- git+https://github.com/OpenModelica/OMSens.git
- git+https://github.com/OpenModelica/OMSens_Qt.git
- git+https://github.com/OpenModelica/OMSimulator.git
- git+https://github.com/OpenModelica/OMTLMSimulator.git
- git+https://github.com/OpenModelica/OpenModelica-common.git
- openmodelica-git
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 ... Next › Last »
ppenguin commented on 2020-07-12 19:47
@ElMastro
Just to clarify: I had to add the escapes in the
CFLAGS
to make it work within thePKGBUILD
. Outside thePKGBUILD
building has worked for me since I posted the ppenguin git fork the first time.But what surprises me is the regression further down the line which is "escape related" but only occurs within the
PKGBUILD
. It is interesting however, that even so you get somewhat different errors with thePKGBUILD
than I do.But what I really don't understand is that the
PKGBUILD
behaves so much different from a manual compile, even though it "just" executes a fewbash
commands?As for your last observation: indeed I have been (lightly) using the OM version I compiled manually from my fork and it was behaving well.
ElMastro commented on 2020-07-12 18:42
@ppenguin: it appears that the \ escape is valid only on Windows. I found that the error disappear changing
After that I get./configure --prefix=/opt/OpenModelica --without-ipopt --with-omlibrary=all CFLAGS='-I/usr/include/qwt -I/usr/include/coin-or -I/usr/include/coin -L/usr/lib'
I have tried compiling the package outside of the PKGBUILD in the last weeks, and for what I understand it seems to do always what is supposed to do.Error: Class realAlmostEq not found in scope CodegenFMUCommon.baseUnitAttributes.$match scope$.$pattern type scope$ (looking for a function or record)
ppenguin commented on 2020-07-11 18:45
I found a spare minute and checked out the
PKGBUILD
. I also got theqwt_plot.h
error.When cloning manually and executing the two
.sh
build scripts it again compiles successfully, but thePKGBUILD
does not.I noticed preceding the error that the expanded
CFLAGS
were missing spaces:which would be a good explanation for the error. So this is something that happens in the
PKGBUILD
which doesn't happen during manual compile. I'm not sure about the workings ofmakepkg
, but what did the trick for now was putting the contents of the build scripts directly inbuild()
and escape theCFLAGS
:That seems to have taken care of that issue, but now another one pops up, also related to escaping:
This seems quite suspect, since it definitely doesn't happen on a "manual" build on my machine. In what way could
makepkg
mess up with escaping???While at it: the
lib32
deps don't appear to be necessary, and I removed thejdk8
dep as well (I suppose it needs some jdk, but I se a more modern one which works as well...).ElMastro commented on 2020-06-27 21:54
@Xwang, qwt installs qwt_plot.h in /usr/include/qwt/qwt_plot.h. Probably there is something wrong there. About the errors mine is different, seems to be implied in the Models, as it says
So i suppose OMC compilation here worksXwang commented on 2020-06-27 17:51
After addin the coni-or-ipopt dependencies, I've tried again and it give this error:
... but qwt is already a dependency.
Xwang commented on 2020-06-27 15:54
I've tried ant I've got the following error:
Did you get the same error? It seems it is looking for a file provided by the coin-or-ipopt package which is not in the dependencies list.
ElMastro commented on 2020-06-27 14:31
I can't make it work. Next week I'll sign on GIT and file the Issue. If someone would like to try it, I tried https://pastebin.com/3C1uLA10.
ppenguin commented on 2020-06-24 17:07
@ElMastro are you cloning/pulling
ppenguin/OpenModelica
? Isupd-submods.sh
actually pullingppenguin/*
subrepos? The general idea was that the scripts show how to basically do it in 3 steps:ppenguin/OpenModelica
upd-submods
build.sh
(actually this is just configure)Then
make && make install
If during these steps you get a failure, could you file an issue with description and outputs on https://github.com/ppenguin/OpenModelica/issues?
ElMastro commented on 2020-06-24 16:47
@ppenguin: I can't make it work. Could please a file with the instructions be added to confirm how to do it? I followed https://github.com/OpenModelica/OpenModelica/pull/983 but I'm still doing something wrong...
ppenguin commented on 2020-06-21 12:55
@ElMastro It was a bit more involved, because the
OpenModelica
includedqwt
lib doesn't compile againstQt5.15
. So I ended up forking the OM repo and the referenced sub-repos. Feel free to pull them from thePKGBUILD
or fork them: ppenguin/OpenModelica. (Since it works now and I'm short on time I won't hack on them anytime soon.)Then check the contents of
upd-submod
(basically just the same you normally do, probably no changes needed toPKGBUILD
) andbuild.sh
(for theconfigure
CFLAGS
, these are necessary).With these I get a clean build, so what's left I guess is making sure to add
qwt
,coin-or-ipopt
andmumps
as dependencies.One could consider to take
sundials
also out of the tree, and make it a normal dependency. (Would need updating submodule for 3rd party in repo).Cheers, ppenguin