Conversation
| popd > /dev/null | ||
| } | ||
|
|
||
| install_dev() { |
There was a problem hiding this comment.
Do we want to remove dev dep like clang-tidy from setup_ubuntu and only preserve it in install_dev? Now both of them have it.
|
This one depends on #201. |
c54e4ff to
f40c56f
Compare
|
12639df to
91899c8
Compare
91899c8 to
67e8b48
Compare
|
Some thoughts:
|
1 . good point, updated. I used a global variable to allow use change, but I set the property on each lib, so we can change independently. because I added a global include, so I will also update the various header include not to use relative path. |
|
I temporarily removed mrcProfiler from the test because the plugin system needs more work and will be addressed separately. |
|
@haochengxia ready to review |
47895fa to
afb7b49
Compare
haochengxia
left a comment
There was a problem hiding this comment.
LGTM!
P.S.: I noticed that in some places, such as admission, we used include_directories to include header files, so we no longer need relative paths. Should we apply this to the project scope? If yes, I'd like to create one PR using target_include_directories/include_directories.
remove private
2603247 to
0b14d66
Compare
|
I think with the current structure, we include the libCacheSim header path |
There was a problem hiding this comment.
Pull Request Overview
This PR cleans up and refactors multiple CMakeLists and associated build scripts while updating target names, include paths, and dependency handling across the project.
- Refactored test executable creation and linking in CMakeLists.txt for better maintainability.
- Removed outdated files (e.g. .travis.yml and lint.sh) and improved consistency in shell scripts and library targets.
- Updated source file include paths and target properties for various modules (e.g. traceReader, profiler, eviction algorithms).
Reviewed Changes
Copilot reviewed 26 out of 64 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| test/CMakeLists.txt | Refactored test executable function and updated target linkage. |
| scripts/lint.sh | Removed; likely replaced by new linting mechanisms. |
| scripts/install_dev_dependency.sh | New script for development dependency installation with logging improvements. |
| scripts/install_dependency.sh | Improved syntax with modern bash practices and removed the verbose option. |
| libCacheSim/utils/CMakeLists.txt | Updated target creation for the utils library with modern flags and include paths. |
| libCacheSim/traceReader/CMakeLists.txt | Improved naming for source variables and updated linking for the traceReader library. |
| libCacheSim/traceAnalyzer/* | Updated include paths and formatting consistency in traceAnalyzer sources. |
| libCacheSim/profiler/CMakeLists.txt | Refactored profiler library target with updated compiler flags and linking. |
| libCacheSim/mrcProfiler/CMakeLists.txt | Standardized C++ target properties and dependency linking. |
| libCacheSim/include/libCacheSim/evictionAlgo.h | Formatted function declarations for consistency and readability. |
| libCacheSim/dataStructure/CMakeLists.txt | Added new sources and improved target configuration for the data structure library. |
| libCacheSim/cache/prefetch/CMakeLists.txt | Removed legacy prefetch target as part of cleanup. |
| libCacheSim/cache/eviction/priv/myMQv1.c | Removed unfinished eviction algorithm implementation. |
| libCacheSim/cache/eviction/other/S3LRU.c | Corrected include paths for consistency. |
| libCacheSim/cache/eviction/RandomLRU.c | Added allocation and cleanup for eviction candidates and improved formatting. |
| libCacheSim/cache/eviction/CMakeLists.txt | Removed unused eviction algorithm C source file list. |
| libCacheSim/cache/admission/* | Updated include paths in admission algorithms and removed obsolete CMakeLists. |
| libCacheSim/cache/CMakeLists.txt | Reorganized modular libraries and unified dependency management; added install rules. |
| CMakeLists.txt | Consolidated compiler flags, dependency resolution, and installation targets; removed outdated options. |
| .travis.yml | Removed CI configuration file; likely migrated to a different CI system. |
Comments suppressed due to low confidence (1)
| // qsort(obj_to_evict, N, sizeof(cache_obj_t *), compare); | ||
|
|
||
| // if (obj_to_evict1->Random.last_access_vtime < obj_to_evict2->Random.last_access_vtime) | ||
| // if (obj_to_evict1->Random.last_access_vtime < |
There was a problem hiding this comment.
Consider removing obsolete commented-out code in the sorting comparator section to improve code clarity and maintainability.
98a17c5 to
ccd9465
Compare



No description provided.