小编Wez*_*ong的帖子

计划构建永远不会在 azure devops 管道中触发

我在 GitHub 上托管的开源项目中有以下配置:https : //github.com/wez/wezterm/blob/master/azure-pipelines.yml#L9

schedules:
- cron: "0 0 * * *"
  displayName: Daily build
  always: true
  branches:
    include:
- master
Run Code Online (Sandbox Code Playgroud)

我的 azure 组织是https://dev.azure.com/wez0788/wezterm。我的项目是开源的并使用免费层。

时间表似乎没有任何影响;构建列表中没有显示预定构建。

构建触发器的文档有一个故障排除部分,其中没有关于为什么没有安排预定构建的任何有用信息。甚至不清楚语法是否正确,因为没有 UI 来指示管道是否已选择时间表。配置足以推送到 repo 和 PR 确实触发成功构建。

这个问题听起来很相似,但有一个显着的区别,我从来没有运行过一个预定的构建,所以这不是一个间歇性问题: Azure DevOps 构建管道不可靠按计划触发

其他人似乎遇到了同样的问题并在此处提交了 GH 问题,但由于这是一个文档问题跟踪器,因此已关闭:https : //github.com/MicrosoftDocs/vsts-docs/issues/4589

我怎样才能让我的预定构建实际运行?

azure-devops azure-pipelines

6
推荐指数
1
解决办法
2091
查看次数

当我的包只用C构建时,如何告诉autoconf不要探测fortran,C++等?

这一直困扰着我多年,但我一直忽视它,就像我怀疑其他人一样.

AM_INIT_AUTOMAKE([dist-bzip2])
AC_PROG_CC
AC_PROG_LIBTOOL
AC_C_INLINE
AM_PROG_CC_C_O
Run Code Online (Sandbox Code Playgroud)

有了上面的configure.ac文件,configure会去找我一个C编译器,但接下来继续:

checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for …
Run Code Online (Sandbox Code Playgroud)

automake autoconf autotools libtool

2
推荐指数
1
解决办法
966
查看次数

为什么我的 erlang 构建会因 Solaris Sparc 上的核心转储而失败?

(我已经有了答案;我将回答我自己的问题,以便我可以分享我所学到的知识,并在将来为其他人省去这个麻烦)

当我尝试在 Solaris 10 Sparcv9 上构建 Erlang 时,构建中途失败:

cd lib && \
  ERL_TOP=/var/tmp/pkgbuild-0/erlang/sparcv9/erlang-otp-73b4221 PATH=/var/tmp/pkgbuild-0/erlang/sparcv9/erlang-otp-73b4221/bootstrap/bin:${PATH} \
        make opt SECONDARY_BOOTSTRAP=true
make[1]: Entering directory `/var/tmp/pkgbuild-0/erlang/sparcv9/erlang-otp-73b4221/lib'
make[2]: Entering directory `/var/tmp/pkgbuild-0/erlang/sparcv9/erlang-otp-73b4221/lib/hipe'
=== Entering application hipe
make[3]: Entering directory `/var/tmp/pkgbuild-0/erlang/sparcv9/erlang-otp-73b4221/lib/hipe/misc'
erlc -W  +debug_info +warn_exported_vars +warn_missing_spec +warn_untyped_record -o../ebin hipe_consttab.erl
make[3]: *** [../ebin/hipe_consttab.beam] Bus Error (core dumped)
make[3]: Leaving directory `/var/tmp/pkgbuild-0/erlang/sparcv9/erlang-otp-73b4221/lib/hipe/misc'
Run Code Online (Sandbox Code Playgroud)

为什么会这样,我该怎么做才能完成我的 Erlang 构建?

erlang solaris sparc

1
推荐指数
1
解决办法
679
查看次数