Skip to content
Snippets Groups Projects
Commit 308b1479 authored by Graeme Stewart's avatar Graeme Stewart
Browse files

External/APEGlue deleted from master

parent 68fdf21c
No related branches found
No related tags found
No related merge requests found
# $Id: CMakeLists.txt 742250 2016-04-22 14:17:29Z krasznaa $
#
# CMake configuration building APE as part of the release build.
# To be kept in sync with the requirements file of the package.
#
# Set the name of the package:
atlas_subdir( APEGlue )
# Set up its package dependencies:
atlas_depends_on_subdirs(
PRIVATE Externals/AtlasTBB
Externals/yampl )
# In release recompilation mode finish here:
if( ATLAS_RELEASE_MODE )
return()
endif()
# Get the offline repository location, if it's set in the environment:
if( ENV{SVNROOT} )
set( SVNROOT $ENV{SVNROOT} )
else()
set( SVNROOT "svn+ssh://svn.cern.ch/reps/atlasoff" )
endif()
# Build the package for the build area:
ExternalProject_Add( APE
PREFIX ${CMAKE_BINARY_DIR}
SVN_REPOSITORY ${SVNROOT}/Offloading/APE/tags/APE-01-02-00
CMAKE_CACHE_ARGS
-DTBB_INSTALL_DIR:PATH=${CMAKE_BINARY_DIR}/${ATLAS_PLATFORM}
-DYAMPL_DIR:PATH=${CMAKE_BINARY_DIR}/${ATLAS_PLATFORM}
-DBOOST_ROOT:PATH=${BOOST_ROOT}
-DBOOST_INCLUDEDIR:PATH=${BOOST_INCLUDEDIR}
-DCMAKE_PREFIX_PATH:PATH=${YAMLCPP_ROOT}
-DCMAKE_INSTALL_PREFIX:PATH=${CMAKE_CURRENT_BINARY_DIR}/build
-DCMAKE_SYSTEM_IGNORE_PATH:STRING=/usr/include;/usr/lib;/usr/lib32;/usr/lib64
INSTALL_DIR ${CMAKE_BINARY_DIR}/${ATLAS_PLATFORM}
LOG_CONFIGURE 1 )
ExternalProject_Add_Step( APE buildinstall
COMMAND ${CMAKE_COMMAND} -E remove_directory
${CMAKE_CURRENT_BINARY_DIR}/build/lib/cmake
COMMAND ${CMAKE_COMMAND} -E copy_directory
${CMAKE_CURRENT_BINARY_DIR}/build/ <INSTALL_DIR>
COMMENT "Installing APE into the build area"
DEPENDEES install )
add_dependencies( APE AtlasTBB yampl )
add_dependencies( Package_APEGlue APE )
# Install APE:
install( DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/build/
DESTINATION . USE_SOURCE_PERMISSIONS )
package APEGlue
author sami.kama@cern.ch
manager sami.kama@cern.ch
use ExternalPolicy ExternalPolicy-* External
use yampl yampl-* External
# Version to be kept in sync with the CMake configuration:
macro APE_native_version "1.2.0"
# macro mandatory for distribution kit building
macro APEGlue_native_version "$(APE_native_version)"
macro APE_home "${ATLAS_EXTERNAL}/APE/${APE_native_version}/${CMTCONFIG}"
#macro APE_home "${CMTINSTALLAREA}/${CMTCONFIG}"
include_dirs "$(APE_home)/include"
macro APE_libs "${APE_home}/lib"
macro APE_bin "${APE_home}/bin"
macro APEGlue_linkopts "-L$(APE_libs) -lAPEContainer "
path_remove LD_LIBRARY_PATH "/APE/"
path_append LD_LIBRARY_PATH "${APE_libs}"
path_remove PATH "/APE/"
path_append PATH "${APE_bin}"
macro APEGlue_export_paths "${APE_home}"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment