Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

network/linphone-desktop: Added (VoIP SIP Softphone). #8358

Closed

Conversation

sbo-bot[bot]
Copy link

@sbo-bot sbo-bot bot commented Oct 12, 2024

No description provided.

@sbo-bot sbo-bot bot added the submission-form Changes submitted via the website submission form label Oct 12, 2024
Copy link

reverse dependencies - network/linphone-desktop

None

Copy link

✅ sbolint - network/linphone-desktop ✅

sbolint: linphone-desktop checks out OK

@willysr willysr changed the base branch from master to willysr October 12, 2024 03:32
@willysr
Copy link
Member

willysr commented Oct 12, 2024

@sbo-bot: build network/linphone-desktop

Copy link
Author

sbo-bot bot commented Oct 12, 2024

buildpkg i586 network/linphone-desktop

Creating hintfile directory: /etc/repo/SBo/hintfiles
Checking whether git is clean ... yes.
Indexing SlackBuilds ... done.
git repo: /var/lib/repo/SBo/slackbuilds
branch:   HEAD
date:     Sat Oct 12 03:32:34 GMT 2024
revision: 02542bee622a434a9e7adf3d797a08b8f60a7667
title:    Merge ed4af84d1a7cfe4a83cc47796c113286c6cdf52c into 7a375f64dcc79e613e0bdaef938dbb2e50bd6b91

================================================================================
network/linphone-desktop                                                03:44:10
================================================================================

Calculating dependencies ... 
Hints for network/avahi:
  GROUPADD="214:avahi"
  USERADD="214:avahi"
Dependency tree:
network/linphone-desktop (unsupported)
  python/python3-pystache (ok)
  network/cmake3.30 (update for git 7a375f6)
  network/avahi (ok)
    libraries/libdaemon (ok)
  libraries/spandsp (ok)
    libraries/fltk (ok)

Building network/cmake3.30 (update for git 7a375f6) ------------------- 03:44:13
Testing SlackBuild files ... done.
Verifying source files ... done.
Testing download URLs ... done.
Running cmake3.30.SlackBuild ...                                    ETA 03:49:??
env MAKEFLAGS='-j24 -l13' nice -n 5 bash ./cmake3.30.SlackBuild
Build time 309 sec, peak load 13.32, peak memory 2726M, peak tmp 508M
Built ok:  cmake3.30-3.30.5-i586-2_SBo.txz                              03:49:22
WARNING: network/cmake3.30: Files/directories were modified in the chroot
/root/.subversion
Testing package cmake3.30-3.30.5-i586-2_SBo.txz ... done.
Test installing cmake3.30-3.30.5-i586-2_SBo.txz ...
cmake3.30-3.30.5-i586-2_SBo: a build of cmake 3.30 in /opt ............. [  71M]
  Running profile script: /etc/profile.d/cmake3.30.sh
Unmounting chroot ... done.
Backed up: cmake3.30-3.30.5-i586-1_SBo.txz
✅ network/cmake3.30 Updated for git 7a375f6 ✅

:-/ network/linphone-desktop is UNSUPPORTED on i586 /-:

================================================================================
SUMMARY                                                                 03:49:28
================================================================================

Logfile:     /var/log/repo/SBo/repo_2024-10-12_03:44:10.log
Runtime:     0h 5m 19s
Updated:     1
  network/cmake3.30/cmake3.30-3.30.5-i586-2_SBo.txz
Unsupported: 1
  network/linphone-desktop
Warnings:    1
  network/cmake3.30: Files/directories were modified in the chroot

Snipped Build Log

 2024-10-12 03:49:28
:-/ network/linphone-desktop is UNSUPPORTED on i586 /-:

Copy link
Author

sbo-bot bot commented Oct 12, 2024

buildpkg x86_64 network/linphone-desktop

