s/scisoft/coderefinery/

This commit is contained in:
Radovan Bast 2016-04-19 12:30:32 +02:00
parent 7e6aeca792
commit a772d29106
17 changed files with 57 additions and 57 deletions

View File

@ -10,4 +10,4 @@
- Dan Jonsson (idea for configuration file approach) - Dan Jonsson (idea for configuration file approach)
- Roberto Di Remigio (design ideas and testing, OS X testing, Boost) - Roberto Di Remigio (design ideas and testing, OS X testing, Boost)
For a list of all the contributions see https://github.com/scisoft/autocmake/contributors. For a list of all the contributions see https://github.com/coderefinery/autocmake/contributors.

View File

@ -1,4 +1,4 @@
[![Build Status](https://travis-ci.org/scisoft/autocmake.svg?branch=master)](https://travis-ci.org/scisoft/autocmake/builds) [![Build Status](https://travis-ci.org/coderefinery/autocmake.svg?branch=master)](https://travis-ci.org/coderefinery/autocmake/builds)
[![Documentation Status](https://readthedocs.org/projects/autocmake/badge/?version=latest)](http://autocmake.readthedocs.org) [![Documentation Status](https://readthedocs.org/projects/autocmake/badge/?version=latest)](http://autocmake.readthedocs.org)
[![License](https://img.shields.io/badge/license-%20BSD--3-blue.svg)](../master/LICENSE) [![License](https://img.shields.io/badge/license-%20BSD--3-blue.svg)](../master/LICENSE)

View File

@ -10,11 +10,11 @@ This documentation is refreshed upon each push to the central repository.
The module reference documentation is generated from the module sources using The module reference documentation is generated from the module sources using
``#.rst:`` tags (compare for instance ``#.rst:`` tags (compare for instance
http://autocmake.readthedocs.org/en/latest/module-reference.html#cc-cmake with http://autocmake.readthedocs.org/en/latest/module-reference.html#cc-cmake with
https://github.com/scisoft/autocmake/blob/master/modules/cc.cmake). https://github.com/coderefinery/autocmake/blob/master/modules/cc.cmake).
Please note that the lines following ``# autocmake.cfg configuration::`` are Please note that the lines following ``# autocmake.cfg configuration::`` are
understood by the ``update.py`` script to infer autocmake.cfg code from the understood by the ``update.py`` script to infer autocmake.cfg code from the
documentation. As an example consider documentation. As an example consider
https://github.com/scisoft/autocmake/blob/master/modules/cc.cmake#L20-L25. https://github.com/coderefinery/autocmake/blob/master/modules/cc.cmake#L20-L25.
Here, ``update.py`` will infer the configurations for ``docopt``, ``export``, Here, ``update.py`` will infer the configurations for ``docopt``, ``export``,
and ``define``. and ``define``.

View File

@ -5,7 +5,7 @@ Testing Autocmake
You will need to install `pytest <http://pytest.org/>`__. You will need to install `pytest <http://pytest.org/>`__.
Check also the `Travis <https://github.com/scisoft/autocmake/blob/master/.travis.yml>`__ Check also the `Travis <https://github.com/coderefinery/autocmake/blob/master/.travis.yml>`__
build and test recipe for other requirements. build and test recipe for other requirements.
Your contributions and changes should preserve the test set. You can run locally all tests with:: Your contributions and changes should preserve the test set. You can run locally all tests with::
@ -19,5 +19,5 @@ You can also select individual tests, for example those with ``fc_blas`` string
For more options, see the ``py.test`` flags. For more options, see the ``py.test`` flags.
This test set is run upon each push to the central repository. This test set is run upon each push to the central repository.
See also the `Travis <https://travis-ci.org/scisoft/autocmake/builds>`__ See also the `Travis <https://travis-ci.org/coderefinery/autocmake/builds>`__
build and test history. build and test history.

View File

@ -12,12 +12,12 @@ infrastructure files which will be needed to build the project::
$ mkdir cmake # does not have to be called "cmake" - take the name you prefer $ mkdir cmake # does not have to be called "cmake" - take the name you prefer
$ cd cmake $ cd cmake
$ wget https://github.com/scisoft/autocmake/raw/master/update.py $ wget https://github.com/coderefinery/autocmake/raw/master/update.py
$ python update.py --self $ python update.py --self
On the MS Windows system, you can use the PowerShell wget-replacement:: On the MS Windows system, you can use the PowerShell wget-replacement::
$ Invoke-WebRequest https://github.com/scisoft/autocmake/raw/master/update.py -OutFile update.py $ Invoke-WebRequest https://github.com/coderefinery/autocmake/raw/master/update.py -OutFile update.py
This creates (or updates) the following files (an existing ``autocmake.cfg`` is This creates (or updates) the following files (an existing ``autocmake.cfg`` is
not overwritten by the script):: not overwritten by the script)::

View File

@ -13,38 +13,38 @@ below::
min_cmake_version: 2.8 min_cmake_version: 2.8
[fc] [fc]
source: https://github.com/scisoft/autocmake/raw/master/modules/fc.cmake source: https://github.com/coderefinery/autocmake/raw/master/modules/fc.cmake
[cc] [cc]
source: https://github.com/scisoft/autocmake/raw/master/modules/cc.cmake source: https://github.com/coderefinery/autocmake/raw/master/modules/cc.cmake
[cxx] [cxx]
source: https://github.com/scisoft/autocmake/raw/master/modules/cxx.cmake source: https://github.com/coderefinery/autocmake/raw/master/modules/cxx.cmake
[flags] [flags]
source: https://github.com/scisoft/autocmake/raw/master/compilers/GNU.CXX.cmake source: https://github.com/coderefinery/autocmake/raw/master/compilers/GNU.CXX.cmake
https://github.com/scisoft/autocmake/raw/master/compilers/Intel.CXX.cmake https://github.com/coderefinery/autocmake/raw/master/compilers/Intel.CXX.cmake
[rpath] [rpath]
source: custom/rpath.cmake source: custom/rpath.cmake
[definitions] [definitions]
source: https://github.com/scisoft/autocmake/raw/master/modules/definitions.cmake source: https://github.com/coderefinery/autocmake/raw/master/modules/definitions.cmake
[coverage] [coverage]
source: https://github.com/scisoft/autocmake/raw/master/modules/code_coverage.cmake source: https://github.com/coderefinery/autocmake/raw/master/modules/code_coverage.cmake
[safeguards] [safeguards]
source: https://github.com/scisoft/autocmake/raw/master/modules/safeguards.cmake source: https://github.com/coderefinery/autocmake/raw/master/modules/safeguards.cmake
[default_build_paths] [default_build_paths]
source: https://github.com/scisoft/autocmake/raw/master/modules/default_build_paths.cmake source: https://github.com/coderefinery/autocmake/raw/master/modules/default_build_paths.cmake
[src] [src]
source: https://github.com/scisoft/autocmake/raw/master/modules/src.cmake source: https://github.com/coderefinery/autocmake/raw/master/modules/src.cmake
[googletest] [googletest]
source: https://github.com/scisoft/autocmake/raw/master/modules/googletest.cmake source: https://github.com/coderefinery/autocmake/raw/master/modules/googletest.cmake
[custom] [custom]
source: custom/api.cmake source: custom/api.cmake
@ -71,13 +71,13 @@ The names of the other sections do not matter to Autocmake. You could name them
min_cmake_version: 2.8 min_cmake_version: 2.8
[one] [one]
source: https://github.com/scisoft/autocmake/raw/master/modules/fc.cmake source: https://github.com/coderefinery/autocmake/raw/master/modules/fc.cmake
[two] [two]
source: https://github.com/scisoft/autocmake/raw/master/modules/cc.cmake source: https://github.com/coderefinery/autocmake/raw/master/modules/cc.cmake
[whatever] [whatever]
source: https://github.com/scisoft/autocmake/raw/master/modules/cxx.cmake source: https://github.com/coderefinery/autocmake/raw/master/modules/cxx.cmake
But it would not make much sense. It is better to choose names that are But it would not make much sense. It is better to choose names that are
meaningful to you. meaningful to you.
@ -163,7 +163,7 @@ The preferred way to extend ``CMakeLists.txt`` is by editing ``autocmake.cfg``
and using the ``source`` option:: and using the ``source`` option::
[fc] [fc]
source: https://github.com/scisoft/autocmake/raw/master/modules/fc.cmake source: https://github.com/coderefinery/autocmake/raw/master/modules/fc.cmake
This will download ``fc.cmake`` and include it in ``CMakeLists.txt``. This will download ``fc.cmake`` and include it in ``CMakeLists.txt``.
@ -175,8 +175,8 @@ You can also include local CMake modules, e.g.::
It is also OK to include several modules at once:: It is also OK to include several modules at once::
[flags] [flags]
source: https://github.com/scisoft/autocmake/raw/master/compilers/GNU.CXX.cmake source: https://github.com/coderefinery/autocmake/raw/master/compilers/GNU.CXX.cmake
https://github.com/scisoft/autocmake/raw/master/compilers/Intel.CXX.cmake https://github.com/coderefinery/autocmake/raw/master/compilers/Intel.CXX.cmake
The modules will be included in the same order as they appear in ``autocmake.cfg``. The modules will be included in the same order as they appear in ``autocmake.cfg``.
@ -187,7 +187,7 @@ Fetching files without including them in CMakeLists.txt
Sometimes you want to fetch a file without including it in ``CMakeLists.txt``. Sometimes you want to fetch a file without including it in ``CMakeLists.txt``.
This can be done with the ``fetch`` option. This is for instance done by the This can be done with the ``fetch`` option. This is for instance done by the
``git_info.cmake`` module (see ``git_info.cmake`` module (see
https://github.com/scisoft/autocmake/blob/master/modules/git_info/git_info.cmake#L10-L11). https://github.com/coderefinery/autocmake/blob/master/modules/git_info/git_info.cmake#L10-L11).
If ``fetch`` is invoked in ``autocmake.cfg``, then the fetched file is placed If ``fetch`` is invoked in ``autocmake.cfg``, then the fetched file is placed
under ``downloaded/``. If ``fetch`` is invoked from within a CMake module under ``downloaded/``. If ``fetch`` is invoked from within a CMake module
@ -241,7 +241,7 @@ for many core modules which come with own options once you have sourced them.
The lines following ``# autocmake.cfg configuration::`` are The lines following ``# autocmake.cfg configuration::`` are
understood by the ``update.py`` script to infer ``autocmake.cfg`` code from the understood by the ``update.py`` script to infer ``autocmake.cfg`` code from the
documentation. As an example consider documentation. As an example consider
https://github.com/scisoft/autocmake/blob/master/modules/cc.cmake#L20-L25. https://github.com/coderefinery/autocmake/blob/master/modules/cc.cmake#L20-L25.
Here, ``update.py`` will infer the configurations for ``docopt``, ``export``, Here, ``update.py`` will infer the configurations for ``docopt``, ``export``,
and ``define``. and ``define``.
@ -251,6 +251,6 @@ Overriding documented configurations
Configurable documented defaults can be achieved using interpolations. See for Configurable documented defaults can be achieved using interpolations. See for
instance instance
https://github.com/scisoft/autocmake/blob/master/modules/boost/boost.cmake#L33-L36. https://github.com/coderefinery/autocmake/blob/master/modules/boost/boost.cmake#L33-L36.
These can be modified within ``autocmake.cfg`` with a dictionary, e.g.: These can be modified within ``autocmake.cfg`` with a dictionary, e.g.:
https://github.com/scisoft/autocmake/blob/master/test/boost_libs/cmake/autocmake.cfg#L9 https://github.com/coderefinery/autocmake/blob/master/test/boost_libs/cmake/autocmake.cfg#L9

View File

@ -38,9 +38,9 @@ Overriding defaults
------------------- -------------------
Some modules use interpolations to set defaults, see for instance Some modules use interpolations to set defaults, see for instance
https://github.com/scisoft/autocmake/blob/master/modules/boost/boost.cmake#L33-L36. https://github.com/coderefinery/autocmake/blob/master/modules/boost/boost.cmake#L33-L36.
These can be modified within ``autocmake.cfg``, e.g.: These can be modified within ``autocmake.cfg``, e.g.:
https://github.com/scisoft/autocmake/blob/master/test/boost_libs/cmake/autocmake.cfg#L9 https://github.com/coderefinery/autocmake/blob/master/test/boost_libs/cmake/autocmake.cfg#L9
Create own CMake modules Create own CMake modules
@ -54,5 +54,5 @@ Contribute customizations to the "standard library"
If you think that your customization will be useful for other users as well, If you think that your customization will be useful for other users as well,
you may consider contributing the changes directly to you may consider contributing the changes directly to
https://github.com/scisoft/autocmake/. We very much encourage such https://github.com/coderefinery/autocmake/. We very much encourage such
contributions. But we also strive for generality and portability. contributions. But we also strive for generality and portability.

View File

@ -25,7 +25,7 @@ Now we create ``cmake/`` and fetch ``update.py``::
$ mkdir cmake $ mkdir cmake
$ cd cmake/ $ cd cmake/
$ wget https://raw.githubusercontent.com/scisoft/autocmake/master/update.py $ wget https://raw.githubusercontent.com/coderefinery/autocmake/master/update.py
$ python update.py --self $ python update.py --self
Now from top-level our file tree looks like this:: Now from top-level our file tree looks like this::
@ -50,13 +50,13 @@ Now we edit ``cmake/autocmake.cfg`` to look like this::
min_cmake_version: 2.8 min_cmake_version: 2.8
[fc] [fc]
source: https://github.com/scisoft/autocmake/raw/master/modules/fc.cmake source: https://github.com/coderefinery/autocmake/raw/master/modules/fc.cmake
[cc] [cc]
source: https://github.com/scisoft/autocmake/raw/master/modules/cc.cmake source: https://github.com/coderefinery/autocmake/raw/master/modules/cc.cmake
[src] [src]
source: https://github.com/scisoft/autocmake/raw/master/modules/src.cmake source: https://github.com/coderefinery/autocmake/raw/master/modules/src.cmake
What we have specified here is the project name and that we wish Fortran and C What we have specified here is the project name and that we wish Fortran and C
support. The ``src.cmake`` module tells CMake to include a ``src/CMakeLists.txt``. support. The ``src.cmake`` module tells CMake to include a ``src/CMakeLists.txt``.

View File

@ -107,7 +107,7 @@ overwritten at some point. A good standard is to organize your sources under
can include the latter in ``autocmake.cfg`` using:: can include the latter in ``autocmake.cfg`` using::
[src] [src]
source: https://github.com/scisoft/autocmake/raw/master/modules/src.cmake source: https://github.com/coderefinery/autocmake/raw/master/modules/src.cmake
If you really don't like to do it this way, you can describe your sources and If you really don't like to do it this way, you can describe your sources and
targets in a custom module in a local file and include it like this:: targets in a custom module in a local file and include it like this::

View File

@ -21,10 +21,10 @@ rather fetch an older version, for example with the hash ``abcd123``. To
achieve this, instead of:: achieve this, instead of::
[foo] [foo]
source: https://github.com/scisoft/autocmake/raw/master/modules/foo.cmake source: https://github.com/coderefinery/autocmake/raw/master/modules/foo.cmake
pin the version to ``abcd123`` (you do not need to specify the full Git hash, a unique pin the version to ``abcd123`` (you do not need to specify the full Git hash, a unique
beginning will do):: beginning will do)::
[foo] [foo]
source: https://github.com/scisoft/autocmake/raw/abcd123/modules/foo.cmake source: https://github.com/coderefinery/autocmake/raw/abcd123/modules/foo.cmake

View File

@ -73,7 +73,7 @@ def main():
if s_out != '': if s_out != '':
output.append('\n\n%s' % file_name) output.append('\n\n%s' % file_name)
output.append('-'*len(file_name)) output.append('-'*len(file_name))
output.append('`[Source code] <https://github.com/scisoft/autocmake/blob/master/modules/%s>`__' % full_file_name) output.append('`[Source code] <https://github.com/coderefinery/autocmake/blob/master/modules/%s>`__' % full_file_name)
output.append(s_out) output.append(s_out)
with open(os.path.join(THIS_DIR, 'module-reference.rst'), 'w') as f: with open(os.path.join(THIS_DIR, 'module-reference.rst'), 'w') as f:

View File

@ -9,7 +9,7 @@
# #
# [boost] # [boost]
# override: {'major': 1, 'minor': 59, 'patch': 0, 'components': 'chrono;timer;system'} # override: {'major': 1, 'minor': 59, 'patch': 0, 'components': 'chrono;timer;system'}
# source: https://github.com/scisoft/autocmake/raw/master/modules/boost/boost.cmake # source: https://github.com/coderefinery/autocmake/raw/master/modules/boost/boost.cmake
# #
# Cross-dependencies between required components are not checked for. # Cross-dependencies between required components are not checked for.
# For example, Boost.Timer depends on Boost.Chrono and Boost.System thus you # For example, Boost.Timer depends on Boost.Chrono and Boost.System thus you
@ -49,13 +49,13 @@
# minor=48 # minor=48
# patch=0 # patch=0
# components='' # components=''
# fetch: https://github.com/scisoft/autocmake/raw/master/modules/boost/boost_unpack.cmake # fetch: https://github.com/coderefinery/autocmake/raw/master/modules/boost/boost_unpack.cmake
# https://github.com/scisoft/autocmake/raw/master/modules/boost/boost_userconfig.cmake # https://github.com/coderefinery/autocmake/raw/master/modules/boost/boost_userconfig.cmake
# https://github.com/scisoft/autocmake/raw/master/modules/boost/boost_configure.cmake # https://github.com/coderefinery/autocmake/raw/master/modules/boost/boost_configure.cmake
# https://github.com/scisoft/autocmake/raw/master/modules/boost/boost_build.cmake # https://github.com/coderefinery/autocmake/raw/master/modules/boost/boost_build.cmake
# https://github.com/scisoft/autocmake/raw/master/modules/boost/boost_install.cmake # https://github.com/coderefinery/autocmake/raw/master/modules/boost/boost_install.cmake
# https://github.com/scisoft/autocmake/raw/master/modules/boost/boost_headers.cmake # https://github.com/coderefinery/autocmake/raw/master/modules/boost/boost_headers.cmake
# https://github.com/scisoft/autocmake/raw/master/modules/boost/boost_cleanup.cmake # https://github.com/coderefinery/autocmake/raw/master/modules/boost/boost_cleanup.cmake
# http://sourceforge.net/projects/boost/files/boost/%(major)s.%(minor)s.%(patch)s/boost_%(major)s_%(minor)s_%(patch)s.zip # http://sourceforge.net/projects/boost/files/boost/%(major)s.%(minor)s.%(patch)s/boost_%(major)s_%(minor)s_%(patch)s.zip
# docopt: --boost-headers=<BOOST_INCLUDEDIR> Include directories for Boost [default: '']. # docopt: --boost-headers=<BOOST_INCLUDEDIR> Include directories for Boost [default: ''].
# --boost-libraries=<BOOST_LIBRARYDIR> Library directories for Boost [default: '']. # --boost-libraries=<BOOST_LIBRARYDIR> Library directories for Boost [default: ''].

View File

@ -7,8 +7,8 @@
# #
# autocmake.cfg configuration:: # autocmake.cfg configuration::
# #
# fetch: https://github.com/scisoft/autocmake/raw/master/modules/git_info/git_info_sub.cmake # fetch: https://github.com/coderefinery/autocmake/raw/master/modules/git_info/git_info_sub.cmake
# https://github.com/scisoft/autocmake/raw/master/modules/git_info/git_info.h.in # https://github.com/coderefinery/autocmake/raw/master/modules/git_info/git_info.h.in
# CMAKE_CURRENT_LIST_DIR is undefined in CMake 2.8.2 # CMAKE_CURRENT_LIST_DIR is undefined in CMake 2.8.2
# see https://public.kitware.com/Bug/print_bug_page.php?bug_id=11675 # see https://public.kitware.com/Bug/print_bug_page.php?bug_id=11675

View File

@ -12,8 +12,8 @@
# #
# docopt: --accelerate Find and link to ACCELERATE [default: False]. # docopt: --accelerate Find and link to ACCELERATE [default: False].
# define: '-DENABLE_ACCELERATE=%s' % arguments['--accelerate'] # define: '-DENABLE_ACCELERATE=%s' % arguments['--accelerate']
# fetch: https://github.com/scisoft/autocmake/raw/master/modules/find/find_libraries.cmake # fetch: https://github.com/coderefinery/autocmake/raw/master/modules/find/find_libraries.cmake
# https://github.com/scisoft/autocmake/raw/master/modules/find/find_include_files.cmake # https://github.com/coderefinery/autocmake/raw/master/modules/find/find_include_files.cmake
option(ENABLE_ACCELERATE "Find and link to ACCELERATE" OFF) option(ENABLE_ACCELERATE "Find and link to ACCELERATE" OFF)

View File

@ -12,8 +12,8 @@
# #
# docopt: --cblas Find and link to CBLAS [default: False]. # docopt: --cblas Find and link to CBLAS [default: False].
# define: '-DENABLE_CBLAS=%s' % arguments['--cblas'] # define: '-DENABLE_CBLAS=%s' % arguments['--cblas']
# fetch: https://github.com/scisoft/autocmake/raw/master/modules/find/find_libraries.cmake # fetch: https://github.com/coderefinery/autocmake/raw/master/modules/find/find_libraries.cmake
# https://github.com/scisoft/autocmake/raw/master/modules/find/find_include_files.cmake # https://github.com/coderefinery/autocmake/raw/master/modules/find/find_include_files.cmake
option(ENABLE_CBLAS "Find and link to CBLAS" OFF) option(ENABLE_CBLAS "Find and link to CBLAS" OFF)

View File

@ -12,8 +12,8 @@
# #
# docopt: --lapacke Find and link to LAPACKE [default: False]. # docopt: --lapacke Find and link to LAPACKE [default: False].
# define: '-DENABLE_LAPACKE=%s' % arguments['--lapacke'] # define: '-DENABLE_LAPACKE=%s' % arguments['--lapacke']
# fetch: https://github.com/scisoft/autocmake/raw/master/modules/find/find_libraries.cmake # fetch: https://github.com/coderefinery/autocmake/raw/master/modules/find/find_libraries.cmake
# https://github.com/scisoft/autocmake/raw/master/modules/find/find_include_files.cmake # https://github.com/coderefinery/autocmake/raw/master/modules/find/find_include_files.cmake
option(ENABLE_LAPACKE "Find and link to LAPACKE" OFF) option(ENABLE_LAPACKE "Find and link to LAPACKE" OFF)

View File

@ -30,7 +30,7 @@ else:
sys.exit(-1) sys.exit(-1)
AUTOCMAKE_GITHUB_URL = 'https://github.com/scisoft/autocmake' AUTOCMAKE_GITHUB_URL = 'https://github.com/coderefinery/autocmake'
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------