Skip to content
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

Bazelmod documentation and code examples. #2713

Merged
merged 61 commits into from
Jul 12, 2024

Commits on Jun 24, 2024

  1. Added some more Bazelmod code examples.

    Signed-off-by: Marvin Hansen <marvin.hansen@gmail.com>
    marvin-hansen committed Jun 24, 2024
    Configuration menu
    Copy the full SHA
    69a9b33 View commit details
    Browse the repository at this point in the history

Commits on Jun 25, 2024

  1. Configuration menu
    Copy the full SHA
    bac6a13 View commit details
    Browse the repository at this point in the history
  2. Added FFI example and dependencies vendoring example for Bazelmod.

    Signed-off-by: Marvin Hansen <marvin.hansen@gmail.com>
    marvin-hansen committed Jun 25, 2024
    Configuration menu
    Copy the full SHA
    1f21f01 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    dcb42df View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2024

  1. Updated .gitignore to exclude fluff from JetBrain IDE's

    Signed-off-by: Marvin Hansen <marvin.hansen@gmail.com>
    marvin-hansen committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    653bb40 View commit details
    Browse the repository at this point in the history
  2. Updated the crate_universe_bzlmod.md documentation.

    Signed-off-by: Marvin Hansen <marvin.hansen@gmail.com>
    marvin-hansen committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    334f46b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e7c60a3 View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2024

  1. Updated presubmit.yml to build new bazelmod proto and oci example.

    Signed-off-by: Marvin Hansen <marvin.hansen@gmail.com>
    marvin-hansen committed Jun 27, 2024
    Configuration menu
    Copy the full SHA
    2aa5c3b View commit details
    Browse the repository at this point in the history
  2. Added .gitignore file to all new Bazelmod examples.

    Signed-off-by: Marvin Hansen <marvin.hansen@gmail.com>
    marvin-hansen committed Jun 27, 2024
    Configuration menu
    Copy the full SHA
    50e0cc1 View commit details
    Browse the repository at this point in the history
  3. Added CI build target for all remaining Bazelmod examples.

    Signed-off-by: Marvin Hansen <marvin.hansen@gmail.com>
    marvin-hansen committed Jun 27, 2024
    Configuration menu
    Copy the full SHA
    aaba5a3 View commit details
    Browse the repository at this point in the history
  4. Fixed a number of buildifier lint issues.

    Signed-off-by: Marvin Hansen <marvin.hansen@gmail.com>
    marvin-hansen committed Jun 27, 2024
    Configuration menu
    Copy the full SHA
    e843c7c View commit details
    Browse the repository at this point in the history
  5. Fixed more buildifier lint issues.

    Signed-off-by: Marvin Hansen <marvin.hansen@gmail.com>
    marvin-hansen committed Jun 27, 2024
    Configuration menu
    Copy the full SHA
    82a25e0 View commit details
    Browse the repository at this point in the history
  6. Fixed MUSL cross compiling with Bazelmod CI build.

    Signed-off-by: Marvin Hansen <marvin.hansen@gmail.com>
    marvin-hansen committed Jun 27, 2024
    Configuration menu
    Copy the full SHA
    a6a9774 View commit details
    Browse the repository at this point in the history
  7. Formated all bazel files in examples/bazelmod with buildifier

    Signed-off-by: Marvin Hansen <marvin.hansen@gmail.com>
    marvin-hansen committed Jun 27, 2024
    Configuration menu
    Copy the full SHA
    893f774 View commit details
    Browse the repository at this point in the history
  8. Added Readme to compiler example and oci container example.

    Signed-off-by: Marvin Hansen <marvin.hansen@gmail.com>
    marvin-hansen committed Jun 27, 2024
    Configuration menu
    Copy the full SHA
    2dddcee View commit details
    Browse the repository at this point in the history

Commits on Jul 3, 2024

  1. Configuration menu
    Copy the full SHA
    f6706eb View commit details
    Browse the repository at this point in the history

