Skip to content

Commit

Permalink
Merge remote-tracking branch 'github/develop' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
khuck committed Dec 5, 2019
2 parents 5fe232e + 114caee commit bc103b5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 21 deletions.
21 changes: 0 additions & 21 deletions src/apex/CMakeLists.hpx
Original file line number Diff line number Diff line change
Expand Up @@ -64,27 +64,6 @@ if(NOT APEX_ARCH_X86)
target_compile_definitions(apex_flags INTERFACE APEX_USE_CLOCK_TIMESTAMP=1)
endif()

### Set up concurrentqueue stuff
if(NOT EXISTS ${APEX_SOURCE_DIR}/concurrentqueue)
include(GitExternal)
git_external(concurrentqueue
https://github.com/cameron314/concurrentqueue.git
master
VERBOSE)
endif()

find_file(
CONCURRENTQUEUE_HEADER
NAMES concurrentqueue.h
PATHS ${APEX_SOURCE_DIR}/concurrentqueue)

if(CONCURRENTQUEUE_HEADER)
message(INFO " Found concurrentqueue at ${APEX_SOURCE_DIR}/concurrentqueue")
else()
message(FATAL_ERROR " concurrentqueue not found. This should have been checked out automatically. "
"Try manually check out https://github.com/cameron314/concurrentqueue.git to ${APEX_SOURCE_DIR}")
endif()

################################################################################
# Get the GIT version of the code
################################################################################
Expand Down
5 changes: 5 additions & 0 deletions src/apex/profiler_listener.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,12 @@
#ifndef ATOMIC_POINTER_LOCK_FREE
#define ATOMIC_POINTER_LOCK_FREE __GCC_ATOMIC_POINTER_LOCK_FREE
#endif
// HPX has its own version of moodycamel concurrent queue
#ifdef APEX_HAVE_HPX_CONFIG
#include "hpx/concurrency/concurrentqueue.hpp"
#else
#include "concurrentqueue/concurrentqueue.h"
#endif

#include "apex_assert.h"
#include "semaphore.hpp"
Expand Down

0 comments on commit bc103b5

Please sign in to comment.