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

Insert build status image inline #49

Closed
wants to merge 34 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
a967cb0
M-x delete-trailing-whitespace & M-x untabify
hvr Dec 21, 2014
21520b2
Set GitHub's Git repo as primary repo
hvr Dec 21, 2014
d9966ae
Update README.md
Mar 13, 2015
5af0c12
Add some tests demonstrating https://github.com/haskell/random/issues…
idontgetoutmuch Apr 4, 2015
d88796e
Make benchmark build and add benchmark for tf-random.
idontgetoutmuch Apr 4, 2015
44cfeec
Merge pull request #22 from hvr/pr-detab
ekmett Jul 31, 2015
82cbe34
Merge pull request #24 from frankcash/patch-1
ekmett Jul 31, 2015
357090b
GHC testsuite: require random to be installed
thomie Jan 20, 2016
c72dd0a
Merge pull request #33 from thomie/master
cartazio Jan 20, 2016
bc34220
version 2.0 of random begins
cartazio Jan 15, 2017
3e6efad
pure Splitmix implementation
cartazio Jan 15, 2017
c0fb911
initial attempt to see how far i could get with s -> (# m a , s #) m…
cartazio Feb 10, 2017
644c184
RandomT in the style of s -> m (a,s) is working
cartazio Feb 10, 2017
94c7409
drop comments
cartazio Feb 10, 2017
cfe3c3b
basic sampler values
cartazio Feb 10, 2017
63b9d30
Add PCG internal module
cchalmers Feb 18, 2017
6b744c3
formmatting tweaks to splitmix code plus enabling wall
cartazio Apr 17, 2017
bbf9330
correct the PCG module name to reflect that its the 32bit word sampler.
cartazio May 21, 2017
f437728
fixed up file names
cartazio May 21, 2017
c3b75aa
fix case on CHANGELOG.md
cartazio May 21, 2017
87dea90
provisional fast and really sloppy unit interval generator. For basic…
cartazio May 26, 2017
a120d4a
basic polar method rejection sampler for normal distribution
cartazio May 27, 2017
21ff276
rejection sampling for uniform intervals of smallish integers (those …
cartazio May 29, 2017
bb6ec02
can now uniformly sample any Word64 interval of the form [a,b]
cartazio May 30, 2017
92ad942
design notes on the permutation algorithm
cartazio May 30, 2017
fe65eaa
my permutations type check but i haven’t tested them for correctness …
cartazio Jun 1, 2017
615434e
lots of miscellaneous cleanups
cartazio Jun 1, 2017
253eab2
add vector dependency for now and clean up the permutation code and i…
cartazio Jun 3, 2017
c9aea5b
some formatting cleanup and current task list
cartazio Nov 7, 2017
c85b0d0
making the mangling safe for ghc 8.4 and above
cartazio Dec 25, 2017
de51f60
setting up the skeleton for a 1.3 mostly compatible release
cartazio Dec 26, 2017
c6c3ed7
Notes / References for constructing a splitmix rng that follows the l…
cartazio Dec 26, 2017
22a2a16
add ord insance to splitmix generator datatype
cartazio Mar 1, 2018
78f70ad
Insert build status image inline
ron-wolf Sep 1, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .darcs-boring

This file was deleted.

13 changes: 1 addition & 12 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,12 +1 @@
*~

Thumbs.db
.DS_Store

GNUmakefile
dist-install/
ghc.mk

dist
.cabal-sandbox
cabal.sandbox.config
cabal.project.local
108 changes: 103 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,103 @@
language: haskell
ghc:
- 7.4
- 7.6
- 7.8
# This Travis job script has been generated by a script via
#
# make_travis_yml_2.hs 'random.cabal'
#
# For more information, see https://github.com/hvr/multi-ghc-travis
#
language: c
sudo: false

git:
submodules: false # whether to recursively clone submodules

cache:
directories:
- $HOME/.cabal/packages
- $HOME/.cabal/store

before_cache:
- rm -fv $HOME/.cabal/packages/hackage.haskell.org/build-reports.log
# remove files that are regenerated by 'cabal update'
- rm -fv $HOME/.cabal/packages/hackage.haskell.org/00-index.*
- rm -fv $HOME/.cabal/packages/hackage.haskell.org/*.json
- rm -fv $HOME/.cabal/packages/hackage.haskell.org/01-index.cache
- rm -fv $HOME/.cabal/packages/hackage.haskell.org/01-index.tar
- rm -fv $HOME/.cabal/packages/hackage.haskell.org/01-index.tar.idx

matrix:
include:


- compiler: "ghc-7.10.3"
env:
# env: TEST=--disable-tests BENCH=--disable-benchmarks
addons: {apt: {packages: [ghc-ppa-tools,cabal-install-head,ghc-7.10.3], sources: [hvr-ghc]}}
- compiler: "ghc-8.0.1"
env:
# env: TEST=--disable-tests BENCH=--disable-benchmarks
addons: {apt: {packages: [ghc-ppa-tools,cabal-install-head,ghc-8.0.1], sources: [hvr-ghc]}}
- compiler: "ghc-8.0.2"
env:
# env: TEST=--disable-tests BENCH=--disable-benchmarks
addons: {apt: {packages: [ghc-ppa-tools,cabal-install-head,ghc-8.0.2], sources: [hvr-ghc]}}
- compiler: "ghc-8.2.1"
env:
# env: TEST=--disable-tests BENCH=--disable-benchmarks
addons: {apt: {packages: [ghc-ppa-tools,cabal-install-head,ghc-8.2.1], sources: [hvr-ghc]}}
- compiler: "ghc-head"
env:
# env: TEST=--disable-tests BENCH=--disable-benchmarks
addons: {apt: {packages: [ghc-ppa-tools,cabal-install-head,ghc-head], sources: [hvr-ghc]}}

allow_failures:
- compiler: "ghc-head"

before_install:
- HC=${CC}
- unset CC
- PATH=/opt/ghc/bin:/opt/ghc-ppa-tools/bin:$PATH
- PKGNAME='random'

install:
- cabal --version
- echo "$(${HC} --version) [$(${HC} --print-project-git-commit-id 2> /dev/null || echo '?')]"
- BENCH=${BENCH---enable-benchmarks}
- TEST=${TEST---enable-tests}
- travis_retry cabal update -v
- sed -i 's/^jobs:/-- jobs:/' ${HOME}/.cabal/config
- rm -fv cabal.project.local
- "echo 'packages: .' > cabal.project"
- rm -f cabal.project.freeze
- cabal new-build -w ${HC} ${TEST} ${BENCH} --dep -j2
- cabal new-build -w ${HC} --disable-tests --disable-benchmarks --dep -j2

# Here starts the actual work to be performed for the package under test;
# any command which exits with a non-zero exit code causes the build to fail.
script:
- if [ -f configure.ac ]; then autoreconf -i; fi
- rm -rf dist/
- cabal sdist # test that a source-distribution can be generated
- cd dist/
- SRCTAR=(${PKGNAME}-*.tar.gz)
- SRC_BASENAME="${SRCTAR/%.tar.gz}"
- tar -xvf "./$SRC_BASENAME.tar.gz"
- cd "$SRC_BASENAME/"
## from here on, CWD is inside the extracted source-tarball
- rm -fv cabal.project.local
- "echo 'packages: .' > cabal.project"
# this builds all libraries and executables (without tests/benchmarks)
- rm -f cabal.project.freeze
- cabal new-build -w ${HC} --disable-tests --disable-benchmarks
# this builds all libraries and executables (including tests/benchmarks)
# - rm -rf ./dist-newstyle
- cabal new-build -w ${HC} ${TEST} ${BENCH}

# there's no 'cabal new-test' yet, so let's emulate for now
- TESTS=( $(awk 'tolower($0) ~ /^test-suite / { print $2 }' *.cabal) )
- if [ "$TEST" != "--enable-tests" ]; then TESTS=(); fi
- shopt -s globstar;
RC=true; for T in ${TESTS[@]}; do echo "== $T ==";
if dist-newstyle/build/**/$SRC_BASENAME/**/build/$T/$T; then echo "= $T OK =";
else echo "= $T FAILED ="; RC=false; fi; done; $RC

# EOF
142 changes: 0 additions & 142 deletions Benchmark/BinSearch.hs

This file was deleted.

24 changes: 0 additions & 24 deletions Benchmark/Makefile

This file was deleted.

Loading