From 7ac736b4a6facae3beaf7df0e993bc0fe178c157 Mon Sep 17 00:00:00 2001 From: Bo YU Date: Tue, 24 Sep 2024 00:36:55 +0000 Subject: [PATCH] Add support riscv64 with p2.inf This can be enable after riscv64 fragment built by default Signed-off-by: Bo YU --- bundles/org.eclipse.swt/META-INF/p2.inf | 5 +++++ .../org.eclipse.swt.fragments.localbuild/META-INF/p2.inf | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/bundles/org.eclipse.swt/META-INF/p2.inf b/bundles/org.eclipse.swt/META-INF/p2.inf index 095b832c760..d241b4233fa 100644 --- a/bundles/org.eclipse.swt/META-INF/p2.inf +++ b/bundles/org.eclipse.swt/META-INF/p2.inf @@ -39,3 +39,8 @@ requires.8.namespace = org.eclipse.equinox.p2.iu requires.8.name = org.eclipse.swt.win32.win32.aarch64 requires.8.range = [$version$,$version$] requires.8.filter = (&(osgi.os=win32)(osgi.ws=win32)(osgi.arch=aarch64)(!(org.eclipse.swt.buildtime=true))) + +requires.9.namespace = org.eclipse.equinox.p2.iu +requires.9.name = org.eclipse.swt.gtk.linux.riscv64 +requires.9.range = [$version$,$version$] +requires.9.filter = (&(osgi.os=linux)(osgi.ws=gtk)(osgi.arch=riscv64)(!(org.eclipse.swt.buildtime=true))) diff --git a/local-build/org.eclipse.swt.fragments.localbuild/META-INF/p2.inf b/local-build/org.eclipse.swt.fragments.localbuild/META-INF/p2.inf index 60341a0650a..63c7cd8bc00 100644 --- a/local-build/org.eclipse.swt.fragments.localbuild/META-INF/p2.inf +++ b/local-build/org.eclipse.swt.fragments.localbuild/META-INF/p2.inf @@ -33,3 +33,8 @@ requires.7.namespace = org.eclipse.equinox.p2.iu requires.7.name = org.eclipse.swt.win32.win32.aarch64 requires.7.range = 0.0.0 requires.7.filter = (&(osgi.os=win32)(osgi.ws=win32)(osgi.arch=aarch64)) + +requires.8.namespace = org.eclipse.equinox.p2.iu +requires.8.name = org.eclipse.swt.gtk.linux.riscv64 +requires.8.range = 0.0.0 +requires.8.filter = (&(osgi.os=linux)(osgi.ws=gtk)(osgi.arch=riscv64))