Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %fragmentName
Bundle-SymbolicName: org.eclipse.core.filesystem.linux.x86_64; singleton:=true
Bundle-Version: 1.2.400.qualifier
Bundle-Version: 1.2.500.qualifier
Bundle-Vendor: %providerName
Fragment-Host: org.eclipse.core.filesystem;bundle-version="[1.7.200,2.0.0)"
Fragment-Host: org.eclipse.core.filesystem;bundle-version="[1.11.500,2.0.0)"
Bundle-Localization: fragment
Eclipse-PlatformFilter: (& (osgi.os=linux) (osgi.arch=x86_64))
Binary file not shown.
20 changes: 12 additions & 8 deletions resources/bundles/org.eclipse.core.filesystem.linux.x86_64/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
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:
Igor Fedorenko - initial implementation
-->
Expand All @@ -18,7 +18,7 @@
<relativePath>../../</relativePath>
</parent>
<artifactId>org.eclipse.core.filesystem.linux.x86_64</artifactId>
<version>1.2.400-SNAPSHOT</version>
<version>1.2.500-SNAPSHOT</version>
<packaging>eclipse-plugin</packaging>

<profiles>
Expand All @@ -42,12 +42,16 @@
<configuration>
<target>
<exec executable="make" newenvironment="false" dir="../org.eclipse.core.filesystem/natives/unix/linux/"/>
<mkdir dir="os/linux/x86_64/"/>
<copy todir="os/linux/x86_64/">
<fileset dir="../org.eclipse.core.filesystem/natives/unix/linux/">
<include name="libunixfile_*.so"/>
</fileset>
</copy>
<exec executable="make" newenvironment="false" dir="../org.eclipse.core.filesystem/natives/unix/fastlinux/"/>
<mkdir dir="os/linux/x86_64/"/>
<copy todir="os/linux/x86_64/">
<fileset dir="../org.eclipse.core.filesystem/natives/unix/linux/">
<include name="libunixfile_*.so"/>
</fileset>
<fileset dir="../org.eclipse.core.filesystem/natives/unix/fastlinux/">
<include name="libfastlinuxfile_*.so"/>
</fileset>
</copy>
</target>
</configuration>
<goals>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
#******************************************************************************
# Copyright (c) 2010 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
#******************************************************************************/
#
# makefile for libfastlinuxfile_1_0_0.so

CORE.C = fastlinuxfile.c
CORE.O = fastlinuxfile.o
LIB_NAME = libfastlinuxfile.so
LIB_NAME_FULL = libfastlinuxfile_1_0_0.so

#Set this to be your OS type
OS_TYPE = linux

#Set this to be the location of your JRE
ifeq (${JAVA_HOME},)
JAVA_HOME = /usr/lib/jvm/java-17/
endif

JDK_INCLUDE = -I ${JAVA_HOME}/include -I ${JAVA_HOME}/include/${OS_TYPE}
OPT_FLAGS=-O2 -g -s -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

core:
gcc $(OPT_FLAGS) -fPIC -c $(JDK_INCLUDE) -o $(CORE.O) $(CORE.C)
gcc $(OPT_FLAGS) -shared -Wl,-soname,$(LIB_NAME) -o $(LIB_NAME_FULL) $(CORE.O) -lc

clean:
rm -f $(CORE.O) $(LIB_NAME_FULL)

install: core
rm -f ../../../../org.eclipse.core.filesystem.linux.x86_64/os/linux/x86_64/libfastlinuxfile_1_0_0.so
mv libfastlinuxfile_1_0_0.so ../../../../org.eclipse.core.filesystem.linux.x86_64/os/linux/x86_64/
Loading
Loading