Boost logo

Ublas :

Subject: Re: [ublas] Add squared norm convenience function
From: Ronald Wampler (rdwampler_at_[hidden])
Date: 2016-03-08 14:08:47


Thanks for the instructions.

I ran into one issue with building the test.

I am on Mac OS X using clang and I get the following error when
compiling "concepts.hpp" :

clang: error: unknown argument: '-fabi-version=0'

clang doesn't support this flag, but the jam file is adding this base
on the darwin toolset. This setting was added 6 years ago so gcc would
have been the default compile on Mac OS X. In order to determine an
appropriate fix, for the darwin toolset is clang expected to be the
default compiler now for all boost libraries? I imagine we could check
if the user is compiling with darwin/gcc vs darwin/clang.

Ron

On Mon, Mar 7, 2016 at 3:03 PM, Nasos Iliopoulos <nasos_i_at_[hidden]> wrote:
> By all means please provide a pull request at the "develop" branch.
>
> Take a look at these instructions:
> https://github.com/uBLAS/ublas/wiki
>
> Remember to replace the ublas/ublas repository with your forked repository
> in step 3 under "Compiling and running the unit tests:".
>
> -Nasos
>
>
>
>
>
>
> On 03/07/2016 01:03 PM, Ronald Wampler wrote:
>>
>> Hi,
>>
>> I was wondering if it would be possible to add a function to calculate
>> the squared norm? While it's easy to implement one's own version,
>> it occurs fairly frequently (e.g., in optimization problems) that it
>> would be nice to have. I would be happy to provide a patch if there is
>> interest.
>>
>> Ron
>> _______________________________________________
>> ublas mailing list
>> ublas_at_[hidden]
>> http://lists.boost.org/mailman/listinfo.cgi/ublas
>> Sent to: athanasios.iliopoulos.ctr.gr_at_[hidden]
>
>
> _______________________________________________
> ublas mailing list
> ublas_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/ublas
> Sent to: rdwampler_at_[hidden]