Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Create minimal self-contained instrumentation pass #177

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/c/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,13 @@ if("${isSystemDir}" STREQUAL "-1")
set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}")
endif("${isSystemDir}" STREQUAL "-1")

add_subdirectory(parser)
add_subdirectory(runtime)
add_subdirectory(weaver)
add_subdirectory(test)
add_subdirectory(examples)

add_library(perfflowaspect INTERFACE)
target_link_libraries(perfflowaspect INTERFACE perfflow_runtime perfflow_parser WeavePassPlugin)
target_link_libraries(perfflowaspect INTERFACE perfflow_runtime WeavePassPlugin)
install(TARGETS perfflowaspect
EXPORT perfflow_export
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
Expand Down
9 changes: 2 additions & 7 deletions src/c/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@ as required by the AOP paradigm.
PerfFlowAspect requires Clang
and LLVM development packages as well as a
jansson-devel package for JSON manipulation.
It additionally requires the dependencies of
our annotation parser code: i.e.,
`flex` and `bison`.
Note that LLVM_DIR must be set to the corresponding
LLVM cmake directory which may differ across
different Linux distributions.
Expand All @@ -41,19 +38,17 @@ llvm-devel | llvm-dev | >= 9.0
jansson-devel | libjansson-dev | >= 2.6
openssl-devel | libssl-dev | >= 1.0.2
cmake | cmake | >= 3.10
flex | flex | >= 2.5.37
bison | bison | >= 3.0.4
make | make | >= 3.82

##### Installing RedHat/CentOS Packages
```
yum install clang llvm-devel gcc gcc-c++ jansson-devel openssl-devel make make flex bison
yum install clang llvm-devel gcc gcc-c++ jansson-devel openssl-devel cmake make
```

##### Installing Ubuntu Packages
```
apt-get update
apt install clang llvm-dev libjansson-dev libssl-dev bison flex make cmake make flex bison
apt install clang llvm-dev libjansson-dev libssl-dev cmake make
```

##### Building PerfFlowAspect
Expand Down
41 changes: 0 additions & 41 deletions src/c/parser/CMakeLists.txt

This file was deleted.

54 changes: 0 additions & 54 deletions src/c/parser/lex.l

This file was deleted.

7 changes: 0 additions & 7 deletions src/c/parser/libperfflow_parser.map

This file was deleted.

141 changes: 0 additions & 141 deletions src/c/parser/parser.y

This file was deleted.

43 changes: 0 additions & 43 deletions src/c/parser/perfflow_parser.cpp

This file was deleted.

27 changes: 0 additions & 27 deletions src/c/parser/perfflow_parser.hpp

This file was deleted.

18 changes: 0 additions & 18 deletions src/c/parser/test/Makefile

This file was deleted.

Loading
Loading