HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
http://hpccsystems.com
To build for Linux:
- Check out sources (for example, to directory ~/hpcc)
- Create a build directory - either as a child of hpcc or elsewhere
- cd to the build directory
4a.To create makefiles to build native release version for local machine, run
cmake ~/hpcc
4b.To create makefiles to build native debug version, run
cmake -DCMAKE_BUILD_TYPE=Debug ~/hpcc
4c.To create makefiles to build 32-bit version from 64-bit host, run
cmake -DCMAKE_C_FLAGS:STRING="-m32 -march=i386" -DCMAKE_CXX_FLAGS:STRING="-m32 -march=i386" ~/hpcc
- To build the makefiles just created above, run
make
- Executables will be created in .//bin and .//libs
- To create a .deb / ,rpm to install, run
make package
To build for Windows:
- Check out sources (for example, to directory c:\hpcc)
- Create a build directory - either as a child of hpcc or elsewhere
- cd to the build directory
- To create a Visual Studio project, run
cmake c:\hpcc -G "Visual Studio 9 2008"
The sln file hpccsystems-platform.sln will be created in the current directory, and will support debug and release targets
- To build the project, load the solution into the visual studio IDE and build in the usual way.
- Executables will be created in (for example) c:\hpcc\bin\
To build client tools for Macintosh OSX:
- Check out sources (for example, to directory ~/hpcc)
- You many need to install some 3rd-party dev packages using macports
- Create a build directory - either as a child of hpcc or elsewhere
- cd to the build directory
- Use clang to build the clienttools (gcc4.2 cores when compiling some of the sources):
CC=/usr/bin/clang CXX=/usr/bin/clang++ cmake ~/hpcc -DCLIENTTOOLS_ONLY
- To build the makefiles just created above, run
make
- Executables will be created in .//bin and .//libs
- To create a .dmg to install, run
make package