Skip to content

Commit

Permalink
Merge branch 'cderb/2580_revertx2' into cderb/gtest_package
Browse files Browse the repository at this point in the history
  • Loading branch information
cderb committed Dec 19, 2023
2 parents 5c88612 + ed002f5 commit 7132297
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 102 deletions.
3 changes: 1 addition & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,7 @@ option(BUILD_SHARED_LIBS "Create shared libraries" ON)

if(MIOPEN_ENABLE_SQLITE)
# MIOpen now depends on SQLite as well
find_package(PkgConfig)
pkg_check_modules(SQLITE3 REQUIRED sqlite3)
find_package(SQLite3 REQUIRED)
endif()
find_package(BZip2)
find_package(nlohmann_json 3.9.1 REQUIRED)
Expand Down
91 changes: 0 additions & 91 deletions cmake/Findzstd.cmake

This file was deleted.

2 changes: 1 addition & 1 deletion docs/sphinx/requirements.in
Original file line number Diff line number Diff line change
@@ -1 +1 @@
rocm-docs-core==0.30.1
rocm-docs-core==0.30.2
2 changes: 1 addition & 1 deletion docs/sphinx/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ requests==2.31.0
# via
# pygithub
# sphinx
rocm-docs-core==0.30.1
rocm-docs-core==0.30.2
# via -r requirements.in
smmap==5.0.0
# via gitdb
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
sqlite3@3.43.2 -DCMAKE_POSITION_INDEPENDENT_CODE=On
boost@1.83 -DCMAKE_POSITION_INDEPENDENT_CODE=On --build -DCMAKE_CXX_FLAGS=" -std=c++14 -Wno-enum-constexpr-conversion -Wno-deprecated-builtins -Wno-deprecated-declarations "
facebook/zstd@v1.4.5 -X subdir -DCMAKE_DIR=build/cmake
ROCmSoftwarePlatform/half@10abd99e7815f0ca5d892f58dd7d15a23b7cf92c --build
ROCmSoftwarePlatform/rocMLIR@rocm-5.5.0 -H sha256:a5f62769d28a73e60bc8d61022820f050e97c977c8f6f6275488db31512e1f42 -DBUILD_FAT_LIBROCKCOMPILER=1 -DCMAKE_IGNORE_PATH=/opt/conda/envs/py_3.9 -DCMAKE_IGNORE_PREFIX_PATH=/opt/conda
nlohmann/json@v3.11.2 -DJSON_MultipleHeaders=ON -DJSON_BuildTests=Off
Expand Down
7 changes: 1 addition & 6 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -829,12 +829,7 @@ endif()
#######################################
if(MIOPEN_ENABLE_SQLITE)
# MIOpen depends on SQLite
target_include_directories(MIOpen SYSTEM PRIVATE ${SQLITE3_STATIC_INCLUDE_DIRS})
target_include_directories(MIOpen SYSTEM INTERFACE $<BUILD_INTERFACE:${SQLITE3_STATIC_INCLUDE_DIRS}>)
target_compile_options(MIOpen PRIVATE ${SQLITE3_STATIC_CFLAGS})
target_compile_options(MIOpen INTERFACE $<BUILD_INTERFACE:${SQLITE3_STATIC_CFLAGS}>)
target_link_libraries(MIOpen PRIVATE ${SQLITE3_STATIC_LDFLAGS})
target_link_libraries(MIOpen INTERFACE $<BUILD_INTERFACE:${SQLITE3_STATIC_LDFLAGS}>)
target_link_libraries(MIOpen PRIVATE SQLite::SQLite3)
endif()
############################################################
# MIOpen depends on librt for Boost.Interprocess
Expand Down
2 changes: 1 addition & 1 deletion src/sqlite/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ target_compile_options(sqlite_memvfs PRIVATE
$<$<CXX_COMPILER_ID:Clang>:-Wno-everything>
$<$<CXX_COMPILER_ID:GNU>:-w>)

target_include_directories(sqlite_memvfs SYSTEM PRIVATE ${SQLITE3_STATIC_INCLUDE_DIRS})
target_link_libraries(sqlite_memvfs PRIVATE SQLite::SQLite3)
# set_target_properties(
# sqlite_memvfs
# PROPERTIES
Expand Down

0 comments on commit 7132297

Please sign in to comment.