mirror of
https://github.com/XRPLF/clio.git
synced 2025-12-06 17:27:58 +00:00
chore: Use mold when available without option (#2521)
This commit is contained in:
6
.github/actions/cmake/action.yml
vendored
6
.github/actions/cmake/action.yml
vendored
@@ -33,10 +33,6 @@ inputs:
|
||||
description: Whether to enable compiler trace reports
|
||||
required: true
|
||||
default: "false"
|
||||
use_mold:
|
||||
description: Whether to use mold linker
|
||||
required: true
|
||||
default: "false"
|
||||
package:
|
||||
description: Whether to generate Debian package
|
||||
required: true
|
||||
@@ -59,7 +55,6 @@ runs:
|
||||
COVERAGE: "${{ inputs.code_coverage == 'true' && 'ON' || 'OFF' }}"
|
||||
STATIC: "${{ inputs.static == 'true' && 'ON' || 'OFF' }}"
|
||||
TIME_TRACE: "${{ inputs.time_trace == 'true' && 'ON' || 'OFF' }}"
|
||||
USE_MOLD: "${{ inputs.use_mold == 'true' && 'ON' || 'OFF' }}"
|
||||
PACKAGE: "${{ inputs.package == 'true' && 'ON' || 'OFF' }}"
|
||||
run: |
|
||||
cmake \
|
||||
@@ -74,5 +69,4 @@ runs:
|
||||
-Dcoverage="${COVERAGE}" \
|
||||
-Dstatic="${STATIC}" \
|
||||
-Dtime_trace="${TIME_TRACE}" \
|
||||
-Duse_mold="${USE_MOLD}" \
|
||||
-Dpackage="${PACKAGE}"
|
||||
|
||||
Reference in New Issue
Block a user