File tree Expand file tree Collapse file tree 5 files changed +12
-4
lines changed
Expand file tree Collapse file tree 5 files changed +12
-4
lines changed Original file line number Diff line number Diff line change 2929 with :
3030 path : |
3131 d:/artifacts
32- key : ${{ inputs.BuildPkg }}
32+ key : ${{ inputs.BuildPkg }}-${{ inputs.RequiredDeps }}
3333 lookup-only : true
3434
3535@@ -129,7 +129,7 @@ jobs:
129129 with :
130130 path : |
131131 d:/artifacts
132- key : ${{ inputs.BuildPkg }}
132+ key : ${{ inputs.BuildPkg }}-${{ inputs.RequiredDeps }}
133133 # - name: Debug Session
134134 # if: ${{ failure() }}
135135 # run: D:/a/docs/docs/.github/debug_ssh_start.ps1
Original file line number Diff line number Diff line change 3232 gnulib_ensure_buildaux_scripts_copied
3333 autoreconf --symlink --verbose --install
3434 libtool_fixes " build-aux/ltmain.sh" " m4/libtool.m4"
35+ autoreconf --verbose # update for libtool fixes
3536 SKIP_STEP=" "
3637 fi
3738
Original file line number Diff line number Diff line change 5252 gnulib_add_addl_modules_to_bootstrap;
5353 gnulib_ensure_buildaux_scripts_copied;
5454 setup_gnulibtool_py_autoconfwrapper # needed for generated .mk/.ac files but if just stock then the below line likely works
55- libtool_fixes " build-aux/ltmain.sh" " m4/libtool.m4"
5655 ./bootstrap --no-bootstrap-sync --no-git --gnulib-srcdir=gnulib --skip-po
56+ libtool_fixes " build-aux/ltmain.sh" " m4/libtool.m4"
57+ autoreconf --verbose # update for libtool fixes
5758 SKIP_STEP=" "
5859 fi
5960 fi
Original file line number Diff line number Diff line change 4141 SKIP_STEP=" "
4242 fi
4343 OLDPATH=" $PATH "
44+ # build-aux\ltmain.sh
4445
4546 if [[ -z $SKIP_STEP || $SKIP_STEP == " vcpkg" ]]; then
4647 TAR_BASE=$( get_install_prefix_for_pkg " tar" )
7677 if [[ -z $SKIP_STEP || $SKIP_STEP == " bootstrap" ]]; then
7778 gnulib_ensure_buildaux_scripts_copied;
7879 setup_gnulibtool_py_autoconfwrapper # needed for generated .mk/.ac files but if just stock then the below line likely works
80+ libtool_fixes " build-aux/ltmain.sh" " m4/libtool.m4"
7981 ./bootstrap --no-bootstrap-sync --no-git --gnulib-srcdir=gnulib --skip-po
8082 SKIP_STEP=" "
8183 fi
8284 fi
8385 if [[ $SKIP_STEP == " autoconf" ]]; then # not empty allowed as if we bootstrapped above we dont need to run nautoconf
8486 autoreconf --symlink --verbose --install
87+ libtool_fixes " build-aux/ltmain.sh" " m4/libtool.m4"
88+ autoreconf --verbose # update for libtool fixes
8589 gnulib_ensure_buildaux_scripts_copied;
8690 SKIP_STEP=" " # to do all the other steps
8791 fi
110114 if [[ $CALL_CMD == " log_undefines" ]]; then
111115 FL=" undefined.txt"
112116 echo " Logging undefined symbols to ${FL} "
113- make | rg --no-line-number -oP " unresolved external symbol.+referenced" | sed -E ' s#unresolved external symbol(.+)referenced#\1#g' | sort -u > $FL
117+ make | rg --no-line-number -oP " unresolved external symbol.+referenced" | sed -E ' s#unresolved external symbol(.+)referenced#\\ 1#g' | sort -u > $FL
114118 exit 1
115119 fi
116120 make -j 8 || make
Original file line number Diff line number Diff line change @@ -130,6 +130,8 @@ function libtool_fixes(){
130130 # first the newer libtools have more windows support but that makes things actually a bit harder as it has some issues
131131 # first it puts the export symbol commands in a .exp file but that is used by the compiler too so .expsym is better and used elsewhere
132132 # Secondly it does -Fe [arg] but it needs to be next to the -Fe[arg]
133+ # ie libtool_fixes "build-aux/ltmain.sh" "m4/libtool.m4"
134+ # note you must run autoreconf after this if it wont automatically happen. Sometimes these will not be present until after the first bootstrap though so likely want to run autoreconf ourselves.
133135# local POS_FILES=("build-aux/ltmain.sh" "m4/libtool.m4")
134136# for fl in "${POS_FILES[@]}"; do
135137# if [[ -e "$fl" ]]; then
You can’t perform that action at this time.
0 commit comments