-
Notifications
You must be signed in to change notification settings - Fork 129
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into libsimdpp-2.x
- Loading branch information
Showing
1,219 changed files
with
39,273 additions
and
14,402 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
|
||
# General | ||
# ------- | ||
|
||
# version format | ||
version: 2.1.{build} | ||
|
||
# branches to build | ||
branches: | ||
only: | ||
- master | ||
- dev | ||
- cxx98 | ||
- cxx98-staging | ||
|
||
max_jobs: 1 | ||
|
||
# Environment | ||
# ----------- | ||
|
||
image: | ||
- Visual Studio 2013 | ||
- Visual Studio 2015 | ||
- Visual Studio 2017 | ||
|
||
shallow_clone: true | ||
|
||
clone_folder: c:\projects\libsimdpp | ||
|
||
# Build configuration | ||
# ------------------- | ||
|
||
before_build: | ||
- cd c:\projects\libsimdpp | ||
- if exist build rmdir build /s /q | ||
- mkdir build | ||
- cd build | ||
- cmake .. | ||
|
||
build_script: | ||
- cd c:\projects\libsimdpp\build | ||
- cmake --build . --target test_insn | ||
- cmake --build . --target test_dispatcher | ||
- cmake --build . --target test_expr | ||
|
||
|
||
# Tests configuration | ||
# ------------------- | ||
|
||
test_script: | ||
- cd c:\projects\libsimdpp\build | ||
- cmake --build . --target check |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,14 @@ | ||
build | ||
*.user* | ||
*~ | ||
# Documentation output | ||
doc/output | ||
doc/reference | ||
# QtCreator files | ||
libsimdpp.config | ||
libsimdpp.creator | ||
libsimdpp.includes | ||
libsimdpp.files | ||
*.user* | ||
# Misc files created during local development | ||
*~ | ||
build* | ||
venv | ||
pywiki |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,124 @@ | ||
dist: trusty | ||
sudo: false | ||
language: | ||
- cpp | ||
|
||
matrix: | ||
include: | ||
- os: linux | ||
addons: | ||
apt: | ||
sources: | ||
- ubuntu-toolchain-r-test | ||
packages: | ||
- g++-4.9 | ||
env: | ||
- MATRIX_EVAL="CC=gcc-4.9 && CXX=g++-4.9" | ||
|
||
- os: linux | ||
addons: | ||
apt: | ||
sources: | ||
- ubuntu-toolchain-r-test | ||
packages: | ||
- g++-5 | ||
env: | ||
- MATRIX_EVAL="CC=gcc-5 && CXX=g++-5" | ||
|
||
- os: linux | ||
addons: | ||
apt: | ||
sources: | ||
- ubuntu-toolchain-r-test | ||
packages: | ||
- g++-6 | ||
env: | ||
- MATRIX_EVAL="CC=gcc-6 && CXX=g++-6" | ||
|
||
- os: linux | ||
addons: | ||
apt: | ||
sources: | ||
- ubuntu-toolchain-r-test | ||
packages: | ||
- g++-7 | ||
env: | ||
- MATRIX_EVAL="CC=gcc-7 && CXX=g++-7" | ||
|
||
- os: linux | ||
addons: | ||
apt: | ||
sources: | ||
- ubuntu-toolchain-r-test | ||
- llvm-toolchain-precise-3.6 | ||
packages: | ||
- clang-3.6 | ||
env: | ||
- MATRIX_EVAL="CC=clang-3.6 && CXX=clang++-3.6" | ||
|
||
- os: linux | ||
addons: | ||
apt: | ||
sources: | ||
- ubuntu-toolchain-r-test | ||
- llvm-toolchain-precise-3.7 | ||
packages: | ||
- clang-3.7 | ||
env: | ||
- MATRIX_EVAL="CC=clang-3.7 && CXX=clang++-3.7" | ||
|
||
- os: linux | ||
addons: | ||
apt: | ||
sources: | ||
- ubuntu-toolchain-r-test | ||
- llvm-toolchain-precise-3.8 | ||
packages: | ||
- clang-3.8 | ||
env: | ||
- MATRIX_EVAL="CC=clang-3.8 && CXX=clang++-3.8" | ||
|
||
- os: linux | ||
addons: | ||
apt: | ||
sources: | ||
- llvm-toolchain-trusty-3.9 | ||
packages: | ||
- clang-3.9 | ||
env: | ||
- MATRIX_EVAL="CC=clang-3.9 && CXX=clang++-3.9" | ||
|
||
- os: linux | ||
addons: | ||
apt: | ||
sources: | ||
- llvm-toolchain-trusty-4.0 | ||
packages: | ||
- clang-4.0 | ||
env: | ||
- MATRIX_EVAL="CC=clang-4.0 && CXX=clang++-4.0" | ||
|
||
- os: linux | ||
addons: | ||
apt: | ||
sources: | ||
- llvm-toolchain-trusty-5.0 | ||
packages: | ||
- clang-5.0 | ||
env: | ||
- MATRIX_EVAL="CC=clang-5.0 && CXX=clang++-5.0" | ||
|
||
- os: osx | ||
osx_image: xcode9 | ||
|
||
- os: osx | ||
osx_image: xcode8.3 | ||
|
||
- os: osx | ||
osx_image: xcode7.3 | ||
|
||
before_install: | ||
- eval "${MATRIX_EVAL}" | ||
|
||
script: | ||
- mkdir build && cd build && cmake .. && make check -j2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
Contributions to the library are gladly accepted. | ||
|
||
The main development happens in https://github.com/p12tic/libsimdpp repository. | ||
|
||
If you don't have time to submit a bug fix, please open an issue report on | ||
GitHub so at least the problem is known. The same applies to improvements - | ||
don't hesitate to open feature request so that the design of new APIs could | ||
take your use case into account. | ||
|
||
Documentation | ||
------------- | ||
|
||
The documentation is written on a MediaWiki instance which is currently private. | ||
If you find a problem in the documentation, please open an issue with a link to | ||
the page in question. | ||
|
||
Code changes | ||
------------ | ||
|
||
Please test your code changes by running the following: | ||
|
||
``` | ||
mkdir build | ||
cd build | ||
cmake .. | ||
# on Linux / macOS | ||
make check -j8 | ||
# on Windows | ||
cmake --build . --target check | ||
``` | ||
|
||
Please use the `dev` branch as a target for pull requests. The reason for this | ||
is that the public continuous integration services used by the library cover | ||
only SSE2-AVX2 instruction sets. The rest are periodically tested on a private | ||
test farm. Due to the number of tested compilers and library configurations | ||
this testing is usually done only on each merge from the `dev` branch to | ||
the `master` branch. | ||
|
||
Code style | ||
---------- | ||
|
||
C-style pointer casts are discouraged, use reinterpret_cast for that. For | ||
non-pointer types C-style casts are preferred over static_cast or constructor. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.