-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[Build] Compilation error on FreeBSD #18284
Comments
AFAIK FreeBSD is not a directly supported platform. Seems like it's an issue with the version of
|
Based on this you may need to install GNU patch: cweagans/composer-patches#159 (comment) GNU patch source showing the https://git.savannah.gnu.org/cgit/patch.git/tree/src/patch.c#n781 |
Thanks a lot, it worked! Building it, let's see if I run into any other issues. |
There is a cleaner way: Just add the line:
to |
Describe the issue
I tried to compile onnxruntime on FreeBSD but encountered the following error. This is the command I used:
./build.sh --config RelWithDebInfo --build_shared_lib --parallel --compile_no_warning_as_error --skip_submodule_sync --allow_running_as_root
Urgency
No response
Target platform
FreeBSD 13.2-RELEASE
Build script
Error / output
Visual Studio Version
No response
GCC / Compiler Version
FreeBSD clang version 14.0.5
The text was updated successfully, but these errors were encountered: