Skip to content

Commit 5d424a8

Browse files
authored
Fix prefix build when path has spaces (#2400)
### Description of changes: Fix prefix build when path has space. ### Testing: * See CI results: aws/aws-lc-rs#805 By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and the ISC license.
1 parent fc0148f commit 5d424a8

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/misc-tests.yaml renamed to .github/workflows/misc-tests.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ jobs:
8585
strategy:
8686
fail-fast: false
8787
matrix:
88-
os: [ ubuntu-latest, windows-latest, macos-14-xlarge ]
88+
os: [ ubuntu-latest, windows-latest, macos-14 ]
8989
steps:
9090
- if: ${{ matrix.os == 'windows-latest' }}
9191
name: Install NASM
@@ -113,7 +113,6 @@ jobs:
113113
with:
114114
source-dir: 'path has spaces/aws-lc'
115115
build-dir: 'path has spaces/build-fips'
116-
generator: Ninja
117116
options: CMAKE_BUILD_TYPE=Release FIPS=1 BUILD_SHARED_LIBS=${{ (matrix.os == 'ubuntu-latest' && '0') || '1' }}
118117
- name: Build Project
119118
run: cmake --build "path has spaces/build-fips" --target all

crypto/fipsmodule/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ if((((ARCH STREQUAL "x86_64") AND NOT MY_ASSEMBLER_IS_TOO_OLD_FOR_512AVX) OR
299299
# definitions instead. One could set this property for just the s2n-bignum
300300
# source. But for simplicity, do it for all. The pre-processor will remove
301301
# any duplicate header files.
302-
set_source_files_properties(${BCM_ASM_SOURCES} PROPERTIES COMPILE_FLAGS "--include=${AWSLC_BINARY_DIR}/symbol_prefix_include/openssl/boringssl_prefix_symbols_asm.h")
302+
set_source_files_properties(${BCM_ASM_SOURCES} PROPERTIES COMPILE_FLAGS "--include=\"${AWSLC_BINARY_DIR}/symbol_prefix_include/openssl/boringssl_prefix_symbols_asm.h\"")
303303
endif()
304304
endif()
305305

0 commit comments

Comments
 (0)