Skip to content

Commit f96a7a4

Browse files
authored
Update Urm Headers installation (#181)
--- Signed-off-by: Kartik Nema <kartnema@qti.qualcomm.com>
1 parent 37112ee commit f96a7a4

4 files changed

Lines changed: 15 additions & 5 deletions

File tree

contextual-classifier/ContextualClassifier.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,10 @@
2727
#define CLASSIFIER_TAG "CONTEXTUAL_CLASSIFIER"
2828
#define CLASSIFIER_CONFIGS_DIR "/etc/urm/classifier/"
2929

30-
const std::string FT_MODEL_PATH =
30+
static const std::string FT_MODEL_PATH =
3131
CLASSIFIER_CONFIGS_DIR "floret_model_supervised.bin";
32-
const std::string IGNORE_PROC_PATH =
32+
static const std::string IGNORE_PROC_PATH =
3333
CLASSIFIER_CONFIGS_DIR "classifier-blocklist.txt";
34-
static const std::string IGNORE_TOKENS_PATH =
35-
CLASSIFIER_CONFIGS_DIR "ignore-tokens.txt";
3634
static const std::string ALLOW_LIST_PATH =
3735
CLASSIFIER_CONFIGS_DIR "allow-list.txt";
3836

contextual-classifier/Include/FeatureExtractor.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
#include "FeaturePruner.h"
1616

17-
#define CLASSIFIER_CONF_DIR "/etc/classifier/"
17+
#define CLASSIFIER_CONF_DIR "/etc/urm/classifier/"
1818
const std::string IGNORE_TOKENS_PATH = CLASSIFIER_CONF_DIR "ignore-tokens.txt";
1919

2020
class FeatureExtractor {

modula/CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,17 @@ target_include_directories(UrmAuxUtils PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/CoreMo
1717
target_include_directories(UrmAuxUtils PUBLIC ${CMAKE_CURRENT_BINARY_DIR}/CoreModules/Include)
1818
install(TARGETS UrmAuxUtils LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})
1919

20+
# Install Headers
2021
install(
2122
FILES ${CMAKE_CURRENT_SOURCE_DIR}/Common/Include/UrmPlatformAL.h
2223
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/Urm
2324
)
2425

26+
install(
27+
FILES ${CMAKE_CURRENT_SOURCE_DIR}/Common/Include/Resource.h
28+
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/Urm
29+
)
30+
2531
install(
2632
FILES ${CMAKE_CURRENT_SOURCE_DIR}/Components/Include/Logger.h
2733
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/Urm

resource-tuner/CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,9 @@ endif()
5858

5959
# Install RestuneCore
6060
install(TARGETS RestuneCore LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})
61+
62+
# Install Headers
63+
install(
64+
FILES ${CMAKE_CURRENT_SOURCE_DIR}/core/Include/ResourceRegistry.h
65+
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/Urm
66+
)

0 commit comments

Comments
 (0)