Skip to content

Commit deae065

Browse files
authored
Fix URM Extn Install Path (#170)
--- Signed-off-by: Kartik Nema <kartnema@qti.qualcomm.com>
1 parent b64e126 commit deae065

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

contextual-classifier/MLInference.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ uint32_t MLInference::predict(
144144
int pid,
145145
const std::map<std::string, std::string> &raw_data,
146146
std::string &cat) {
147-
std::lock_guard<std::mutex> lock(predict_mutex_);
147+
const std::lock_guard<std::mutex> lock(predict_mutex_);
148148
syslog(LOG_DEBUG, "Starting prediction.");
149149

150150
std::string concatenated_text;

modula/CoreModules/UrmSettings.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ int32_t UrmSettings::serverOnlineStatus = false;
77
MetaConfigs UrmSettings::metaConfigs{};
88
TargetConfigs UrmSettings::targetConfigs{};
99

10-
const std::string UrmSettings::mTargetConfDir = "/etc/urm/target/";
10+
const std::string UrmSettings::mTargetConfDir = "/usr/lib/urm/";
1111

1212
const std::string UrmSettings::mCommonResourceFilePath =
1313
"/etc/urm/common/ResourcesConfig.yaml";

tests/CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ if(BUILD_TESTS)
2424
target_include_directories(RestuneTestUtils PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/Utils/Include)
2525
install(TARGETS RestuneTestUtils DESTINATION ${CMAKE_INSTALL_LIBDIR})
2626

27-
add_library(RestunePlugin ${CMAKE_CURRENT_SOURCE_DIR}/Utils/Setup.cpp)
28-
set_target_properties(RestunePlugin PROPERTIES VERSION 1.0.0 SOVERSION 1)
29-
target_link_libraries(RestunePlugin UrmExtAPIs)
30-
install(TARGETS RestunePlugin DESTINATION ${CMAKE_INSTALL_SYSCONFDIR}/urm/extensions)
27+
add_library(UrmTestPlugin ${CMAKE_CURRENT_SOURCE_DIR}/Utils/Setup.cpp)
28+
set_target_properties(UrmTestPlugin PROPERTIES VERSION 1.0.0 SOVERSION 1)
29+
target_link_libraries(UrmTestPlugin UrmExtAPIs)
30+
install(TARGETS UrmTestPlugin DESTINATION ${CMAKE_INSTALL_LIBDIR}/urm)
3131

3232
add_executable(
3333
RestuneComponentTests

0 commit comments

Comments
 (0)