Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
rbertran committed Sep 6, 2018
0 parents commit f92b094
Show file tree
Hide file tree
Showing 364 changed files with 236,486 additions and 0 deletions.
43 changes: 43 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
/.project
__pycache__
*.pyc
*.yaml.cache
*.yaml.*.cache
.coverage*
.settings
*.swp
htmlcov
/doc/source/microprobe.*.rst
/doc/source/examples_outputs/*
/doc/build/*
dev_tools/ci/*.sh.error
dev_tools/ci/*.sh.html
dev_tools/ci/*.sh.txt
.*.swp
.coverage
.coverage.*
coverage.zip
htmlcov/
venv/
./distribution/
documentation.txt
pep8.out
deploy-2.7/
deploy-2.6/
tests_*.xml
/.cache*
/distribution
/cover*xml
/venv*
/pylint*.out
/doc.out
/pycodestyle*.out
/pycodestyle.err
/nosetests.xml
*~
.#*
*#*#
tags
TAGS
.pydevproject
/.pydevproject
23 changes: 23 additions & 0 deletions .isort.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
[settings]
line_length=78
sections=FUTURE,STDLIB,THIRDPARTY,FIRSTPARTY,LOCALFOLDER

import_heading_future=Futures
import_heading_stdlib=Built-in modules
import_heading_thirdparty=Third party modules
import_heading_firstparty=Own modules
import_heading_localfolder=Local modules

multi_line_output=2
balanced_wrapping=True
skip=None

#known_future_library=future,pies
#known_standard_library=std,std2
#known_third_party=randomthirdparty
#known_first_party=mylib1,mylib2
#indent=' '
#multi_line_output=3
#length_sort=1
#forced_separate=django.contrib,django.utils
#default_section=FIRSTPARTY
65 changes: 65 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
language: python
python:
- 2.7
- 3.6
sudo: required
cache:
apt: true
directories:
- toolchain_riscv/install
timeout: 1000
dist: trusty
git:
submodules: false
addons:
apt:
packages:
- autoconf
- automake
- autotools-dev
- curl
- libmpc-dev
- libmpfr-dev
- libgmp-dev
- gawk
- build-essential
- bison
- flex
- texinfo
- gperf
- libtool
- patchutils
- bc
- zlib1g-dev
- graphviz
- shellcheck
before_install:
- set -e
- echo "Before install"
- shellcheck -x -s sh *.sh dev_tools/*/*.sh $(/bin/ls ./targets/*/dev_tools/*/*.sh)
- env
install:
- set -e
- echo "Install"
- pip install -U -r requirements_devel.txt
- export NEEDINSTALL=False
- ./dev_tools/ci/install_riscv_toolchain.sh
- export PATH=$PATH:$(pwd)/toolchain_riscv/install/bin
- for file in ./targets/*/dev_tools/ci/travis.sh ; do if [ -f $file ]; then . $file; fi; done;
script:
- set -e
- echo "Script"
# Code Conventions (always run)
- ./dev_tools/ci/code_conventions_001_pycodestyle.sh
- ./dev_tools/ci/code_conventions_002_pylint.sh
- if [ "$TRAVIS_PYTHON_VERSION" = "2.7" ]; then ./dev_tools/ci/code_conventions_003_documentation.sh; fi;
# Functional/Integration tests (always run)
- MP_TESTING_ARCH=RISCV ./dev_tools/ci/test_001_end2end_tools.sh RISCV
- MP_TESTING_ARCH=RISCV ./dev_tools/ci/test_002_end2end_examples.sh RISCV
- MP_TESTING_ARCH=RISCV ./dev_tools/ci/test_003_end2end_targets.sh RISCV
# Build Release (always run)
- if [ "$TRAVIS_PYTHON_VERSION" = "2.7" ]; then ./dev_tools/ci/build_001_distribution.sh ; fi;
# Test Release Deploy (always run)
- if [ "$TRAVIS_PYTHON_VERSION" = "2.7" ]; then ./dev_tools/ci/test_deploy_001_install.sh ${TRAVIS_PYTHON_VERSION} ; fi;
before_cache:
- rm -fr $HOME/.cache/pip/log
6 changes: 6 additions & 0 deletions ABOUT.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Microprobe is a productive microbenchmark generation framework that an user
can adapt towards exercising a complex multi-core, multi-threaded computing
system in a variety of redundant ways for answering a range of questions
related to power, energy and performance.

Documentation: https://ibm.github.io/microprobe/
50 changes: 50 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
All pull requests submitted must have their commits signed. You can
have git do this automatically with `git commit -s`. Alternatively,
add a line like the following to the end of your commit:

```
Signed-off-by: Your Name <your.name@your.email>
```

When submitting patches/pull requests, you agree to the following
Developer Certificate of Origin, i.e., items (a--d):

```
Developer Certificate of Origin
Version 1.1
Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129
Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.
Developer's Certificate of Origin 1.1
By making a contribution to this project, I certify that:
(a) The contribution was created in whole or in part by me and I
have the right to submit it under the open source license
indicated in the file; or
(b) The contribution is based upon previous work that, to the best
of my knowledge, is covered under an appropriate open source
license and I have the right under that license to submit that
work with modifications, whether created in whole or in part
by me, under the same open source license (unless I am
permitted to submit under a different license), as indicated
in the file; or
(c) The contribution was provided directly to me by some other
person who certified (a), (b) or (c) and I have not modified
it.
(d) I understand and agree that this project and the contribution
are public and that a record of the contribution (including all
personal information I submit with it, including my sign-off) is
maintained indefinitely and may be redistributed consistent with
this project or the open source license(s) involved.
```
Loading

0 comments on commit f92b094

Please sign in to comment.