Skip to content

Commit

Permalink
Update to multibuild & new copyright license
Browse files Browse the repository at this point in the history
  • Loading branch information
pevisscher committed Jan 15, 2017
1 parent 20d5f71 commit f82cb8f
Show file tree
Hide file tree
Showing 42 changed files with 186 additions and 89 deletions.
50 changes: 42 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,56 @@ sudo: required
language: generic
matrix:
include:
# Use the built in venv for linux builds
- os: linux
dist: trusty
# Use generic language for osx
# disabled due to premake bug
- os: osx
osx_image: xcode8
language: generic
language: generic
env: TYPE=release ARCH=x86
- os: osx
osx_image: xcode8
language: generic
env: TYPE=debug ARCH=x86
- os: osx
osx_image: xcode8
language: generic
env: TYPE=release ARCH=x86_64
- os: osx
osx_image: xcode8
language: generic
env: TYPE=debug ARCH=x86_64
# Use the built in venv for linux builds
- os: linux
dist: trusty
env: TYPE=release ARCH=x86 VERSION=6
- os: linux
dist: trusty
env: TYPE=debug ARCH=x86 VERSION=6
- os: linux
dist: trusty
env: TYPE=release ARCH=x86_64 VERSION=6
- os: linux
dist: trusty
env: TYPE=coverage ARCH=x86_64 VERSION=6
- os: linux
dist: trusty
env: TYPE=debug ARCH=x86_64 VERSION=6
- os: linux
dist: trusty
env: TYPE=release VERSION=5 ARCH=x86_64
- os: linux
dist: trusty
env: TYPE=release VERSION=6 ARCH=x86_64
- os: linux
dist: trusty
env: TYPE=zpm VERSION=6
install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo pip install codecov; fi
- rm -rf ~/.matplotlib/fontList.cache
- bash script/install-unix.sh
- wget -O - https://raw.githubusercontent.com/Zefiros-Software/ZPM/master/script/install-zpm-travis.sh | bash
# annoying pip fix
- export BOTO_CONFIG=/tmp/bogusvalue
script:
- bash script/travis-build.sh
after_success:
- if [[ "$TRAVIS_BRANCH" == "master" ]] && [[ "$TRAVIS_OS_NAME" == "linux" ]]; then bash script/deploy-docs.sh; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then bash ./script/coverage.sh; fi
- if [[ "$TRAVIS_BRANCH" == "master" && "$TRAVIS_OS_NAME" == "linux" ]]; then bash script/deploy-docs.sh; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" && "$TYPE" = "coverage" ]]; then codecov; fi
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2016 Mick van Duijn, Koen Visscher and Paul Visscher
Copyright (c) 2017 Zefiros Software

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ When a bug is found, please insert it in the issue tracker, so we can resolve it
This project is licensed under the MIT license by [Zefiros Software](https://zefiros.eu).

```
Copyright (c) 2016 Mick van Duijn, Koen Visscher and Paul Visscher
Copyright (c) 2017 Zefiros Software
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
28 changes: 27 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,34 @@
platform:
- Win32
build: off
environment:
PYTHON: "C:\\Python35"
build: off
matrix:
- TYPE: zpm
- TYPE: release
ARCH: x86
PLAT: Win32
VSTUD: vs2015
- TYPE: debug
ARCH: x86
PLAT: Win32
VSTUD: vs2015
- TYPE: release
ARCH: x86_64
PLAT: x64
VSTUD: vs2015
- TYPE: debug
ARCH: x86_64
PLAT: x64
VSTUD: vs2015
- TYPE: release
ARCH: x86_64
PLAT: x64
VSTUD: vs2015
- TYPE: release
ARCH: x86_64
PLAT: x64
VSTUD: vs2015
install:
- powershell -command "Invoke-WebRequest -Uri https://goo.gl/1Zcf72 -OutFile %TEMP%/install-zpm.bat" && %TEMP%/install-zpm.bat
- "SET PATH=%PATH%;%ALLUSERSPROFILE%/zpm"
Expand Down
2 changes: 1 addition & 1 deletion bsp/include/bsp/barrier.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2016 Mick van Duijn, Koen Visscher and Paul Visscher
* Copyright (c) 2017 Zefiros Software.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion bsp/include/bsp/barrierType.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2016 Mick van Duijn, Koen Visscher and Paul Visscher
* Copyright (c) 2017 Zefiros Software.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion bsp/include/bsp/bsp.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2016 Mick van Duijn, Koen Visscher and Paul Visscher
* Copyright (c) 2017 Zefiros Software.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion bsp/include/bsp/bspAbort.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2016 Mick van Duijn, Koen Visscher and Paul Visscher
* Copyright (c) 2017 Zefiros Software.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion bsp/include/bsp/bspClass.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2016 Mick van Duijn, Koen Visscher and Paul Visscher
* Copyright (c) 2017 Zefiros Software.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion bsp/include/bsp/bspExt.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2016 Mick van Duijn, Koen Visscher and Paul Visscher
* Copyright (c) 2017 Zefiros Software.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion bsp/include/bsp/bspProf.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2016 Mick van Duijn, Koen Visscher and Paul Visscher
* Copyright (c) 2017 Zefiros Software.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion bsp/include/bsp/communicationQueues.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2016 Mick van Duijn, Koen Visscher and Paul Visscher
* Copyright (c) 2017 Zefiros Software.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion bsp/include/bsp/condVarBarrier.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2016 Mick van Duijn, Koen Visscher and Paul Visscher
* Copyright (c) 2017 Zefiros Software.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion bsp/include/bsp/historyRecorder.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2016 Mick van Duijn, Koen Visscher and Paul Visscher
* Copyright (c) 2017 Zefiros Software.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion bsp/include/bsp/historyRecorderType.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2016 Mick van Duijn, Koen Visscher and Paul Visscher
* Copyright (c) 2017 Zefiros Software.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion bsp/include/bsp/mixedBarrier.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2016 Mick van Duijn, Koen Visscher and Paul Visscher
* Copyright (c) 2017 Zefiros Software.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion bsp/include/bsp/processorData.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2016 Mick van Duijn, Koen Visscher and Paul Visscher
* Copyright (c) 2017 Zefiros Software.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion bsp/include/bsp/registerMapType.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2016 Mick van Duijn, Koen Visscher and Paul Visscher
* Copyright (c) 2017 Zefiros Software.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion bsp/include/bsp/requestVector.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2016 Mick van Duijn, Koen Visscher and Paul Visscher
* Copyright (c) 2017 Zefiros Software.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion bsp/include/bsp/requests.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2016 Mick van Duijn, Koen Visscher and Paul Visscher
* Copyright (c) 2017 Zefiros Software.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion bsp/include/bsp/spinLock.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2016 Mick van Duijn, Koen Visscher and Paul Visscher
* Copyright (c) 2017 Zefiros Software.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion bsp/include/bsp/stackAllocator.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2016 Mick van Duijn, Koen Visscher and Paul Visscher
* Copyright (c) 2017 Zefiros Software.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion bsp/include/bsp/threadRegisterMap.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2016 Mick van Duijn, Koen Visscher and Paul Visscher
* Copyright (c) 2017 Zefiros Software.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion bsp/include/bsp/threadRegisterVector.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2016 Mick van Duijn, Koen Visscher and Paul Visscher
* Copyright (c) 2017 Zefiros Software.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion bsp/include/bsp/util.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2016 Mick van Duijn, Koen Visscher and Paul Visscher
* Copyright (c) 2017 Zefiros Software.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion bsp/include/bsp/voidRecorder.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2016 Mick van Duijn, Koen Visscher and Paul Visscher
* Copyright (c) 2017 Zefiros Software.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ When you use BSPLib as part of a scientific publication, we would love you to ci
This project is licensed under the MIT license by [Zefiros Software](https://zefiros.eu).

```
Copyright (c) 2016 Mick van Duijn, Koen Visscher and Paul Visscher
Copyright (c) 2017 Zefiros Software
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ site_url: http://www.bsplib.eu
repo_url: https://github.com/Zefiros-Software/BSPLib
site_description: BSPLib a fast and easy to use parallel computation libary.
theme: united
copyright: Copyright © 2016 Mick van Duijn, Koen Visscher and Paul Visscher
copyright: Copyright © 2017 Zefiros Software
google_analytics: ['UA-29999374-2', 'www.bsplib.eu']
theme_dir: docs/style

Expand Down
32 changes: 17 additions & 15 deletions script/appveyor-build.bat
Original file line number Diff line number Diff line change
@@ -1,20 +1,22 @@
premake5 install-package --allow-install --allow-module || exit /b 1
premake5 vs2015 --ignore-updates || exit /b 1
msbuild bsp/BSPLib.sln /property:Configuration=Release /property:Platform=Win32 || exit /b 1
::msbuild bsp/BSPLib.sln /property:Configuration=Debug /property:Platform=Win32 || exit /b 1
msbuild bsp/BSPLib.sln /property:Configuration=Release /property:Platform=x64 || exit /b 1
::msbuild bsp/BSPLib.sln /property:Configuration=Debug /property:Platform=x64 || exit /b 1

cd test/
premake5 vs2015 || exit /b 1
msbuild zpm/BSPLib-ZPM.sln || exit /b 1
if "%TYPE%" == "zpm" (
cd test

zpm install-package --allow-install --allow-module || exit /b 1
zpm vs2015 --allow-install || exit /b 1

cd ../
msbuild zpm/BSPLib-ZPM.sln || exit /b 1

bin\x86\bsp-test.exe || exit /b 1
::bin\x86\bsp-testd.exe || exit /b 1
test\bin\x86\bsp-zpm-test.exe || exit /b 1
) else (
zpm install-package --allow-install --allow-module || exit /b 1
zpm %VSTUD% --allow-install || exit /b 1

bin\x86_64\bsp-test.exe || exit /b 1
::bin\x86_64\bsp-testd.exe || exit /b 1
msbuild bsp/BSPLib.sln /property:Configuration=Release /property:Platform=%PLAT% || exit /b 1

test\bin\x86\bsp-zpm-test.exe || exit /b 1
if %TYPE% == "debug" (
bin\%ARCH%\bsp-testd
) else (
bin\%ARCH%\bsp-test
)
)
9 changes: 0 additions & 9 deletions script/coverage.sh

This file was deleted.

15 changes: 15 additions & 0 deletions script/install-unix.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then

sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
sudo apt-get update -y

sudo apt-get install gcc-${VERSION} g++-${VERSION} -y
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-${VERSION} 60
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-${VERSION} 60
sudo update-alternatives --config gcc
sudo update-alternatives --config g++
sudo apt-get install gcc-${VERSION}-multilib g++-${VERSION}-multilib

# for coverage
sudo pip install codecov
fi

0 comments on commit f82cb8f

Please sign in to comment.