Skip to content

Latest commit

 

History

History
39 lines (22 loc) · 1.4 KB

README.md

File metadata and controls

39 lines (22 loc) · 1.4 KB


Arcadia

What is it?

A set of microservices and supporting infrastructure for Infinity List as well as being a bot for staff to use.

Database Seeds

You can find a seed of the Infinity List database at https://reedwhisker.infinitybots.gg/help/contribute/seedguide. This seed is public and available for all contributors

Contributing

  • Always run cargo fmt before making a Pull Request!
  • Always increment version during big changes

MacOS cross compile

Follow https://stackoverflow.com/questions/40424255/cross-compilation-to-x86-64-unknown-linux-gnu-fails-on-mac-osx

Use https://github.com/MaterializeInc/homebrew-crosstools for cross compiling as it is newer

Path update

PATH=/opt/homebrew/Cellar/x86_64-unknown-linux-gnu/0.1.0/bin:$PATH

Not always needed, try running make cross before doing the below

Symlink gcc if needed by ring at /opt/homebrew/Cellar/x86_64-unknown-linux-gnu/0.1.0/bin based on the error you get

Replace 7.2.0 with whatever gcc version you need

make push to push newly built lib. Mofidy according to your ssh ip

**If you face any build issues on macOS, try removing /opt/homebrew/bin/x86_64-linux-gnu-gcc and then ln -sf /opt/homebrew/bin/x86_64-unknown-linux-gnu-cc /opt/homebrew/bin/x86_64-linux-gnu-gcc