Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 7.1.0 #149

Merged
merged 10 commits into from
May 16, 2019
Merged

Release 7.1.0 #149

merged 10 commits into from
May 16, 2019

Conversation

caitlinross
Copy link
Member

In this release, we've cleaned up some old code from ROSS (related to old threaded ROSS, ROSS_MEMORY) as well as fixing warnings. Added -Wall and -Wextra flags for the build process in Travis.

Also since we've started using actual version numbers for ROSS, I updated the Cmake build to grab the actual version number from the commit tags, instead of just using the commit itself. So now a run will output the actual version number (making it easier if someone sends us ROSS output with an error to figure out what version they're actually using), as well as updating the package config output for the actual version number.

The README has been updated and README-vis removed. README-vis was way out of date (but the relevant webpages are up-to-date).

There's also been some fixes to the building of static or shared libraries. There is a ROSS_BUILD_SHARED_LIBS option now. If set to OFF (default), static libraries are built, otherwise shared libraries are built. This info has also been added to the installation instructions on the webpage.

@gonsie Any other minor changes we should add in before merging to master?

If this merge represents a feature addition to ROSS, the following items must be completed before the branch will be merged:

  • Document the feature on the blog (See the website Contributing guide).
    Include a link to your blog post in the Pull Request.
  • Builds should cleanly compile with -Wall and -Wextra.
  • One or more TravisCI tests should be created (and they should pass)
  • Through the TravisCI tests, coverage should increase
  • Test with CODES to ensure everything continues to work

caitlinross and others added 6 commits April 29, 2019 17:57
This commit fixes warnings when building with -Wall and -Wextra.  In addition, removes old unused code related to prior pthread versions of ROSS as well as removing the ROSS_MEMORY related code, due to no longer being fully functional.

* fixing warnings when building with Wall, etc

* fixing warnings in buddy.c

* fixing warnings in the rest of ROSS core

* fixing warnings in instrumentation

* fixing warnings with phold

* fixing undefined reference causing linking error

* adding warning flags to Travis builds

* fixing some additional warnings that appear in release builds

* minor changes to travis builds

* removing old, unnecessary pthread related code

* fixing ifdefs for ROSS_MEMORY

* removing tw-memory related stuff for now

* removing some unused stuff and unnecessary function arguments

* lots of documentation for network-mpi and removing some unnecessary stuff

* keeping the ROSS models submodule from being used in Travis tests

* minor fix for C++ Travis build

* adding installing phold to bin

* adding some RPATH commands to CMakeLists.txt for Spack

* removed ROSS-Models and template model submodule

* update readme for submodule details

* rpath in pkg-config

* adding develop branch to Travis safelist
* updating the way the version number is grabbed, so we can have the actual version and not the git commit

* fixing an error that caused coveralls to fail
@caitlinross caitlinross requested a review from gonsie May 3, 2019 20:16
* see if gcov and clang versions match

* maybe we should be using lcov... since we apt-get it

* whitespace

* what version is llvm-cov?

* use llvm-cov

* llvm-cov gcov

* remove cov version checks
@caitlinross caitlinross mentioned this pull request May 13, 2019
@gonsie
Copy link
Member

gonsie commented May 15, 2019

This looks great to me.

Caitlin Ross added 3 commits May 16, 2019 13:57
@codecov
Copy link

codecov bot commented May 16, 2019

Codecov Report

Merging #149 into master will decrease coverage by 12.3%.
The diff coverage is 82.27%.

Impacted file tree graph

@@             Coverage Diff             @@
##           master     #149       +/-   ##
===========================================
- Coverage   70.73%   58.42%   -12.31%     
===========================================
  Files          35       32        -3     
  Lines        3977     3541      -436     
===========================================
- Hits         2813     2069      -744     
- Misses       1164     1472      +308
Impacted Files Coverage Δ
core/tw-eventq.h 91.17% <ø> (+9.56%) ⬆️
core/tw-kp.c 79.45% <ø> (+4.15%) ⬆️
core/rand-clcg4.c 84.76% <ø> (+0.59%) ⬆️
core/ross-kernel-inline.h 61.53% <ø> (-10.34%) ⬇️
core/tw-lp.c 52.45% <ø> (-22.55%) ⬇️
core/buddy.c 0% <0%> (-78.4%) ⬇️
core/ross-inline.h 40% <0%> (-33.59%) ⬇️
core/instrumentation/st-model-data.c 75% <100%> (+0.53%) ⬆️
core/instrumentation/ross-lps/specialized-lps.c 100% <100%> (ø) ⬆️
core/instrumentation/st-event-trace.c 80.76% <100%> (-0.72%) ⬇️
... and 45 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6cb9316...6b1e084. Read the comment docs.

@caitlinross
Copy link
Member Author

Brought in Elsa's recent PR that fixed coverage. Also decided to make some adjustments to the way I was doing the version number in ROSS. So now a simulation outputs version, commit and some other info. For example:

ROSS Version: v7.0.1-12-g6b1e0842

The "12" after the version number is the number of commits since the version tag. So when running directly on master branch, this should be 0, because all commits to master should have a new version tag. The part after the g is the commit hash, and if the repo is dirty, it will append "-dirty" to the end.
I think this will be useful when people come to us for help in debugging ROSS issues. I've also recommended to CODES they should have it output CODES version info as well.

@caitlinross caitlinross merged commit e940296 into master May 16, 2019
@caitlinross caitlinross deleted the release-7.1.0 branch May 16, 2019 19:06
@gonsie
Copy link
Member

gonsie commented May 16, 2019

Love the versioning info!!!!!!

@caitlinross caitlinross mentioned this pull request May 16, 2019
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants