• Adam Procter's avatar
    Compatibility fixes for gcc-4.8.5 and CentOS-7.4 (#444) · 8bccef1a
    Adam Procter authored
    (Squashing this commit but going to leave the full log here, unlike the way I usually do things)
    
    * Incremental work on compatibility with system requirements
    
    * Lower cmake version requirement so we can work with CentOS 7.4
    
    * Disambiguate isnan call (CentOS's compiler doesn't like it)
    
    * Make external_tbb conditional on NGRAPH_CPU_ENABLE
    
    * Make MKLDNN inclusion conditional on NGRAPH_CPU_ENABLE
    
    * Roll back desperation change to Ubuntu 14.04 binaries
    
    * De-revert copyright date change (arrgh)
    
    * Revert change of TBB's hard-coded compiler choice to gcc
    
    * Cleanup of modified CMake stuff
    
    * Add broken support for building LLVM from source
    
    * Explain modification to json.hpp required compiler version
    
    * Make TBB optional, and on by default. To disable, cmake -DNGRAPH_TBB_ENABLE=FALSE
    
    * Add reasonable default for LLVM's CMAKE_ASM_COMPILER so users don't have to specify it
    
    * Force TBB disabled if CMake is too old to build it (for CentOS)
    
    * Build LLVM OpenMP as external project
    
    * Tweak LLVM build options
    
    * Minor comment edit in cmake scripts
    
    * Workaround (fix?) for codegen crashes on CentOS
    
    * Add some header paths for CentOS to resource_generator; temporary(?) tweak to ignore nonexistent paths
    
    * Remove CMake compatibility figleaf since LLVM will require 3.1+ anyway
    
    * Fix the TBB-enable flag to default to on
    
    * Remove hard-coded choice of clang as tbb compiler
    
    * ln -s -> ln -sf in command to create link for OpenMP source dir
    
    * Make OpenMP build so it doesn't require symlink
    
    * Allow use of prebuilt LLVM if requested at cmake time
    
    * Some INSTALL instructions
    
    * Allow NGRAPH_USE_PREBUILT_LLVM to be set in environment variable
    
    * Tweak CI cmake options to use prebuilt LLVM
    
    * Remove debug messages
    
    * Rework defaulting behavior for LLVM_TARBALL_URL and LLVM_SHA1_HASH
    
    * Remove warning message for unavailable header file directories
    8bccef1a
INSTALL 1.54 KB