mbox series

[0/4] Fit the building tools to Plan 9 environment

Message ID pull.694.git.1596675905.gitgitgadget@gmail.com (mailing list archive)
Headers show
Series Fit the building tools to Plan 9 environment | expand

Message

Linus Arver via GitGitGadget Aug. 6, 2020, 1:05 a.m. UTC
I've posted some commits for porting git to Plan 9.

This pull request is thing that cut off building scripts from #305 and is
re-constructed that.

I expect this don't change any artifacts.

lufia (4):
  Use $(SHELL_PATH) instead of sh in Makefile.
  Define TAR_CF and TAR_XF variables in Makefile
  Fit to Plan 9's ANSI/POSIX compatibility layer
  Use $(LD) instead of $(CC) for linking the object files

 .github/workflows/main.yml |  1 +
 GIT-VERSION-GEN            |  2 +-
 Makefile                   | 33 ++++++++++---------
 ci/lib.sh                  |  8 ++++-
 config.mak.in              |  1 +
 config.mak.uname           | 18 +++++++----
 generate-cmdlist.sh        | 19 +++++++----
 git-gui/Makefile           |  6 ++--
 t/chainlint.sed            | 66 +++++++++++++++++++-------------------
 templates/Makefile         |  6 ++--
 10 files changed, 93 insertions(+), 67 deletions(-)


base-commit: dc04167d378fb29d30e1647ff6ff51dd182bc9a3
Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-694%2Flufia%2Fcompat-p9-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-694/lufia/compat-p9-v1
Pull-Request: https://github.com/gitgitgadget/git/pull/694

Comments

brian m. carlson Aug. 6, 2020, 2:23 a.m. UTC | #1
On 2020-08-06 at 01:05:00, KADOTA, Kyohei via GitGitGadget wrote:
> I've posted some commits for porting git to Plan 9.
> 
> This pull request is thing that cut off building scripts from #305 and is
> re-constructed that.
> 
> I expect this don't change any artifacts.

I took a look at this and left some comments.  I expect you're going to
have your work cut out for you in the test suite due to the lack of
good, modern POSIX support.

I regret to report that I looked at the source code of the ANSI/POSIX
environment from the Berkeley release and found that it's mostly shell
scripts (well, rc scripts) and has all of the functionality one would
expect from that.  I suspect that this will not make the port any
easier.