Skip to content

Commit

Permalink
Maybe fix clang invocation for linux x86_64 on CI?
Browse files Browse the repository at this point in the history
  • Loading branch information
lemonmojo committed Jan 17, 2025
1 parent 61f1c2a commit 4ad37be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Samples/Beyond.NET.Sample.C/build_linux_x64
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ echo "Copying C file"
cp "../${C_FILE_NAME}" "${C_FILE_NAME}"

echo "Building ${OUTPUT_PRODUCT_NAME} for x64"
clang -Wl,-rpath,. -L. -l${LIBRARY_NAME} -arch "x86_64" -o "${OUTPUT_FILE_PATH_X64}" "${C_FILE_NAME}"
clang -Wl,-rpath,. -L. -l${LIBRARY_NAME} -target "x86_64-linux-gnu" -o "${OUTPUT_FILE_PATH_X64}" "${C_FILE_NAME}"

echo "Deleting ${C_HEADER_FILE_NAME}"
rm "${C_HEADER_FILE_NAME}"

echo "Deleting ${C_FILE_NAME}"
rm "${C_FILE_NAME}"
rm "${C_FILE_NAME}"

0 comments on commit 4ad37be

Please sign in to comment.