Re: [CMake] linking OBJECT libraries : Argument list too long

2016-05-30 Thread Biddiscombe, John A.
Magnus > Wouldn't a better solution be to use an options file, something like ld's @file[1]? < Yes. That solution would require me to make some probably significant changes to the cmake internals though, and I hoped to find out where the extra path / directories were coming from and shorten

Re: [CMake] linking OBJECT libraries : Argument list too long

2016-05-25 Thread Magnus Therning
Biddiscombe, John A. writes: > When building OpenBLAS on OSX, the link line generated contains around > 350K of text, and the max supported arg length is getconf ARG_MAX - > returns 262144. > This causes the link phase to abort with Error running link command: > Argument list

[CMake] linking OBJECT libraries : Argument list too long

2016-05-25 Thread Biddiscombe, John A.
When building OpenBLAS on OSX, the link line generated contains around 350K of text, and the max supported arg length is getconf ARG_MAX - returns 262144. This causes the link phase to abort with Error running link command: Argument list too long The reason for the problem is that many