I've verified that reverting the tf-m-tests patch fixes the build failures that Chris outlined.

Cheers,
Mal

On Mon, Nov 2, 2020 at 6:16 PM David Hu via TF-M <tf-m@lists.trustedfirmware.org> wrote:

Hi Chris,

 

Sorry for the build failure. A patch is merged into tf-m-tests but its peer ones in TF-M haven’t been approved yet.

I have temporarily reverted that tf-m-tests patch. Please have another try.

 

Best regards,

Hu Ziji

 

From: TF-M <tf-m-bounces@lists.trustedfirmware.org> On Behalf Of Christopher Brand via TF-M
Sent: Tuesday, November 3, 2020 1:54 AM
To: tf-m@lists.trustedfirmware.org
Subject: [TF-M] cmake error

 

I just fetched the latest master (1655ef5120e99c62782575d0a8b3707ebfc2148e), and I’m now getting a cmake error:

$ cmake -S . -B build_GNUARM_Relwithdebinfo '-GUnix Makefiles' -DTFM_PLATFORM=cypress/psoc64 -DCMAKE_TOOLCHAIN_FILE=toolchain_GNUARM.cmake -DCMAKE_BUILD_TYPE=Relwithdebinfo -DTEST_NS=ON -DTEST_S=ON -DTFM_IRQ_TEST=ON

[…]

CMake Error at build_GNUARM_Relwithdebinfo/lib/ext/tfm_test_repo-src/app/CMakeLists.txt:17 (tfm_toolchain_reload_compiler):

  Unknown CMake command "tfm_toolchain_reload_compiler".

 

Looks like tf-tests commit c41f3a078713b17b5654851329d63bcc0672874b introduced calls to tfm_toolchain_reload_compiler(), which I don’t see declared anywhere.

 

I can work around it by using a local checkout of tf-m-tests at HEAD~.

 

Chris Brand

Sr Prin Software Engr, MCD: WIRELESS

 

Cypress Semiconductor Corp.

An Infineon Technologies Company

#320-13700 International Place, Richmond, British Columbia V6V 2X8 Canada

www.infineon.com www.cypress.com

 


This message and any attachments may contain confidential information from Cypress or its subsidiaries. If it has been received in error, please advise the sender and immediately delete this message.

--
TF-M mailing list
TF-M@lists.trustedfirmware.org
https://lists.trustedfirmware.org/mailman/listinfo/tf-m