I have set up the bitbucket-pipeline for our project, with custom GCC installation on docker space. ,we could build bootloader but when it comes to build the application code all our c source code mentioned in cmake were built, but bitbucket doesn't link the pre-built library files mentioned in cmake though the files located in the folder. Bitbucket throws no such file or folder.
bitbucket-pipeline.yml file:
image: gcc:10.2
pipelines:
pull-requests:
'**':
- step:
name: build
script:
- apt-get update
- apt-get install -y cmake
- chmod +x install_crosstoolchain.sh
- ./install_crosstoolchain.sh
- make
snippet of cmake file where our .a file is located on main directory
DXXXLIB = <span>DXXXXX/XXX.a</span>
bitbucket error:
<span>arm-none-eabi-gcc: DXXXXX/XXX.a: No such file or directory</span>
184 make[1]: *** [Makefile.general:1237: Application] Error 1
Please guide us to fix this.
It was the same issue with other library files but with building source code for it generated new library for it and problem vanished.
This particular library file we can't generate it and its a from third party.