Index: runtime/Makefile =================================================================== --- runtime/Makefile +++ runtime/Makefile @@ -13,7 +13,11 @@ include $(omp_root)/tools/common.inc .PHONY: default all omp -default: omp +default: + @echo --- This Makefile system is deprecated and is not being updated anymore. + @echo --- It will be deleted in the future. + @echo --- To build libomp, please use the CMake build system + @echo --- which is documented in Build_With_CMake.txt all: omp stubs Index: runtime/README.txt =================================================================== --- runtime/README.txt +++ runtime/README.txt @@ -34,8 +34,11 @@ The runtime/Build_With_CMake.txt file has a description of how to build with Cmake. -Building with the Makefile +Building with the Makefile (deprecated) ========================== +*** This build system is no longer being updated and should not be used +*** to build libomp. Please use the CMake build system. + The Makefile at the top-level will attempt to detect what it needs to build the LLVM* OpenMP* Runtime Library. To see the default settings, type: Index: www/README.txt =================================================================== --- www/README.txt +++ www/README.txt @@ -34,8 +34,11 @@ The runtime/Build_With_CMake.txt file has a description of how to build with Cmake. -Building with the Makefile +Building with the Makefile (deprecated) ========================== +*** This build system is no longer being updated and should not be used +*** to build libomp. Please use the CMake build system. + The Makefile at the top-level will attempt to detect what it needs to build the LLVM* OpenMP* Runtime Library. To see the default settings, type: Index: www/index.html =================================================================== --- www/index.html +++ www/index.html @@ -155,23 +155,35 @@
To check out the code, use:
svn co http://llvm.org/svn/llvm-project/openmp/trunk openmp
svn co http://llvm.org/svn/llvm-project/openmp/trunk libomp
- Next: + Note that for an in-tree build, you should check out libomp to llvm/projects.
- + +In-tree build:
+cd where-you-want-to-live
cd where-you-want-to-build
mkdir build && cd build
cmake path/to/llvm -DCMAKE_C_COMPILER=<C compiler> -DCMAKE_CXX_COMPILER=<C++ compiler>
make omp
Out-of-tree build:
cd openmp/runtime
make compiler=gcc
cd where-you-want-to-live
cd where-you-want-to-live/libomp/runtime
mkdir build && cd build
cmake -DCMAKE_C_COMPILER=<C compiler> -DCMAKE_CXX_COMPILER=<C++ compiler> ..
make
Full details of how to build are in the - README.txt - which also describes a CMake based build system which may be more - convenient on some platforms and for porting to new platforms than - the make and Perl based system. + README.txt and Build_With_CMake.txt (inside the runtime/ subdirectory)