From e2dd4868ffa31e514c6c9c7db7e40ed53bd1ea2c Mon Sep 17 00:00:00 2001 From: Jonah Graham Date: Wed, 12 Aug 2020 09:53:50 -0400 Subject: [PATCH] [releng] Add instructions for updating org.eclipse.cdt.core.win32.x86_64's dlls (BTW We need a better solution for this!) Change-Id: Ic163e2504ff62cabc6951de2ec5606646c460937 --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 07ded6fd42f..461ce4a4965 100644 --- a/README.md +++ b/README.md @@ -128,6 +128,14 @@ However, the challenge is that dll files on Windows have a timestamp in them. To 4. `git add -- $DIR` 5. `GIT_COMMITTER_DATE=$(git log -1 --pretty=format:%cI -- $DIR) git commit --amend --reuse-message=HEAD` +The example for the core native bundle is: + +1. `DIR=core/org.eclipse.cdt.core.native` +2. `mvn process-resources -DuseSimrelRepo -Dnative=docker -f $DIR` +3. `git add -- core/org.eclipse.cdt.core.win32.x86_64/os/win32/x86_64` +4. `GIT_COMMITTER_DATE=$(git log -1 --pretty=format:%cI -- $DIR) git commit --amend --reuse-message=HEAD` + + As a CDT contributor if you are having an issue recreating the above flow, please reach out on cdt-dev mailing list or in the bug/gerrit you submit. A CDT committer can help ensure the native libraries are correctly rebuilt. An additional tip is to set the following in `.gitconfig` to allow you to diff `.dll` files. This will show the timestamp of the DLL in the diff as part of the DLL headers.