Skip to content

Commit

Permalink
Modify code about LoongArch and enable compilation for the LoongArch …
Browse files Browse the repository at this point in the history
…platform.
  • Loading branch information
tianxu1997 committed Mar 26, 2024
1 parent 33f2f85 commit 7b9c49d
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 1 deletion.
1 change: 1 addition & 0 deletions binaries/pom.xml
Expand Up @@ -36,6 +36,7 @@
<module>org.eclipse.swt.cocoa.macosx.x86_64</module>
<module>org.eclipse.swt.cocoa.macosx.aarch64</module>
<module>org.eclipse.swt.gtk.linux.aarch64</module>
<module>org.eclipse.swt.gtk.linux.loongarch64</module>
<module>org.eclipse.swt.gtk.linux.ppc64le</module>
<module>org.eclipse.swt.gtk.linux.x86_64</module>
<module>org.eclipse.swt.win32.win32.x86_64</module>
Expand Down
2 changes: 1 addition & 1 deletion bundles/org.eclipse.swt.tools/Oomph/platformSwt.setup
Expand Up @@ -69,7 +69,7 @@
xsi:type="predicates:OrPredicate">
<operand
xsi:type="predicates:NamePredicate"
pattern=".*(cocoa|gtk|win32)(\.(macosx|aix|hpux|linux|solaris|win32)(\.(x86_64|ppc64|ia64|aarch64|arm|ppc64|ppc64le|s390|s390x|x86|sparcv9))?)?"/>
pattern=".*(cocoa|gtk|win32)(\.(macosx|aix|hpux|linux|solaris|win32)(\.(x86_64|ppc64|ia64|aarch64|arm|ppc64|ppc64le|s390|s390x|x86|sparcv9|loongarch64))?)?"/>
<operand
xsi:type="predicates:NamePredicate"
pattern="org\.eclipse\.swt\.opengl\.examples">
Expand Down
5 changes: 5 additions & 0 deletions bundles/org.eclipse.swt/META-INF/p2.inf
Expand Up @@ -34,3 +34,8 @@ requires.7.namespace = org.eclipse.equinox.p2.iu
requires.7.name = org.eclipse.swt.cocoa.macosx.aarch64
requires.7.range = [$version$,$version$]
requires.7.filter = (&(osgi.os=macosx)(osgi.ws=cocoa)(osgi.arch=aarch64)(!(org.eclipse.swt.buildtime=true)))

requires.8.namespace = org.eclipse.equinox.p2.iu
requires.8.name = org.eclipse.swt.gtk.linux.loongarch64
requires.8.range = [$version$,$version$]
requires.8.filter = (&(osgi.os=linux)(osgi.ws=gtk)(osgi.arch=loongarch64)(!(org.eclipse.swt.buildtime=true)))
Expand Up @@ -28,3 +28,8 @@ requires.6.namespace = org.eclipse.equinox.p2.iu
requires.6.name = org.eclipse.swt.cocoa.macosx.aarch64
requires.6.range = 0.0.0
requires.6.filter = (&(osgi.os=macosx)(osgi.ws=cocoa)(osgi.arch=aarch64))

requires.7.namespace = org.eclipse.equinox.p2.iu
requires.7.name = org.eclipse.swt.gtk.linux.loongarch64
requires.7.range = 0.0.0
requires.7.filter = (&(osgi.os=linux)(osgi.ws=gtk)(osgi.arch=loongarch64))

0 comments on commit 7b9c49d

Please sign in to comment.