pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: lang/compilers support for MacOS



On 01/12/2017 03:05, Adam wrote:
Here are the issues I ran into (after the patch):

lang/llvm (a clang dependency): Compiling failed with the following error:

[  4%] Linking CXX static library ../libLLVMSupport.a
libtool: unrecognized option `-static'
libtool: Try `libtool --help' for more information.
*** Error code 1

lang/libLLVM: Compiling failed with the following error:

[  6%] Linking CXX static library ../libLLVMSupport.a
libtool: unrecognized option `-static'
libtool: Try `libtool --help' for more information.
*** Error code 1
I fixed this in llvm/clang 3.9.1 by adding

CMAKE_ARGS+=    -DCMAKE_LIBTOOL=/usr/bin/libtool

System libtool is a different tool than the one provided by pkgsrc, so the former should be used for llvm/clang.

I don't use GCC at all.

Kind regards,
Adam

Thanks very much for this fix.

I'm trying to promote pkgsrc for scientific computing and improving support for OS X will be a big help. There is some interest, but we haven't yet reached critical mass to make it really take off.

Many scientific applications use openmp as well, and I'm not sure how solid support is in clang yet, so I'd still be interested in working GCC packages at this point.

My hope is to recruit a small army of CentOS and OS X users to contribute packages (these are the most popular platforms in research computing), which of course would benefit all platforms. There's a lot of low-hanging fruit in the genomics field (many small programs with no MPI or other complex requirements) and this is probably the fastest growing area in scientific computing. I see an opportunity for pkgsrc to capture the market early.

Regards,

    Jason




Home | Main Index | Thread Index | Old Index