docs/internal/AddingLinkableLibrary.md
Adding a library that is linked against:
after_staging_script instead to
build the library during the installationunifex:
type: github
method: nightlyclone
repo: facebookexperimental/libunifex
build_type: cmake
make_targets:
- unifex
targets:
- trunk
bin/ce_install --enable nightly install 'unifex'g142 or whatever - the infra has conan/switch-to-ce.sh etcbin/ce_install install 'gcc 14.2.0'bin/ce_install --debug --dry-run --keep-staging --enable nightly build --buildfor g142 'unifex'cecmakelog.txt and cemakelog_X.txt in the /opt/compiler-explorer/staging/*/...cd to a build dir and hack on the ./cebuild.sh to iteratec++.amazon.properties in compiler-explorer in the libs properties for the new library a
libs.libraryname.staticliblink=libraryname
libs.unifex.name=libunifex
libs.unifex.versions=trunk
libs.unifex.staticliblink=unifex
libs.unifex.versions.trunk.version=trunk
libs.unifex.versions.trunk.path=/opt/compiler-explorer/libs/unifex/trunk/include
ce builder startce builder loginsudo docker run --rm -it --name test -v/home/ubuntu/.s3cfg:/root/.s3cfg:ro -v/opt:/opt:ro compilerexplorer/library-builder bash