Opened 2 years ago

Last modified 20 months ago

#5436 reopened defect

Differentiate between types of platform

Reported by: Jesper Mattsson Owned by: Jesper Mattsson
Priority: major Milestone:
Component: Modelica/FrontEnd Version: trunk
Keywords: Cc:

Description

ModelicaCompiler.getPlatform() returns the platform that the JVM binary is compiled for. This is not necessarily the same as the system platform if you are on Windows.

Split it into:

  • The platform that the JVM binary is compiled for.
  • The actual system platform.
  • The list of platforms can be executed on the current system.

For most platforms, these will all be the same, but for Windows 64 it can differ.

Change History (8)

comment:1 Changed 2 years ago by Jesper Mattsson

r10056

Added more granular handling of platforms.

comment:2 Changed 2 years ago by Jesper Mattsson

Resolution: fixed
Status: newclosed

comment:3 Changed 2 years ago by Zimon Kuhs

Resolution: fixed
Status: closedreopened

r10058

Reverting r10056 as it breaks tests.

comment:4 Changed 2 years ago by Jesper Mattsson

r10187

Re-committing r10056 with backward-compatible getPlatform().

It remains to go through uses of getPlatform() and select the correct version to use.

comment:5 Changed 2 years ago by Jesper Mattsson

r10191

Merged r10187 to release branch.

comment:6 Changed 2 years ago by Christian Andersson

Milestone: 2.1.x2.1.1

comment:7 Changed 2 years ago by Christian Andersson

Milestone: 2.1.12.2.x

Ticket retargeted after milestone closed

comment:8 Changed 20 months ago by Christian Andersson

Milestone: 2.2.x

Ticket retargeted after milestone closed

Note: See TracTickets for help on using tickets.