Skip to content

Commit

Permalink
remove libmcwamp_atomic.a
Browse files Browse the repository at this point in the history
  • Loading branch information
scchan committed Aug 14, 2019
1 parent 406f004 commit f39d94d
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 192 deletions.
5 changes: 0 additions & 5 deletions hcc_config/hcc_config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -143,11 +143,6 @@ void ldflags(void) {
}

std::cout << " -ldl -lm -lpthread";

if (const char *p = getenv("TEST_CPU"))
if (p == std::string("ON"))
std::cout << " -lmcwamp_atomic";

std::cout << " -lhc_am";
std::cout << " -Wl,--whole-archive -lmcwamp -Wl,--no-whole-archive";

Expand Down
3 changes: 1 addition & 2 deletions lib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ set( CONFIG_PACKAGE_INSTALL_DIR ${LIB_INSTALL_DIR}/cmake/hcc )
# C++AMP runtime (mcwamp)
####################
add_mcwamp_shared_library(mcwamp mcwamp.cpp)
add_mcwamp_library(mcwamp_atomic mcwamp_atomic.cpp)

# Library interface to use runtime
add_library(hccrt INTERFACE)
Expand Down Expand Up @@ -73,7 +72,7 @@ add_subdirectory(cpu)
####################
# install targets
####################
install(TARGETS mcwamp mcwamp_atomic hccrt hccshared
install(TARGETS mcwamp hccrt hccshared
EXPORT hcc-targets
RUNTIME DESTINATION bin
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
Expand Down
183 changes: 0 additions & 183 deletions lib/mcwamp_atomic.cpp

This file was deleted.

1 change: 0 additions & 1 deletion packaging/debian/postinst.in
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ SOFTLINKS=(
"$LIBRARY_DIR" "lib" "libhc_am.so"
"$LIBRARY_DIR" "lib" "libmcwamp.a"
"$LIBRARY_DIR" "lib" "libmcwamp.so"
"$LIBRARY_DIR" "lib" "libmcwamp_atomic.a"
"$LIBRARY_DIR" "lib" "libmcwamp_cpu.so"
"$LIBRARY_DIR" "lib" "libmcwamp_hsa.so"
"$LIBRARY_DIR" "lib" "libclang_rt.builtins-${PROCESSOR}.a"
Expand Down
1 change: 0 additions & 1 deletion packaging/debian/prerm.in
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ SOFTLINKS=(
"$LIBRARY_DIR" "lib" "libhc_am.so"
"$LIBRARY_DIR" "lib" "libmcwamp.a"
"$LIBRARY_DIR" "lib" "libmcwamp.so"
"$LIBRARY_DIR" "lib" "libmcwamp_atomic.a"
"$LIBRARY_DIR" "lib" "libmcwamp_cpu.so"
"$LIBRARY_DIR" "lib" "libmcwamp_hsa.so"
"$LIBRARY_DIR" "lib" "libclang_rt.builtins-${PROCESSOR}.a"
Expand Down

0 comments on commit f39d94d

Please sign in to comment.