Skip to content

Commit

Permalink
[swiftsrc2cpg] Added runtime dependencies (joernio#4182)
Browse files Browse the repository at this point in the history
max-leuthaeuser authored Feb 16, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent f364814 commit a701c40
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion joern-cli/frontends/swiftsrc2cpg/README.md
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@ The build process has been verified on Linux, and it should be possible
to build on OS X and BSD systems as well. The build process requires
the following prerequisites:

* Java runtime 11
* JDK 11
- Link: http://openjdk.java.net/install/
* Scala build tool (sbt)
- Link: https://www.scala-sbt.org/
@@ -31,6 +31,10 @@ swift build

## Running

Required runtime dependencies:
- Java runtime >= 11
- `glibc` >= 2.34 (for swiftastgen); or `swift` 5.9 directly which brings in all required dependencies anyway.

To produce a code property graph issue the command:
```shell script
./swiftsrc2cpg.sh <path/to/sourceCodeDirectory> --output <path/to/outputCpg>

0 comments on commit a701c40

Please sign in to comment.