Bug 565419 - Add Linux aarch64 build
Add filesystem aarch64 fragment with native library in it.
Change-Id: Id96febd432c0800b24faa394473d87a9b4dae801
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
diff --git a/bundles/org.eclipse.core.filesystem.linux.aarch64/.project b/bundles/org.eclipse.core.filesystem.linux.aarch64/.project
new file mode 100644
index 0000000..c1e1847
--- /dev/null
+++ b/bundles/org.eclipse.core.filesystem.linux.aarch64/.project
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.core.filesystem.linux.aarch64</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.pde.ManifestBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.SchemaBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ </natures>
+</projectDescription>
diff --git a/bundles/org.eclipse.core.filesystem.linux.aarch64/.settings/org.eclipse.core.runtime.prefs b/bundles/org.eclipse.core.filesystem.linux.aarch64/.settings/org.eclipse.core.runtime.prefs
new file mode 100644
index 0000000..5a0ad22
--- /dev/null
+++ b/bundles/org.eclipse.core.filesystem.linux.aarch64/.settings/org.eclipse.core.runtime.prefs
@@ -0,0 +1,2 @@
+eclipse.preferences.version=1
+line.separator=\n
diff --git a/bundles/org.eclipse.core.filesystem.linux.aarch64/META-INF/MANIFEST.MF b/bundles/org.eclipse.core.filesystem.linux.aarch64/META-INF/MANIFEST.MF
new file mode 100644
index 0000000..ba3a5a5
--- /dev/null
+++ b/bundles/org.eclipse.core.filesystem.linux.aarch64/META-INF/MANIFEST.MF
@@ -0,0 +1,9 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: %fragmentName
+Bundle-SymbolicName: org.eclipse.core.filesystem.linux.aarch64;singleton:=true
+Bundle-Version: 1.4.100.qualifier
+Bundle-Vendor: %providerName
+Fragment-Host: org.eclipse.core.filesystem;bundle-version="[1.1.0,2.0.0)"
+Bundle-Localization: fragment
+Eclipse-PlatformFilter: (& (osgi.os=linux) (osgi.arch=aarch64))
diff --git a/bundles/org.eclipse.core.filesystem.linux.aarch64/about.html b/bundles/org.eclipse.core.filesystem.linux.aarch64/about.html
new file mode 100644
index 0000000..164f781
--- /dev/null
+++ b/bundles/org.eclipse.core.filesystem.linux.aarch64/about.html
@@ -0,0 +1,36 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
+<title>About</title>
+</head>
+<body lang="EN-US">
+ <h2>About This Content</h2>
+
+ <p>November 30, 2017</p>
+ <h3>License</h3>
+
+ <p>
+ The Eclipse Foundation makes available all content in this plug-in
+ ("Content"). Unless otherwise indicated below, the Content
+ is provided to you under the terms and conditions of the Eclipse
+ Public License Version 2.0 ("EPL"). A copy of the EPL is
+ available at <a href="http://www.eclipse.org/legal/epl-2.0">http://www.eclipse.org/legal/epl-2.0</a>.
+ For purposes of the EPL, "Program" will mean the Content.
+ </p>
+
+ <p>
+ If you did not receive this Content directly from the Eclipse
+ Foundation, the Content is being redistributed by another party
+ ("Redistributor") and different terms and conditions may
+ apply to your use of any object code in the Content. Check the
+ Redistributor's license that was provided with the Content. If no such
+ license exists, contact the Redistributor. Unless otherwise indicated
+ below, the terms and conditions of the EPL still apply to any source
+ code in the Content and such source code may be obtained at <a
+ href="http://www.eclipse.org/">http://www.eclipse.org</a>.
+ </p>
+
+</body>
+</html>
\ No newline at end of file
diff --git a/bundles/org.eclipse.core.filesystem.linux.aarch64/build.properties b/bundles/org.eclipse.core.filesystem.linux.aarch64/build.properties
new file mode 100644
index 0000000..ef62db2
--- /dev/null
+++ b/bundles/org.eclipse.core.filesystem.linux.aarch64/build.properties
@@ -0,0 +1,19 @@
+###############################################################################
+# Copyright (c) 2014 IBM Corporation and others.
+#
+# This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License 2.0
+# which accompanies this distribution, and is available at
+# https://www.eclipse.org/legal/epl-2.0/
+#
+# SPDX-License-Identifier: EPL-2.0
+#
+# Contributors:
+# IBM Corporation - initial API and implementation
+###############################################################################
+bin.includes = META-INF/,\
+ about.html,\
+ os/,\
+ fragment.properties
+src.includes = about.html
+generateSourceBundle=false
diff --git a/bundles/org.eclipse.core.filesystem.linux.aarch64/fragment.properties b/bundles/org.eclipse.core.filesystem.linux.aarch64/fragment.properties
new file mode 100644
index 0000000..bd28b5c
--- /dev/null
+++ b/bundles/org.eclipse.core.filesystem.linux.aarch64/fragment.properties
@@ -0,0 +1,15 @@
+###############################################################################
+# Copyright (c) 2014 IBM Corporation and others.
+#
+# This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License 2.0
+# which accompanies this distribution, and is available at
+# https://www.eclipse.org/legal/epl-2.0/
+#
+# SPDX-License-Identifier: EPL-2.0
+#
+# Contributors:
+# IBM Corporation - initial API and implementation
+###############################################################################
+fragmentName = Core File System for Linux Aarch64 bit
+providerName = Eclipse.org
diff --git a/bundles/org.eclipse.core.filesystem.linux.aarch64/os/linux/aarch64/libunixfile_1_0_0.so b/bundles/org.eclipse.core.filesystem.linux.aarch64/os/linux/aarch64/libunixfile_1_0_0.so
new file mode 100755
index 0000000..0024dc1
--- /dev/null
+++ b/bundles/org.eclipse.core.filesystem.linux.aarch64/os/linux/aarch64/libunixfile_1_0_0.so
Binary files differ
diff --git a/bundles/org.eclipse.core.filesystem.linux.aarch64/pom.xml b/bundles/org.eclipse.core.filesystem.linux.aarch64/pom.xml
new file mode 100644
index 0000000..7cc2a00
--- /dev/null
+++ b/bundles/org.eclipse.core.filesystem.linux.aarch64/pom.xml
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright (c) 2014, 2015 IBM Corporation and others.
+ All rights reserved. This program and the accompanying materials
+ are made available under the terms of the Eclipse Distribution License v1.0
+ which accompanies this distribution, and is available at
+ http://www.eclipse.org/org/documents/edl-v10.php
+
+ Contributors:
+ IBM Corporation - initial implementation
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <artifactId>eclipse.platform.resources</artifactId>
+ <groupId>eclipse.platform.resources</groupId>
+ <version>4.17.0-SNAPSHOT</version>
+ <relativePath>../../</relativePath>
+ </parent>
+ <groupId>org.eclipse.core</groupId>
+ <artifactId>org.eclipse.core.filesystem.linux.aarch64</artifactId>
+ <version>1.4.100-SNAPSHOT</version>
+ <packaging>eclipse-plugin</packaging>
+
+ <properties>
+ <skipAPIAnalysis>true</skipAPIAnalysis>
+ </properties>
+
+ <build>
+ <plugins>
+ <!-- tycho is not able to automatically determine os/ws/arch of this bundle -->
+ <plugin>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>target-platform-configuration</artifactId>
+ <version>${tycho.version}</version>
+ <configuration>
+ <resolver>p2</resolver>
+ <environments>
+ <environment>
+ <os>linux</os>
+ <ws>gtk</ws>
+ <arch>aarch64</arch>
+ </environment>
+ </environments>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+</project>
diff --git a/pom.xml b/pom.xml
index 284e521..051ecfa 100644
--- a/pom.xml
+++ b/pom.xml
@@ -52,6 +52,7 @@
<modules>
<module>bundles/org.eclipse.core.filesystem</module>
+ <module>bundles/org.eclipse.core.filesystem.linux.aarch64</module>
<module>bundles/org.eclipse.core.filesystem.linux.ppc64le</module>
<module>bundles/org.eclipse.core.filesystem.linux.x86_64</module>
<module>bundles/org.eclipse.core.filesystem.macosx</module>