Displaying 20 results from an estimated 400 matches similar to: "Clang attributes issue"
2017 Apr 18
3
R 3.4 has broken C++11 support
Hi,
This commit (I?m using the mirror to have a working link) broke C++11 compilation.
Before (and still now, according to the comments in the configure script), it?s sufficient to just have ?SystemRequirements: C++11? in the DESCRIPTION file.
But now ?R CMD install? fails with ?C++11 standard requested but CXX11 is not defined?, which is, according to the documentation , a lie.
I can?t
2014 May 15
2
[LLVMdev] 3.4 branch gcc 4.9 build error
On 15/05/2014 22:12, Tom Stellard wrote:
> On Thu, May 15, 2014 at 01:38:32PM +0200, Tuncer Ayaz wrote:
>> On Thu, 15 May 2014 02:25:30 +0200, Tom Stellard wrote:
>>
>>> On Sat, May 10, 2014 at 11:48:23PM +0200, Tuncer Ayaz wrote:
>>>> Tom,
>>>>
>>>> now that 3.4.1 is out, any chance of a 3.4.2 with just the three
>>>> fixes
2017 Mar 19
3
Experimental CXX_STD problem in R 3.4
C++ support across different platforms is now very heterogeneous. The standard is evolving rapidly but there are also platforms in current use that do not support the recent iterations of the standard. Our goal for R 3.4.0 is to give as much flexibility as possible. The default compiler is whatever you get "out of the box" without setting the "-std=" flag. This means different
2017 Mar 18
2
Experimental CXX_STD problem in R 3.4
R 3.4 has 'experimental' support for setting CXX_STD to CXX98 / CXX11
/ CXX14 / CXX17.
However on most platforms, the R configuration seems to leave the
CXX1Y and CXX1Z fields blank in "${R_HOME}/etc/Makeconf" (rather than
falling back on default CXX). Therefore specifying e.g CXX_STD= CXX14
will fail build with cryptic errors (due to compiling with CXX="")
I
2014 May 15
2
[LLVMdev] 3.4 branch gcc 4.9 build error
On 15/05/2014 22:52, Tom Stellard wrote:
> On Thu, May 15, 2014 at 10:41:08PM +0300, Alp Toker wrote:
>> On 15/05/2014 22:12, Tom Stellard wrote:
>>> On Thu, May 15, 2014 at 01:38:32PM +0200, Tuncer Ayaz wrote:
>>>> On Thu, 15 May 2014 02:25:30 +0200, Tom Stellard wrote:
>>>>
>>>>> On Sat, May 10, 2014 at 11:48:23PM +0200, Tuncer Ayaz wrote:
2020 Oct 08
1
Installing package fails at "testing if installed package can be loaded from temporary location"
Dirk, thank you a thousand times.
Indeed, src/Makevars was wrong. I modified Makevars so that now looks like
the below and the package now compiled and linked properly.
CXX_STD = CXX11
PKG_LIBS += $(SHLIB_OPENMP_CXXFLAGS) $(LAPACK_LIBS) $(BLAS_LIBS) $(FLIBS)
$(shell ${R_HOME}/bin/Rscript -e "RcppParallel::RcppParallelLibs()")
PKG_CXXFLAGS = $(SHLIB_OPENMP_CXXFLAGS) -I../inst/include
2012 Nov 27
0
[LLVMdev] How to enable c++11 in a llvm project?
Hi,
I use the following line to configure, which can enable the c++11 in the
project building. However, I don't think it's an elegant way to do the
trick.
$ CXX="clang++ -std=c++11" ../configure
I don't know why "-enable-cxx11" doesn't work as expected when I configure
the project.
Regards.
On Mon, Nov 26, 2012 at 7:34 PM, Mingliang LIU <liuml07 at
2014 May 15
3
[LLVMdev] 3.4 branch gcc 4.9 build error
On Thu, 15 May 2014 02:25:30 +0200, Tom Stellard wrote:
> On Sat, May 10, 2014 at 11:48:23PM +0200, Tuncer Ayaz wrote:
> > Tom,
> >
> > now that 3.4.1 is out, any chance of a 3.4.2 with just the three
> > fixes or at least merging them to the 3.4 branch?
>
> I've pushed the two approved patches to the 3.4 branch, can you
> verify that they work with gcc
2012 Nov 27
1
[LLVMdev] How to enable c++11 in a llvm project?
I've added the missing magic to Makefile.llvm.rules in r168685.
On Tue, Nov 27, 2012 at 12:05 AM, Mingliang LIU <liuml07 at gmail.com> wrote:
> Hi,
>
> I use the following line to configure, which can enable the c++11 in the
> project building. However, I don't think it's an elegant way to do the
> trick.
> $ CXX="clang++ -std=c++11" ../configure
2016 Jun 14
2
Buildbot numbers for the last week of 6/05/2016 - 6/11/2016
Hello everyone,
Below are some buildbot numbers for the last week of 6/05/2016 - 6/11/2016.
Thanks
Galina
buildername | was_red
-----------------------------------------------------------+-----------
sanitizer-x86_64-linux-bootstrap | 134:12:25
perf-x86_64-penryn-O3-polly-parallel-fast | 46:29:26
2014 Mar 30
2
CXX_STD and configure.ac in packages
In C++ code for use in a R-3.1.0 package, my specific problem is that I would
like to use <unordered_map> if it is available, or <tr1/unordered_map> if not,
or <map> if all else fails.
I (think I) can accomplish this with configure.ac as
AC_INIT("DESCRIPTION")
CXX=`"${R_HOME}/bin/R" CMD config CXX`
CXXFLAGS=`"${R_HOME}/bin/R" CMD config
2012 Nov 26
2
[LLVMdev] How to enable c++11 in a llvm project?
Hi,
I'm using the latest LLVM (r168491) built by GCC 4.7.2 (Gentoo masked
version). The clang++ runs as expected when I compile a hello program with
c++11 enabled.
I created a project (copied from sample/) where there are some C++ source
files with c++11 features. I configured my project using the following
command:
$ CXXFLAGS="-std=c++11" ../configure --enable-cxx11
However, I
2017 Jan 28
2
RFC: Moving DAG heuristic-based transforms to MI passes
In fact to commit the change before dealing with worst-case performance
is a good idea because here we have 2 different issues. But the main
idea of this RFC is an attempt to show the better approach to to these
kinds of transformations and to suggest to use this approach in the future.
At the same time, I'm trying to explain that this patch is not the
performance one because the
2016 Jul 27
1
Buildbot numbers for the week of 7/10/2016 - 7/16/2016
Hello everyone,
Below are some buildbot numbers for the week of 7/10/2016 - 7/16/2016.
Please see the same data in attached csv files:
The longest time each builder was red during the week;
"Status change ratio" by active builder (percent of builds that changed the
builder status from greed to red or from red to green);
Count of commits by project;
Number of completed builds, failed
2015 Mar 24
2
[LLVMdev] Propagate clang attribute to IR
Hi,
I want to *tag* some functions with some *flags*. I was using annotate((“myFlag”)) and everything was working fine until I tried on ObjC method. It seems that clang just ignore it.
So, to be able to *flag* my functions I’m trying to add a *real* attribute to clang.
I’ve added a new attribute to clang in tools/clang/include/clang/Basic/Attr.td:
def NoFLA : Attr {
let Spellings =
2016 Oct 05
1
Buildbot numbers for the week of 9/25/2016 - 10/1/2016
Hello everyone,
Below are some buildbot numbers for the last week of 9/25/2016 - 10/1/2016.
Please see the same data in attached csv files:
The longest time each builder was red during the last week;
"Status change ratio" by active builder (percent of builds that changed the
builder status from greed to red or from red to green);
Count of commits by project;
Number of completed
2014 Sep 26
1
Why is my R package still compiling with the O2 flag?
When I install an R package with cpp codes such as rrcov via CRAN (under
R 3.1.1, using no Makevars file and under Ubuntu 14.04 using GCC 4.8),
the cpp code is compiled with the -o3 flag (in fact, looking at the
Makeconf file this seem to again be the default since R 3.1.1) But when
I install my own package via CRAN it is compiled with the -o2 flag.
My questions are what is causing my
2015 Mar 24
2
[LLVMdev] Propagate clang attribute to IR
> On 24 Mar 2015, at 14:55, Aaron Ballman <aaron at aaronballman.com> wrote:
>
> On Tue, Mar 24, 2015 at 9:48 AM, Rinaldini Julien
> <julien.rinaldini at heig-vd.ch> wrote:
>> Hi,
>>
>> I want to *tag* some functions with some *flags*. I was using annotate((“myFlag”)) and everything was working fine until I tried on ObjC method. It seems that clang just
2019 Sep 04
2
possible bug in R's configure check for C++11 features
I am trying to compile R under a new setup, and frankly, I have had a lot
of problems, but I think the stuff below points to a possible bug in R's
(custom) configure checks for C++11/14/17, but not for C++98.
This is a report about R from the R-3-6 branch, with a svn checkout from
today, revision r77135.
In my case the compiler name is x86_64-conda_cos6-linux-gnu-g++, not g++. I
denote this
2017 Mar 15
2
CMake Cache PGO error
I was trying to build llvm + clang with cmake cache PGO.cmake and ninja
stage2. I used the 4.0.0 final tag vfrom svn.
This seems to work for me.
I added libcxx, libcxxabi, llld etc.
And now I get the following cmake error.
-- Performing Test LIBCXX_SUPPORTS_STD_EQ_CXX11_FLAG
-- Performing Test LIBCXX_SUPPORTS_STD_EQ_CXX11_FLAG - Failed
CMake Error at projects/libcxx/CMakeLists.txt:396