stan-dev / stan-dev/rstanarm

Built with LTO

Open
#238 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
R
Stars
401
Forks
136
PR merge metrics
No merged PRs in 30d

Description

Summary:

After / during the feature/2.17 is merged, we need to figure out how to build rstanarm with LTO whenever possible.

Description:

Adding -flto=8 to the ~/.R/Makevars reduces the compile time to about 30 seconds per Stan program (in parallel) and about 90 seconds to link.

R Version:

3.4.x

Operating System:

Debian

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the feature/2.17 context and the ~/.R/Makevars setting described in the issue, then determine how rstanarm is currently built on Debian. Done means LTO is used whenever possible without breaking supported builds, with compile and link behavior checked against the timings reported here.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
build-system
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.