Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSravan Kumar Lakkimsetti2021-03-23 05:59:46 +0000
committerSravan Kumar Lakkimsetti2021-03-23 06:00:04 +0000
commit1a4c9caf8d8ea3eccb9e97ccb916945b9793f852 (patch)
tree7269405264d7900cd7e89fa708d88db4a6f2de3b
parenta8a8d824145ea1f309eb0b4ade83995544eead50 (diff)
downloadeclipse.platform.resources-1a4c9caf8d8ea3eccb9e97ccb916945b9793f852.tar.gz
eclipse.platform.resources-1a4c9caf8d8ea3eccb9e97ccb916945b9793f852.tar.xz
eclipse.platform.resources-1a4c9caf8d8ea3eccb9e97ccb916945b9793f852.zip
Revert "Bug 572096 - Build core.filesystem library for arm64"I20210323-0200
This reverts commit 69e424f2c90894d4c5de724b10d3bc98174c2230. Change-Id: Ifc2be99469a49a66a5413bfad3a06be9be95f86f Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>
-rw-r--r--bundles/org.eclipse.core.filesystem.macosx/BUILD_INFO.txt14
-rw-r--r--[-rwxr-xr-x]bundles/org.eclipse.core.filesystem.macosx/os/macosx/libunixfile_1_0_0.jnilibbin117904 -> 33840 bytes
-rw-r--r--bundles/org.eclipse.core.filesystem/natives/unix/README.TXT9
-rw-r--r--[-rwxr-xr-x]bundles/org.eclipse.core.filesystem/natives/unix/macosx/Makefile8
4 files changed, 11 insertions, 20 deletions
diff --git a/bundles/org.eclipse.core.filesystem.macosx/BUILD_INFO.txt b/bundles/org.eclipse.core.filesystem.macosx/BUILD_INFO.txt
index 293d66738..9f56ba7ef 100644
--- a/bundles/org.eclipse.core.filesystem.macosx/BUILD_INFO.txt
+++ b/bundles/org.eclipse.core.filesystem.macosx/BUILD_INFO.txt
@@ -1,10 +1,10 @@
Native Build Info:
------------------
-Platform: Jenkins Mac slave (b9h15-macos10.15)
-Build date: 22-Mar-2021
-OS Name: macOS
-OS Version: 10.15.7
-Compiler version: Apple clang version 12.0.0
-Java version: jdk1.8.0_192
-Architecture: x86_64 and arm64 (universal binary) \ No newline at end of file
+Platform: iMac
+Built by: pawel.pogorzelski@pl.ibm.com
+Build date: 21-Jan-2010
+OS Name: Mac OS X
+OS Version: 10.5.7
+Compiler version: gcc version 4.0.1
+Java version: Standard Edition (build 1.5.0_19-137) \ No newline at end of file
diff --git a/bundles/org.eclipse.core.filesystem.macosx/os/macosx/libunixfile_1_0_0.jnilib b/bundles/org.eclipse.core.filesystem.macosx/os/macosx/libunixfile_1_0_0.jnilib
index 76a742067..945bbb717 100755..100644
--- a/bundles/org.eclipse.core.filesystem.macosx/os/macosx/libunixfile_1_0_0.jnilib
+++ b/bundles/org.eclipse.core.filesystem.macosx/os/macosx/libunixfile_1_0_0.jnilib
Binary files differ
diff --git a/bundles/org.eclipse.core.filesystem/natives/unix/README.TXT b/bundles/org.eclipse.core.filesystem/natives/unix/README.TXT
index b0b1c8c28..8bf350b64 100644
--- a/bundles/org.eclipse.core.filesystem/natives/unix/README.TXT
+++ b/bundles/org.eclipse.core.filesystem/natives/unix/README.TXT
@@ -1,10 +1,3 @@
This directory contains the source code for Unix-based platforms,
including Linux and Mac OS X. These platforms
-all share the same C source, but have different makefiles.
-
-The macOS library in the macosx fragment is a Mach-O universal binary with
-2 architectures: [x86_64:Mach-O 64-bit bundle x86_64] [arm64:Mach-O 64-bit bundle arm64]
-XCode 12.2 or newer is required to build this.
-
-Command to run:
-make -f Makefile clean install \ No newline at end of file
+all share the same C source, but have different makefiles. \ No newline at end of file
diff --git a/bundles/org.eclipse.core.filesystem/natives/unix/macosx/Makefile b/bundles/org.eclipse.core.filesystem/natives/unix/macosx/Makefile
index e996bb6bd..4b37821c1 100755..100644
--- a/bundles/org.eclipse.core.filesystem/natives/unix/macosx/Makefile
+++ b/bundles/org.eclipse.core.filesystem/natives/unix/macosx/Makefile
@@ -19,14 +19,12 @@ LIB_NAME_FULL=libunixfile_1_0_0.jnilib
JAVA_HOME=$(shell /usr/libexec/java_home)
-$(info JAVA_HOME is $(JAVA_HOME))
-
JDK_INCLUDE=-I $(JAVA_HOME)/include -I $(JAVA_HOME)/include/darwin
MACOSX_DEPLOYMENT_TARGET=10.10
-FRAMEWORKS=-framework CoreServices
+FRAMEWORKS=-framework JavaVM -framework CoreServices
# define MACOSX to include Mac OS X specific code
-CC_FLAGS=-arch x86_64 -arch arm64 -mmacosx-version-min=10.10 -DMACOSX
+CC_FLAGS=-arch x86_64 -mmacosx-version-min=10.10 -DMACOSX
core:
cc $(JDK_INCLUDE) $(CORE.C) -o $(LIB_NAME_FULL) -bundle $(FRAMEWORKS) $(CC_FLAGS)
@@ -34,6 +32,6 @@ core:
clean:
rm -f $(LIB_NAME_FULL)
-install: core
+install:
rm -f ../../../../org.eclipse.core.filesystem.macosx/os/macosx/$(LIB_NAME_FULL)
mv $(LIB_NAME_FULL) ../../../../org.eclipse.core.filesystem.macosx/os/macosx/

Back to the top