[R-pkg-devel] How to use O4 flag in an RCpp project?
Kasper Daniel Hansen
k@@perd@n|e|h@n@en @end|ng |rom gm@||@com
Wed May 21 23:22:27 CEST 2025
You set the systems compile options when you run configure for R. Like
.configure \
CFLAG="-O4"
and then you do the usual
make
(you need to set a lot more stuff for this to work)
On Wed, May 21, 2025 at 4:17 PM Peiyuan Zhu <garyzhubc using gmail.com> wrote:
> So are you suggesting to make a Make file that can skip the system’s
> setting? I’m not sure what exactly is the solution you’re proposing.
>
> On Wednesday, May 21, 2025, Dirk Eddelbuettel <edd using debian.org> wrote:
>
>>
>> On 21 May 2025 at 13:55, Peiyuan Zhu wrote:
>> | Thanks Kasper, but I don’t know how exactly to accomplish this. As Dirk
>> says
>> | the system overwrites it every time.
>>
>> That is *not* what Dirk said.
>>
>> Dirk
>>
>> --
>> dirk.eddelbuettel.com | @eddelbuettel | edd using debian.org
>>
>
--
Best,
Kasper
[[alternative HTML version deleted]]
More information about the R-package-devel
mailing list