-
Notifications
You must be signed in to change notification settings - Fork 132
Support for Darwin clang toolchain #3284
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
base: main
Are you sure you want to change the base?
Conversation
fc996aa to
a27bfa6
Compare
|
Should this be called "darwin" or "macos"? Not sure what other build systems use. |
Either will work, but both Clang and CMake prefer darwin, which is why I used darwin. |
Agree to use darwin. |
| cmake -E env CFLAGS="${{ matrix.configurations }} -DLIBSPDM_DEBUG_LIBSPDM_ASSERT_CONFIG=3" cmake -DARCH=${{ matrix.arch }} -DTOOLCHAIN=${{ matrix.toolchain }} -DTARGET=${{ matrix.target }} -DCRYPTO=${{ matrix.crypto }} .. | ||
| cp -a ../unit_test/sample_key/* bin/ | ||
| cp -a ../unit_test/fuzzing/* bin/ && rm -rf bin/test_spdm_common bin/test_spdm_crypt | ||
| make -j1 # process killed with nproc |
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.
See, for example, zipper177/SatDump@d9e3b15.
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.
@itsManjeet this is still unresolved.
a27bfa6 to
26a6b46
Compare
Added CMake configurations to support build on darwin clang toolchain Tested for following configurations - ARCH=aarch64 CRYPTO=openssl TOOLCHAIN=CLANG Signed-off-by: itsManjeet <[email protected]>
26a6b46 to
584b9ae
Compare
Added CMake configurations to support build on darwin clang toolchain Tested for following configurations