Commits on Jul 4, 2024

  1. Renovated Cross compilation with bzlmod example.

    Updated all dependencies.
    Updated Readme.
    
    Added sysroot for Intel/AMD to ensure the example works on Apple Silicon / Arm systems,
    
    Moved sysroot into MODULE.bazel.
    
    Added cross compile build and test to CI.
    
    Signed-off-by: Marvin Hansen <marvin.hansen@gmail.com>
    marvin-hansen committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    7f59ab6 View commit details
    Browse the repository at this point in the history
  2. Moved sysroot into MODULE.bazel.

    Removed WORKSPACE file.
    Updated Readme.
    
    Signed-off-by: Marvin Hansen <marvin.hansen@gmail.com>
    marvin-hansen committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    426d896 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ff02ade View commit details
    Browse the repository at this point in the history
  4. Removed OCI example.

    Signed-off-by: Marvin Hansen <marvin.hansen@gmail.com>
    marvin-hansen committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    e158359 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    518a78b View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    4154f20 View commit details
    Browse the repository at this point in the history
  7. Updated .gitignore files in examples to exclude hidden Mac system files.

    Signed-off-by: Marvin Hansen <marvin.hansen@gmail.com>
    marvin-hansen committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    330fb57 View commit details
    Browse the repository at this point in the history
  8. Fixed a corner case when compiling on older Intel Based Macs.

    Signed-off-by: Marvin Hansen <marvin.hansen@gmail.com>
    marvin-hansen committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    c0580e0 View commit details
    Browse the repository at this point in the history
  9. Update sysroot in MUSL example.

    Signed-off-by: Marvin Hansen <marvin.hansen@gmail.com>
    marvin-hansen committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    30a4f27 View commit details
    Browse the repository at this point in the history
  10. Added Bazelversion file and symlinked all bzlmod examples to it.

    Signed-off-by: Marvin Hansen <marvin.hansen@gmail.com>
    marvin-hansen committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    38752d9 View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2024

  1. Removed .DS_Store Apple stuff.

    Updated .gitignore
    
    Signed-off-by: Marvin Hansen <marvin.hansen@gmail.com>
    marvin-hansen committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    9aedaca View commit details
    Browse the repository at this point in the history
  2. Formatted C code in FFI example.

    Signed-off-by: Marvin Hansen <marvin.hansen@gmail.com>
    marvin-hansen committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    3c4d9e4 View commit details
    Browse the repository at this point in the history
  3. Formatted proto

    Signed-off-by: Marvin Hansen <marvin.hansen@gmail.com>
    marvin-hansen committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    93e0b68 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    52eca2b View commit details
    Browse the repository at this point in the history
  5. Formatted proto

    Signed-off-by: Marvin Hansen <marvin.hansen@gmail.com>
    marvin-hansen committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    a2438ff View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    106a945 View commit details
    Browse the repository at this point in the history
  7. Formatted proto

    Signed-off-by: Marvin Hansen <marvin.hansen@gmail.com>
    marvin-hansen committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    27ba0b6 View commit details
    Browse the repository at this point in the history
  8. Formatted proto

    Signed-off-by: Marvin Hansen <marvin.hansen@gmail.com>
    marvin-hansen committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    0130fa4 View commit details
    Browse the repository at this point in the history
  9. Updated MUSL example

    Signed-off-by: Marvin Hansen <marvin.hansen@gmail.com>
    marvin-hansen committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    0b405f4 View commit details
    Browse the repository at this point in the history
  10. Formatted Bazelfiles.

    Signed-off-by: Marvin Hansen <marvin.hansen@gmail.com>
    marvin-hansen committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    82b7546 View commit details
    Browse the repository at this point in the history
  11. Updated MUSL bazelmod example;

    Signed-off-by: Marvin Hansen <marvin.hansen@gmail.com>
    marvin-hansen committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    8c8fc22 View commit details
    Browse the repository at this point in the history
  12. Added platform tests to cross compile and MUSL example.

    Signed-off-by: Marvin Hansen <marvin.hansen@gmail.com>
    marvin-hansen committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    7939b5b View commit details
    Browse the repository at this point in the history
  13. Formatted Bazel files.

    Signed-off-by: Marvin Hansen <marvin.hansen@gmail.com>
    marvin-hansen committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    fb25308 View commit details
    Browse the repository at this point in the history
  14. Formatted Bazel files.

    Signed-off-by: Marvin Hansen <marvin.hansen@gmail.com>
    marvin-hansen committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    8a2f8d1 View commit details
    Browse the repository at this point in the history
  15. Switched MUSL example to MiMalloc

    Signed-off-by: Marvin Hansen <marvin.hansen@gmail.com>
    marvin-hansen committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    1854074 View commit details
    Browse the repository at this point in the history
  16. Removed more .DS_Store files and updated .gitignore

    Signed-off-by: Marvin Hansen <marvin.hansen@gmail.com>
    marvin-hansen committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    f651e98 View commit details
    Browse the repository at this point in the history
  17. Fixed platform script to work on BSD / Mac and Gnu/Linux systems.

    Signed-off-by: Marvin Hansen <marvin.hansen@gmail.com>
    marvin-hansen committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    200c187 View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2024

  1. Added local override to bazelmod MUSL example to test against head.

    Signed-off-by: Marvin Hansen <marvin.hansen@gmail.com>
    marvin-hansen committed Jul 7, 2024
    Configuration menu
    Copy the full SHA
    772bd63 View commit details
    Browse the repository at this point in the history
  2. Working on a patch to resolve MUSL toolchain.

    Signed-off-by: Marvin Hansen <marvin.hansen@gmail.com>
    marvin-hansen committed Jul 7, 2024
    Configuration menu
    Copy the full SHA
    1084934 View commit details
    Browse the repository at this point in the history
  3. Added debug to rust_repository_set

    Signed-off-by: Marvin Hansen <marvin.hansen@gmail.com>
    marvin-hansen committed Jul 7, 2024
    Configuration menu
    Copy the full SHA
    7a2576a View commit details
    Browse the repository at this point in the history
  4. Added first draft to add constraint_value to MUSL toolchain via the a…

    …bi_to_constraints function used by triple_to_constraint_set
    
    Signed-off-by: Marvin Hansen <marvin.hansen@gmail.com>
    marvin-hansen committed Jul 7, 2024
    Configuration menu
    Copy the full SHA
    389508a View commit details
    Browse the repository at this point in the history
  5. Removed breaking return statement in abi_to_constraints

    Signed-off-by: Marvin Hansen <marvin.hansen@gmail.com>
    marvin-hansen committed Jul 7, 2024
    Configuration menu
    Copy the full SHA
    ae6b370 View commit details
    Browse the repository at this point in the history
  6. Uncommented MUSL case in abi_to_constraints

    Signed-off-by: Marvin Hansen <marvin.hansen@gmail.com>
    marvin-hansen committed Jul 7, 2024
    Configuration menu
    Copy the full SHA
    e29643b View commit details
    Browse the repository at this point in the history
  7. Reverted changed in rust_repository_set

    Signed-off-by: Marvin Hansen <marvin.hansen@gmail.com>
    marvin-hansen committed Jul 7, 2024
    Configuration menu
    Copy the full SHA
    ee2fd10 View commit details
    Browse the repository at this point in the history
  8. Reverted back

    Signed-off-by: Marvin Hansen <marvin.hansen@gmail.com>
    marvin-hansen committed Jul 7, 2024
    Configuration menu
    Copy the full SHA
    55713c2 View commit details
    Browse the repository at this point in the history
  9. Disabled MUSL on x86_64 due to issue #2726

    Signed-off-by: Marvin Hansen <marvin.hansen@gmail.com>
    marvin-hansen committed Jul 7, 2024
    Configuration menu
    Copy the full SHA
    4fa6a19 View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2024

  1. Update examples/bzlmod/compile_opt/README.md

    Good.
    
    Co-authored-by: Daniel Wagner-Hall <dawagner@gmail.com>
    marvin-hansen and illicitonion authored Jul 8, 2024
    Configuration menu
    Copy the full SHA
    dbe63d7 View commit details
    Browse the repository at this point in the history
  2. Update examples/bzlmod/musl_cross_compiling/README.md

    Co-authored-by: Daniel Wagner-Hall <dawagner@gmail.com>
    marvin-hansen and illicitonion authored Jul 8, 2024
    Configuration menu
    Copy the full SHA
    96e1d83 View commit details
    Browse the repository at this point in the history
  3. Removed bzlmod musl_cross_compiling example due to issue #2726

    Signed-off-by: Marvin Hansen <marvin.hansen@gmail.com>
    marvin-hansen committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    95484c6 View commit details
    Browse the repository at this point in the history
  4. Updated cross compile Readme.

    Signed-off-by: Marvin Hansen <marvin.hansen@gmail.com>
    marvin-hansen committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    0cc29b9 View commit details
    Browse the repository at this point in the history
  5. Removed .DS_Store files files and updated .gitignore

    Signed-off-by: Marvin Hansen <marvin.hansen@gmail.com>
    marvin-hansen committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    6e97e3e View commit details
    Browse the repository at this point in the history
  6. Removed musl bazelmod example from CI config.

    Signed-off-by: Marvin Hansen <marvin.hansen@gmail.com>
    marvin-hansen committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    dd99d68 View commit details
    Browse the repository at this point in the history
  7. Readme formatting in bzlmod/proto example.

    Signed-off-by: Marvin Hansen <marvin.hansen@gmail.com>
    marvin-hansen committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    7d099ab View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2024

  1. Configuration menu
    Copy the full SHA
    b8f87e0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ab287dd View commit details
    Browse the repository at this point in the history