Creating hintfile directory: /etc/repo/SBo/hintfiles
Checking whether git is clean ... yes.
Indexing SlackBuilds ... done.
git repo: /var/lib/repo/SBo/slackbuilds
branch:   HEAD
date:     Sat Oct 12 03:32:34 GMT 2024
revision: 02542bee622a434a9e7adf3d797a08b8f60a7667
title:    Merge ed4af84d1a7cfe4a83cc47796c113286c6cdf52c into 7a375f64dcc79e613e0bdaef938dbb2e50bd6b91

================================================================================
network/linphone-desktop                                                03:50:36
================================================================================

Calculating dependencies ... 
Hints for network/avahi:
  GROUPADD="214:avahi"
  USERADD="214:avahi"
Dependency tree:
network/linphone-desktop (add version 5.2.6)
  python/python3-pystache (ok)
  network/cmake3.30 (update for git 7a375f6)
  network/avahi (ok)
    libraries/libdaemon (ok)
  libraries/spandsp (ok)
    libraries/fltk (ok)

Building network/cmake3.30 (update for git 7a375f6) ------------------- 03:50:38
Testing SlackBuild files ... done.
Verifying source files ... done.
Testing download URLs ... done.
Running cmake3.30.SlackBuild ...                                    ETA 03:56:??
env MAKEFLAGS='-j24 -l13' nice -n 5 bash ./cmake3.30.SlackBuild
Build time 294 sec, peak load 13.41, peak memory 5136M, peak tmp 524M
Built ok:  cmake3.30-3.30.5-x86_64-2_SBo.txz                            03:55:32
WARNING: network/cmake3.30: Files/directories were modified in the chroot
/root/.subversion
Testing package cmake3.30-3.30.5-x86_64-2_SBo.txz ... done.
Test installing cmake3.30-3.30.5-x86_64-2_SBo.txz ...
cmake3.30-3.30.5-x86_64-2_SBo: a build of cmake 3.30 in /opt ........... [  69M]
  Running profile script: /etc/profile.d/cmake3.30.sh
Unmounting chroot ... done.
Backed up: cmake3.30-3.30.5-x86_64-1_SBo.txz
✅ network/cmake3.30 Updated for git 7a375f6 ✅

Building network/linphone-desktop (add version 5.2.6) ----------------- 03:55:37
Testing SlackBuild files ... done.
Downloading source files ...
Verifying source files ... done.
Installing dependencies ...
fltk-1.3.8-x86_64-2_SBo: Fast Light Tool Kit 1.3.x series .............. [ 7.1M]
spandsp-0.0.6_0d2e6a-x86_64-1_SBo: low-level signal processing library . [ 2.1M]
libdaemon-0.14-x86_64-1_SBo: Unix daemonizing library .................. [ 120K]
Adding groups and users:
  groupadd -g 214 avahi; 
  useradd  -u 214 -g avahi -c avahi -d /dev/null -s /bin/false  avahi; 
avahi-0.8-x86_64-7_SBo: service discovery aka zeroconf ................. [ 2.3M]
Reloading system message bus configuration...
cmake3.30-3.30.5-x86_64-2_SBo: a build of cmake 3.30 in /opt ........... [  69M]
  Running profile script: /etc/profile.d/cmake3.30.sh
python3-pystache-0.6.1-x86_64-1_SBo: Python implementation of Mustache . [ 590K]
Running linphone-desktop.SlackBuild ...
env MAKEFLAGS='-j24 -l13' nice -n 5 bash ./linphone-desktop.SlackBuild
network/linphone-desktop: linphone-desktop.SlackBuild failed (status 1) 03:57:08
Call Stack (most recent call first):
Call Stack (most recent call first):
-- Looking for memset_s - not found
-- Looking for windows.h - not found
-- Looking for ieeefp.h - not found
-- Looking for nan.h - not found
-- Looking for fp_class.h - not found
-- Looking for dl.h - not found
-- Looking for machine/types.h - not found
-- Looking for sys/int_types.h - not found
-- Looking for winsock2.h - not found
-- Looking for conio.h - not found
-- Looking for direct.h - not found
-- Looking for io.h - not found
-- Looking for process.h - not found
-- Looking for sys/event.h - not found
-- Looking for sys/filio.h - not found
-- Looking for sys/ucred.h - not found
-- Looking for _spawnlp - not found
-- Looking for getpeereid - not found
-- Looking for kqueue - not found
-- Looking for res_query - not found
-- Looking for _vsnprintf - not found
-- Looking for TIOCGWINSZ - not found
-- Looking for pthread_getconcurrency - not found
-- Looking for pthread_kill - not found
-- Looking for pthread_setconcurrency - not found
-- Looking for pthread_yield - not found
Call Stack (most recent call first):
Call Stack (most recent call first):
Call Stack (most recent call first):
-- Looking for __i386__ - not found
-- Looking for __arm__ - not found
Call Stack (most recent call first):
Call Stack (most recent call first):
-- Looking for sys/audioio.h - not found
-- Looking for CoreServices/CoreServices.h - not found
-- Looking for machine/endian.h - not found
-- Looking for stricmp - not found
-- Looking for strnicmp - not found
-- Looking for wcsupr - not found
-- Looking for wcslwr - not found
-- Looking for wcsnicmp - not found
-- Looking for wcsicmp - not found
-- Looking for sys/audio.h - not found
-- Looking for arc4random - not found
-- Looking for res_ndestroy - not found
-- Looking for socket.h - not found
-- Looking for sys/malloc.h - not found
Usage: cmake --build <dir>             [options] [-- [native-options]]
See /var/log/repo/SBo/network/linphone-desktop/build.log
Unmounting chroot ... done.
⛔️ network/linphone-desktop FAILED ⛔️

================================================================================
SUMMARY                                                                 03:57:13
================================================================================

Logfile:     /var/log/repo/SBo/repo_2024-10-12_03:50:35.log
Runtime:     0h 6m 38s
Updated:     1
  network/cmake3.30/cmake3.30-3.30.5-x86_64-2_SBo.txz
Failed:      1
  network/linphone-desktop
Warnings:    1
  network/cmake3.30: Files/directories were modified in the chroot

Snipped Build Failure

-- Build MSQOgl with Qt5
-- Found Git: /usr/bin/git (found version "2.39.4")
CMake Warning (dev) at linphone-sdk/mediastreamer2/src/CMakeLists.txt:487 (find_package):
  Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
  are removed.  Run "cmake --help-policy CMP0148" for policy details.  Use
  the cmake_policy command to set the policy and suppress this warning.

This warning is for project developers.  Use -Wno-dev to suppress it.

-- LINUX_OS_PRETTY_NAME=Slackware 15.0 x86_64

NOT Building for Debian 11
-- Found Mediastreamer2: mediastreamer2 (Required is at least version "5.3.0")
-- Found OpenCoreAMRNB: opencore-amrnb
-- Found OpenCoreAMRWB: opencore-amrwb
-- Found VoAMRWBEnc: vo-amrwbenc
-- Found Codec2: codec2
CMake Deprecation Warning at linphone-sdk/msopenh264/CMakeLists.txt:23 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- Found OpenH264: libopenh264
CMake Deprecation Warning at linphone-sdk/mssilk/CMakeLists.txt:23 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- Found BCToolbox: bctoolbox (Required is at least version "5.3.0")
-- Found Git: /usr/bin/git (found suitable version "2.39.4", minimum required is "1.7.1")
fatal: ambiguous argument '1.1.1..HEAD': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
-- Package file name is mswebrtc-1.1.1
-- Found BCToolbox: bctoolbox (Required is at least version "5.3.0") found components: tester
-- Looking for include file libudev.h
-- Looking for include file libudev.h - found
-- Looking for res_ndestroy
-- Looking for res_ndestroy - not found
-- Performing Test HAVE_RES_GETSERVERS
-- Performing Test HAVE_RES_GETSERVERS - Failed
-- Found Belr: belr (Required is at least version "5.3.0")
-- Found ZLIB: zlib
-- Found DNSSD: /usr/lib64/libdns_sd.so
-- Found ZeroConf in /usr/include/avahi-compat-libdns_sd;/usr/lib64/libdns_sd.so
-- Looking for socket.h
-- Looking for socket.h - not found
-- Looking for sys/malloc.h
-- Looking for sys/malloc.h - not found
-- Found Soci: soci_core  found components: sqlite3
-- Support Curve 25519
-- Support Curve 448
-- Looking for getifaddrs
-- Looking for getifaddrs - found
-- Found BelCard: belcard (Required is at least version "5.3.0")
-- Found BelleSIP: belle-sip (Required is at least version "5.3.0")
-- Found XercesC: xerces-c
-- Found LibXml2: xml2
-- Found Soci: soci_core
-- Found Lime: lime (Required is at least version "5.3.0")
CMake Warning (dev) at linphone-sdk/liblinphone/CMakeLists.txt:174 (find_package):
  Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
  are removed.  Run "cmake --help-policy CMP0148" for policy details.  Use
  the cmake_policy command to set the policy and suppress this warning.

This warning is for project developers.  Use -Wno-dev to suppress it.

-- 'pystache' python module found
-- 'six' python module found
-- Found OpenLDAP: ldap;lber
-- Found JsonCPP: jsoncpp_lib
-- Performing Test Iconv_IS_BUILT_IN
-- Performing Test Iconv_IS_BUILT_IN - Success
-- Performing Test SUGGEST_OVERRIDE
-- Performing Test SUGGEST_OVERRIDE - Success
-- Found Git: /usr/bin/git (found version "2.39.4")
-- Enabled features:
 * Assets, Enable packaging of assets (ringtones) when building the SDK.
 * Tools, Enable tools binary compilation.
 * Tests component, Enable compilation of tests helper library.
 * GPL third parties, Usage of GPL third-party code (FFmpeg).
 * Non free features, Allow inclusion of non-free features (mainly codecs) in the build.
 * BV16, BroadVoice 16 audio encoding/decoding support.
 * Codec2, Codec2 audio encoding/decoding support.
 * G726, G726 audio encoding/decoding support.
 * GSM, GSM audio encoding/decoding support.
 * iLBC, iLBC audio encoding/decoding support.
 * ISAC, ISAC audio encoding/decoding support.
 * MKV, MKV playing and recording support.
 * OPUS, OPUS audio encoding/decoding support.
 * Silk, Silk audio encoding/decoding support.
 * Speex, Speex audio encoding/decoding and DSP support.
 * WebRTC AEC, WebRTC echo canceller support.
 * WebRTC VAD, WebRTC voice activation detector support.
 * Video, Ability to capture and display video.
 * AV1, Build mediastreamer2 with AV1 support through libaom and dav1d (needs ENABLE_VIDEO=ON).
 * jpeg, JPEG support with libjpeg-turbo (needs ENABLE_VIDEO=ON).
 * LibYUV, Build mediastreamer2 with LibYUV support (needs ENABLE_VIDEO=ON).
 * Qt GL, Enable Qt OpenGL rendering support.
 * VPX, Build mediastreamer2 with VPX codec.
 * Advanced IM, Enable advanced instant messaging such as group chat.
 * Daemon, Enable Linphone Daemon.
 * DB Storage, Enable the database storage.
 * FlexiAPI, Enable the FlexiAPI support in Liblinphone.
 * LDAP, Enable LDAP Liblinphone.
 * mDNS, Multicast DNS support.
 * Relative prefix, liblinphone and mediastreamer will look for their respective ressources relatively to their location.
 * RTP Map always in SDP, Always include rtpmap in SDP.
 * VCARD, Enable vCard 4 support in Linphone and Liblinphone.
 * Decaf, Enable Elliptic Curve Cryptography support
 * Mbedtls, Crypto stack implementation based on mbedtls.
 * SRTP (required version >= 2), SRTP media encryption support.
 * ZRTP, Build with ZRTP support (needs ENABLE_SRTP=ON).
 * GoClear, Build with ZRTP GoClear message support (RFC 6189 - section 5.11) (needs ENABLE_ZRTP=ON).
 * CXX wrapper, Build the C++ wrapper for Liblinphone.
 * STACK_PROTECTOR, Use stack protection
 * FLOAT_API, compile with the floating point API (for machines with float library)
 * INSTALL_PKG_CONFIG_MODULE, install PkgConfig module
 * INSTALL_CMAKE_CONFIG_MODULE, install CMake package config module
 * X86_MAY_HAVE_SSE, does runtime check for SSE1 support
 * X86_MAY_HAVE_SSE2, does runtime check for SSE2 support
 * X86_MAY_HAVE_SSE4_1, does runtime check for SSE4_1 support
 * X86_MAY_HAVE_AVX, does runtime check for AVX support
 * X86_PRESUME_SSE, assume target CPU has SSE1 support
 * X86_PRESUME_SSE2, assume target CPU has SSE2 support

-- Disabled features:
 * HW Sanitizer, Enable Android HW sanitizer
 * Sanitizer, Enable Clang sanitizer
 * Strict, Pass strict flags to the compiler.
 * Doc, Enable documentation generation with Doxygen.
 * Theora, Theora video encoding/decoding support.
 * WASAPI, Windows Audio Session API (WASAPI) sound card support.
 * WebRTC AECM, WebRTC echo canceller for mobile support.
 * MPEG4, MPEG4 video encoding/decoding support (require license) (needs ENABLE_FFMPEG=ON and ENABLE_NON_FREE_FEATURES=ON).
 * Embedded OpenH264, Embed the openh264 library instead of downloading it from Cisco (needs ENABLE_OPENH264=ON).
 * MSWinRTVideo, Build mswinrtvid mediastreamer plugin (Deprecated).
 * DNS_SERVICE, Enable Apple DNS Service. Available on Mac and iOS. Incompatible with ENABLE_MDNS=ON.
 * Example Plugin, Enable build of the liblinphone example plugin.
 * Microsoft Store App, Enable build for Microsoft Store.
 * OpenSSL Export, Enable OpenSSL deployment
 * PCAP, PCAP support.
 * Tunnel, Enable build of tunnel.
 * Ekt Server Plugin, Enable build of the EKT server plugin.
 * LIME, Enable Linphone IM Encryption support in Liblinphone (Deprecated, use ENABLE_LIME_X3DH=ON instead).
 * CSharp wrapper, Build the C# wrapper from Liblinphone.
 * Java wrapper, Build the Java wrapper from Liblinphone.
 * Swift wrapper, Build the Swift wrapper sources from Liblinphone.
 * Swift wrapper compilation, Compile and package the swift wrapper framework (needs ENABLE_SWIFT_WRAPPER=ON).
 * Swift doc, Build the Swift doc from Liblinphone (needs ENABLE_SWIFT_WRAPPER=ON).
 * AAudio, AAudio Android sound card for Android 8+.
 * Oboe, Oboe Android sound card for Android 8+.
 * Camera2, Android capture filter using Camera2 API for Android 8+ (needs ENABLE_VIDEO=ON).
 * USE_ALLOCA, Use alloca for stack arrays (on non-C99 compilers)
 * CUSTOM_MODES, Enable non-Opus modes, e.g. 44.1 kHz & 2^n frames
 * BUILD_PROGRAMS, Build programs
 * FIXED_POINT, compile as fixed-point (for machines without a fast enough FPU)
 * X86_PRESUME_SSE4_1, assume target CPU has SSE4_1 support
 * X86_PRESUME_AVX, assume target CPU has AVX support

CMake Warning at linphone-sdk/CMakeLists.txt:125 (message):
  

    ***************************************************************************
    ***************************************************************************
    ***** CAUTION, this Linphone SDK is built using third party GPL code  *****
    ***** Even if you acquired a proprietary license from Belledonne      *****
    ***** Communications, this SDK is GPL and GPL only.                   *****
    ***** To disable third party GPL code, set the                        *****
    ***** ENABLE_GPL_THIRD_PARTIES option to OFF                          *****
    ***************************************************************************
    ***************************************************************************


