Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/native
diff options
context:
space:
mode:
authorJonah Graham2020-02-18 15:37:06 +0000
committerJonah Graham2020-02-18 16:02:02 +0000
commit9204702e8d4bc463b43b0eba00c417f3f43e8da9 (patch)
tree9248891c78ca520c2b04347b9dba318fff73d09f /native
parentd70521fcf848c714bee4c0656f549ea3afa1cac7 (diff)
downloadorg.eclipse.cdt-9204702e8d4bc463b43b0eba00c417f3f43e8da9.tar.gz
org.eclipse.cdt-9204702e8d4bc463b43b0eba00c417f3f43e8da9.tar.xz
org.eclipse.cdt-9204702e8d4bc463b43b0eba00c417f3f43e8da9.zip
Bug 521515: Document current state of building natives via Maven
Diffstat (limited to 'native')
-rw-r--r--native/org.eclipse.cdt.native.serial/jni/Readme.md20
-rwxr-xr-xnative/org.eclipse.cdt.native.serial/os/win32/x86_64/serial.dllbin380597 -> 380597 bytes
2 files changed, 1 insertions, 19 deletions
diff --git a/native/org.eclipse.cdt.native.serial/jni/Readme.md b/native/org.eclipse.cdt.native.serial/jni/Readme.md
index 9e8d9f663bd..2413d2502f5 100644
--- a/native/org.eclipse.cdt.native.serial/jni/Readme.md
+++ b/native/org.eclipse.cdt.native.serial/jni/Readme.md
@@ -1,21 +1,3 @@
### How to rebuild natives.
-The goal of these instructions is to have a cross-platform build of the natives in CDT. Using tools in CDT's
-[docker](https://github.com/eclipse-cdt/cdt-infra/blob/master/docker/cdt-infra-eclipse-full/ubuntu-18.04/Dockerfile) build image
-(quay.io/eclipse-cdt/cdt-infra-eclipse-full:latest).
-
-It is fairly straightforward to biuild the natives, run this command:
-
-```
-docker run --rm -it -v $(git rev-parse --show-toplevel):/work -w /work/$(git rev-parse --show-prefix) quay.io/eclipse-cdt/cdt-infra-eclipse-full:latest make -C jni rebuild
-```
-
-However, the challenge is that dll files on Windows have a timestamp in them. To have reproducible builds, we need to have a reproducible
-timestamp. Therefore we use the commit time of the commit to derive a timestamp (See the Makefile for more info). Because we want
-to keep the DLL checked in so that contributors don't need to rebuild it all the time we need a way to have to check in the dll with
-the same commit time. To do this we use GIT_COMMITTER_DATE. So, after editing and committing your change, you need to rebuild one last
-time with the commit date and the commit it without changing the commit date again using:
-
-```
-GIT_COMMITTER_DATE=$(git log -1 --pretty=format:%cI -- .) git commit --amend -a --reuse-message=HEAD
-```
+This information has moved to the `native` section in CDT's root README.md.
diff --git a/native/org.eclipse.cdt.native.serial/os/win32/x86_64/serial.dll b/native/org.eclipse.cdt.native.serial/os/win32/x86_64/serial.dll
index fa6b4ce6c0e..856f1399c32 100755
--- a/native/org.eclipse.cdt.native.serial/os/win32/x86_64/serial.dll
+++ b/native/org.eclipse.cdt.native.serial/os/win32/x86_64/serial.dll
Binary files differ

Back to the top