File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -50,14 +50,15 @@ jobs:
50
50
run : |
51
51
git clone --single-branch --depth 1 https://github.com/triton-inference-server/core
52
52
#"$HOME/.dotnet"
53
- dotnet --version
54
- dotnet --list-runtimes
55
- ls $DOTNET_ROOT/sdk
56
53
DOTNET_ROOT=/usr/share/dotnet
57
54
DOTNETSDKVER=$(dotnet --version)
58
55
DOTNETFWKVER=$(dotnet --list-runtimes | grep Microsoft.NETCore.App | tail -n 1 | cut -d " " -f2)
59
56
DOTNETLIBDIR="$DOTNET_ROOT/shared/Microsoft.NETCore.App/$DOTNETFWKVER"
57
+ dotnet --version
58
+ dotnet --list-runtimes
59
+ ls $DOTNET_ROOT/sdk
60
60
echo $DOTNETSDKVER $DOTNETFWKVER
61
+ find CppSharp/bin/ -name "*.dll"
61
62
# -r:CppSharp/bin/Release_x64/CppSharp.dll -r:CppSharp/bin/Release_x64/CppSharp.AST.dll -r:CppSharp/bin/Release_x64/CppSharp.Parser.dll
62
63
export LD_LIBRARY_PATH=CppSharp/bin/Release_x64/
63
64
dotnet "$DOTNET_ROOT/sdk/$DOTNETSDKVER/Roslyn/bincore/csc.dll" $(find "$DOTNETLIBDIR" -name "*.dll" -printf '-r:"%p" ') $(find CppSharp/bin/ -name "*.dll" -printf '-r:"%p" ') -target:library -out:tritonservercppsharptest.exe tritonservercppsharp.cs
You can’t perform that action at this time.
0 commit comments