Skip to content

Conversation

@rastogishubham
Copy link

@rastogishubham rastogishubham commented Aug 25, 2023

To enable MCCAS, the following driver options have been added

-cas-backend: Enable MCCAS backend in swift, the option -cache-compile-job must also be used.

-cas-backend-mode=native: Set the CAS Backend mode to emit an object file after materializing it from the CAS.

-cas-backend-mode=casid: Emit a file with the CASID for the CAS that was created.

-cas-backend-mode=verify: Verify that the object file created is identical to the object file materialized from the CAS.

-cas-emit-casid-file: Emit a .casid file next to the object file when CAS Backend is enabled.

@rastogishubham
Copy link
Author

@swift-ci please test

@rastogishubham
Copy link
Author

@swift-ci please test

Copy link
Contributor

@adrian-prantl adrian-prantl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Exciting! Couple minor issues inside.

@rastogishubham
Copy link
Author

@swift-ci please test

@xedin xedin removed their request for review August 28, 2023 04:49
@rastogishubham rastogishubham force-pushed the MCCASSwift branch 2 times, most recently from 7b80d75 to 9de998d Compare August 29, 2023 16:59
@rastogishubham
Copy link
Author

@swift-ci please test

Copy link
Contributor

@cachemeifyoucan cachemeifyoucan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with a small comment

@rastogishubham
Copy link
Author

@swift-ci please test

Copy link
Contributor

@adrian-prantl adrian-prantl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like the test still has portions commented out.

@rastogishubham
Copy link
Author

Looks like the test still has portions commented out.

Sorry about that, looks like I missed a couple lines by mistake

@rastogishubham
Copy link
Author

@swift-ci please test

@rastogishubham
Copy link
Author

@swift-ci please test

@rastogishubham
Copy link
Author

@swift-ci please test

@rastogishubham
Copy link
Author

@swift-ci please test

To enable MCCAS, the following driver options have been added

-cas-backend: Enable MCCAS backend in swift, the option
-cache-compile-job must also be used.

-cas-backend-mode=native: Set the CAS Backend mode to emit an object
file after materializing it from the CAS.

-cas-backend-mode=casid: Emit a file with the CASID for the CAS that was
created.

-cas-backend-mode=verify: Verify that the object file created is
identical to the object file materialized from the CAS.

-cas-emit-casid-file: Emit a .casid file next to the object file when
CAS Backend is enabled.
@rastogishubham
Copy link
Author

@swift-ci please test

@rastogishubham rastogishubham merged commit 585c700 into swiftlang:rebranch Sep 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants