Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Suyu
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
many-archive
Suyu
Commits
d4375a21
There was an error fetching the commit references. Please try again later.
Unverified
Commit
d4375a21
authored
1 year ago
by
Fijxu
Browse files
Options
Downloads
Patches
Plain Diff
Revert
a9312c83
. Use proper GCC binary location and CCACHE changes in
the CI
parent
0c2bdc6f
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.ci/scripts/linux/docker.sh
+4
-4
4 additions, 4 deletions
.ci/scripts/linux/docker.sh
.forgejo/workflows/verify.yml
+2
-3
2 additions, 3 deletions
.forgejo/workflows/verify.yml
CMakeLists.txt
+1
-2
1 addition, 2 deletions
CMakeLists.txt
with
7 additions
and
9 deletions
.ci/scripts/linux/docker.sh
+
4
−
4
View file @
d4375a21
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
# Exit on error, rather than continuing with the rest of the script.
# Exit on error, rather than continuing with the rest of the script.
set
-e
set
-e
ccache
-s
ccache
-s
v
mkdir
build
||
true
&&
cd
build
mkdir
build
||
true
&&
cd
build
cmake ..
\
cmake ..
\
...
@@ -15,8 +15,8 @@ cmake .. \
...
@@ -15,8 +15,8 @@ cmake .. \
-DSUYU_USE_PRECOMPILED_HEADERS
=
OFF
\
-DSUYU_USE_PRECOMPILED_HEADERS
=
OFF
\
-DDYNARMIC_USE_PRECOMPILED_HEADERS
=
OFF
\
-DDYNARMIC_USE_PRECOMPILED_HEADERS
=
OFF
\
-DCMAKE_CXX_FLAGS
=
"-march=x86-64-v2"
\
-DCMAKE_CXX_FLAGS
=
"-march=x86-64-v2"
\
-DCMAKE_CXX_COMPILER
=
/usr/bin/g++
\
-DCMAKE_CXX_COMPILER
=
/usr/
local/
bin/g++
\
-DCMAKE_C_COMPILER
=
/usr/bin/gcc
\
-DCMAKE_C_COMPILER
=
/usr/
local/
bin/gcc
\
-DCMAKE_INSTALL_PREFIX
=
"/usr"
\
-DCMAKE_INSTALL_PREFIX
=
"/usr"
\
-DDISPLAY_VERSION
=
$1
\
-DDISPLAY_VERSION
=
$1
\
-DENABLE_COMPATIBILITY_LIST_DOWNLOAD
=
OFF
\
-DENABLE_COMPATIBILITY_LIST_DOWNLOAD
=
OFF
\
...
@@ -31,7 +31,7 @@ cmake .. \
...
@@ -31,7 +31,7 @@ cmake .. \
ninja
ninja
ccache
-s
ccache
-s
v
ctest
-VV
-C
Release
ctest
-VV
-C
Release
...
...
This diff is collapsed.
Click to expand it.
.forgejo/workflows/verify.yml
+
2
−
3
View file @
d4375a21
...
@@ -33,7 +33,6 @@ on:
...
@@ -33,7 +33,6 @@ on:
env
:
env
:
PR_NUMBER
:
pr${{ github.event.number }}
PR_NUMBER
:
pr${{ github.event.number }}
CCACHE_DIR
:
'
.ccache'
jobs
:
jobs
:
format
:
format
:
...
@@ -77,13 +76,13 @@ jobs:
...
@@ -77,13 +76,13 @@ jobs:
uses
:
https://code.forgejo.org/actions/cache@v3
uses
:
https://code.forgejo.org/actions/cache@v3
id
:
ccache-restore
id
:
ccache-restore
with
:
with
:
path
:
.ccache
path
:
~/
.ccache
key
:
${{ runner.os }}-${{ matrix.type }}-${{ github.sha }}
key
:
${{ runner.os }}-${{ matrix.type }}-${{ github.sha }}
restore-keys
:
|
restore-keys
:
|
${{ runner.os }}-${{ matrix.type }}-
${{ runner.os }}-${{ matrix.type }}-
-
name
:
Create ccache directory
-
name
:
Create ccache directory
if
:
steps.ccache-restore.outputs.cache-hit != 'true'
if
:
steps.ccache-restore.outputs.cache-hit != 'true'
run
:
mkdir -p .ccache
run
:
mkdir -p
~/
.ccache
-
name
:
Build
-
name
:
Build
run
:
./.ci/scripts/${{ matrix.type }}/docker.sh
run
:
./.ci/scripts/${{ matrix.type }}/docker.sh
env
:
env
:
...
...
This diff is collapsed.
Click to expand it.
CMakeLists.txt
+
1
−
2
View file @
d4375a21
...
@@ -374,8 +374,6 @@ if(ENABLE_QT6 AND Qt6_LOCATION)
...
@@ -374,8 +374,6 @@ if(ENABLE_QT6 AND Qt6_LOCATION)
list
(
APPEND CMAKE_PREFIX_PATH
"
${
Qt6_LOCATION
}
"
)
list
(
APPEND CMAKE_PREFIX_PATH
"
${
Qt6_LOCATION
}
"
)
endif
()
endif
()
# QT6 searches for Vulkan::Headers, too, so we have to define it before QT6 has a chance to do it.
add_subdirectory
(
externals
)
function
(
set_suyu_qt_components
)
function
(
set_suyu_qt_components
)
# Best practice is to ask for all components at once, so they are from the same version
# Best practice is to ask for all components at once, so they are from the same version
...
@@ -712,6 +710,7 @@ if (SUYU_USE_FASTER_LD AND CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
...
@@ -712,6 +710,7 @@ if (SUYU_USE_FASTER_LD AND CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
endif
()
endif
()
endif
()
endif
()
add_subdirectory
(
externals
)
add_subdirectory
(
src
)
add_subdirectory
(
src
)
# Set suyu project or suyu-cmd project as default StartUp Project in Visual Studio depending on whether QT is enabled or not
# Set suyu project or suyu-cmd project as default StartUp Project in Visual Studio depending on whether QT is enabled or not
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment