-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Make FPU settings configurable for installer #32053
Conversation
Could you please submit PR to delete it ? There are 3 toolchain.cmake in different directories - should all of them be deleted? |
Aside, I have ran # file: $HOME/cmake-format.config
# -----------------------------
# Options effecting formatting.
# -----------------------------
with section("format"):
# How wide to allow formatted cmake files
line_width = 180
# How many spaces to tab for indent
tab_size = 4
# If true, separate flow control names from their parentheses with a space
separate_ctrl_name_with_space = True
# If true, separate function names from parentheses with a space
separate_fn_name_with_space = True
# If a statement is wrapped to more than one line, than dangle the closing
# parenthesis on its own line.
dangle_parens = False and ran: pip install cmake_format
cd dotnet-runtime
$HOME/.local/bin/cmake-format -i -c=$HOME/cmake-format.config eng/native/toolchain.cmake it would be nice if we run it on all git ls-files :/**/*.cmake :/**/CMakeLists.txt | \
xargs --null -I{} $HOME/.local/bin/cmake-format -i -c=$HOME/cmake-format.config {} there are over 1532 cmake files in the repo. |
Sure. @janvorli, shall we move |
Why do we want to move them out of the arcade? In my view, it belongs to the cross build that can be used by any repo, not just runtime. I would expect corert to use it too. So I would keep it in the arcade. |
Edited the above message: runtime -> arcade |
@jkotas the three versions are: one for Linux, two for Android (arm, arm64). I guess the Android ones could be at least merged together if not into the Linux one. But I haven't looked at them for quite a long time, so I am not sure whether there are any caveats or not. |
@am11 I personally don't like the |
@janvorli, is this change ok to check in? Once Arcade is updated, original issue can be closed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thank you!
#32029
@jkotas, seems like
CLR_ARM_FPU_CAPABILITY
change ineng/common/toolchain.cmake
was overwritten by @dotnet-bot at 4528f84#diff-ee3a7f0d86bfe417f1acbec7d1c0082a. I think the proper way was to push the changes https://github.com/dotnet/arcade/.eng/common/toolchain.cmake
is only used in one place in the runtime repo, so I have copied it toeng/native/
directory, next to where it is used. We can delete this file from dotnet/arcade.