Skip to content

Commit

Permalink
Changed libdir for external libraries built with autotools (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
ajanicijamd authored Nov 10, 2024
1 parent cef228b commit 3d10efc
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
url = https://github.com/jrmadsen/ELFIO.git
[submodule "external/dyninst"]
path = external/dyninst
url = https://github.com/jrmadsen/dyninst.git
url = https://github.com/ROCm/dyninst.git
[submodule "external/PTL"]
path = external/PTL
url = https://github.com/jrmadsen/PTL.git
Expand Down
2 changes: 1 addition & 1 deletion cmake/ElfUtils.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ externalproject_add(
CXXFLAGS=-fPIC\ -O3\ -Wno-error=null-dereference
[=[LDFLAGS=-Wl,-rpath='$$ORIGIN']=] <SOURCE_DIR>/configure --enable-install-elfh
--prefix=${_eu_root} --disable-libdebuginfod --disable-debuginfod --disable-nls
--enable-thread-safety --enable-silent-rules
--enable-thread-safety --enable-silent-rules --libdir=${_eu_root}/lib
BUILD_COMMAND ${MAKE_COMMAND} install -s
BUILD_BYPRODUCTS "${_eu_build_byproducts}"
INSTALL_COMMAND "")
Expand Down
1 change: 1 addition & 0 deletions cmake/PAPI.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ externalproject_add(
--prefix=${ROCPROFSYS_PAPI_INSTALL_DIR} --with-static-lib=yes --with-shared-lib=no
--with-perf-events --with-tests=no
--with-components=${_ROCPROFSYS_PAPI_COMPONENTS}
--libdir=${ROCPROFSYS_PAPI_INSTALL_DIR}/lib
CONFIGURE_COMMAND ${CMAKE_COMMAND} -E env CFLAGS=-fPIC\ -O3\ -Wno-stringop-truncation
${ROCPROFSYS_PAPI_EXTRA_ENV} ${MAKE_EXECUTABLE} static install -s
BUILD_COMMAND ${CMAKE_COMMAND} -E env CFLAGS=-fPIC\ -O3\ -Wno-stringop-truncation
Expand Down
2 changes: 1 addition & 1 deletion external/dyninst
2 changes: 1 addition & 1 deletion external/timemory

0 comments on commit 3d10efc

Please sign in to comment.