Skip to content

Commit d455a39

Browse files
committed
final tweaks and 1.0 release
1 parent 5243029 commit d455a39

2 files changed

Lines changed: 10 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
uses: actions/upload-artifact@v4
5151
with:
5252
name: digraph-${{ matrix.preset }}-${GITHUB_REF_NAME}
53-
path: build/conf-${{ matrix.preset }}/bin/*.exe
53+
path: build/conf-${{ matrix.preset }}/bin/*
5454

5555
create-release:
5656
name: Create Release

src/CMakeLists.txt

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,16 @@ set_target_properties(Digraph PROPERTIES
99
)
1010

1111
if (MSVC)
12-
target_compile_options(Digraph PRIVATE "/arch:AVX2")
12+
target_compile_options(Digraph PRIVATE "/arch:AVX2" "$<$<CONFIG:Release>:/Z7>")
13+
target_link_options(Digraph PRIVATE "$<$<CONFIG:Release>:/DEBUG:NONE>")
1314
else()
14-
target_compile_options(Digraph PRIVATE "-mavx2" "-mfma")
15+
target_compile_options(Digraph PRIVATE "-mavx2" "-mfma" "$<$<CONFIG:Release>:-g0>")
16+
17+
if (APPLE)
18+
target_link_options(Digraph PRIVATE "$<$<CONFIG:Release>:-Wl,-x>")
19+
else()
20+
target_link_options(Digraph PRIVATE "$<$<CONFIG:Release>:-s>")
21+
endif()
1522
endif()
1623

1724
target_precompile_headers(Digraph

0 commit comments

Comments
 (0)