lauk20 opened a new pull request, #3246:
URL: https://github.com/apache/kvrocks/pull/3246

   Addresses #3213
   
   **Code Style**
   I ran `./x.py check tidy --fix` as indicated here: 
https://kvrocks.apache.org/community/contributing#code-style and received this 
error:
   ```
   Applying fixes ...
   Traceback (most recent call last):
     File "/Users/user/Documents/kvrocks/./x.py", line 460, in <module>
       args.func(**arg_dict)
       ~~~~~~~~~^^^^^^^^^^^^
     File "/Users/user/Documents/kvrocks/./x.py", line 223, in clang_tidy
       run(run_command, *options, *regexes, verbose=True, cwd=basedir)
       ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     File "/Users/user/Documents/kvrocks/./x.py", line 70, in run
       raise RuntimeError(err)
   RuntimeError: 
   failed to run: ('/opt/homebrew/opt/llvm/bin/run-clang-tidy', '-p', 'build', 
'-clang-tidy-binary', '/opt/homebrew/opt/llvm/bin/clang-tidy', '-fix', 
'-header-filter=kvrocks/src/|utils/kvrocks2redis/|tests/cppunit/', 
'kvrocks/src/', 'utils/kvrocks2redis/', 'tests/cppunit/')
   exit with code: 1
   ```
   I am running on MacOS ARM architecture; any ideas on how to fix?
   
   Nevertheless, the code formatter seems to work and unit tests pass locally.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to