-
Notifications
You must be signed in to change notification settings - Fork 112
Open
Description
Description
When cross-compiling, the following error is shown during configuration:
> checking for .git... configure: error: cannot check for file existence when cross compiling
And indeed, the configure step has this line:
AC_CHECK_FILE([.git], [DOTGITDIR=yes], [DOTGITDIR=no])
Which is apparently not supported when cross-compiling.
Possible solution
The test command does work in a cross-compiling context, so I suggest to actually test the file existence in the following if. I can submit a MR if this is ok.
Steps
I'm using the nix builtin support for cross-compilation, so my steps are:
- clone https://github.com/autra/nixpkgs
- checkout branch postgresql_pgpointcloud
- run
nix build -L .#pkgsCross.aarch64-multiplatform.postgresqlPackages.pointcloud --cores 8
I don't really know how to do it directly.
Metadata
Metadata
Assignees
Labels
No labels