-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2")
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
-- Found BCToolbox: bctoolbox
CMake Warning (dev) at linphone-app/CMakeLists.txt:99 (set):
  implicitly converting 'BOOLEAN' to 'STRING' type.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at linphone-app/CMakeLists.txt:100 (set):
  implicitly converting 'BOOLEAN' to 'STRING' type.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Trying to find LinphoneCxx
-- Found LinphoneCxx: liblinphone++
-- Trying to find Mediastreamer2
-- Found Mediastreamer2: mediastreamer2
-- Trying to find Belcard
-- Found Belcard: belcard
-- Trying to find LibLinphone
-- Found LibLinphone: liblinphone
-- Found QtKeychain: Qt5Keychain
-- Found ISpell: ISpell
Optional package TextToSpeech found.
Optional package QmlModels found.
-- Package file name is linphone-5.2.6
CMake Deprecation Warning at linphone-app/cmake_builder/linphone_package/CMakeLists.txt:23 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- Versions : 5.2.6, 5.2.6
-- Configuring done (25.5s)
-- Generating done (0.7s)
-- Build files have been written to: /tmp/SBo/repo.I3dz3E/build_linphone-desktop/linphone-desktop-5.2.6/build
'--parallel' invalid number '24 -l13' given.

Usage: cmake --build <dir>             [options] [-- [native-options]]
       cmake --build --preset <preset> [options] [-- [native-options]]
Options:
  <dir>          = Project binary directory to be built.
  --preset <preset>, --preset=<preset>
                 = Specify a build preset.
  --list-presets[=<type>]
                 = List available build presets.
  --parallel [<jobs>], -j [<jobs>]
                 = Build in parallel using the given number of jobs. 
                   If <jobs> is omitted the native build tool's 
                   default number is used.
                   The CMAKE_BUILD_PARALLEL_LEVEL environment variable
                   specifies a default parallel level when this option
                   is not given.
  -t <tgt>..., --target <tgt>...
                 = Build <tgt> instead of default targets.
  --config <cfg> = For multi-configuration tools, choose <cfg>.
  --clean-first  = Build target 'clean' first, then build.
                   (To clean only, use --target 'clean'.)
  --resolve-package-references={on|only|off}
                 = Restore/resolve package references during build.
  -v, --verbose  = Enable verbose output - if supported - including
                   the build commands to be executed. 
  --             = Pass remaining options to the native tool.
network/linphone-desktop: linphone-desktop.SlackBuild failed (status 1) 03:57:08
Unmounting chroot ... 
:-( network/linphone-desktop FAILED )-:

ln -sr ../../opt/$PRGNAM/bin/linphone $PRGNAM
)

rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This uses LIBDIRSUFFIX but line 378 hard-codes 64. But DOWNLOAD says 32bit is unsupported. Would be better to be consistent here I think

@willysr willysr closed this Oct 12, 2024
@willysr willysr deleted the linphone-desktop-cbd05ff2abbbacb75bddddd409ee8e69 branch October 12, 2024 04:16
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} + || true

my_parallel="${MAKEFLAGS##-j}"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Urchlay's pattern is probably better to use :

# 20220221 bkw: 'generating models' takes a long time to run. it can be
# made to run multiple jobs (like make -jN). For convenience, read
# MAKEFLAGS from the environment, if set...
JOBS="$( echo $MAKEFLAGS | sed 's,.*-j *\([0-9][0-9]*\)*.*,\1,' )"
# ...or if no MAKEFLAGS, use number-of-cores minus 1...
JOBS="${JOBS:-$(( $( nproc ) - 1 ))}"
# ...or 1, if we really only have one core.
[ "$JOBS" = "0" ] && JOBS=1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
submission-form Changes submitted via the website submission form
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants