Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
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
alpine
aports
Commits
11d10e4f
Commit
11d10e4f
authored
2 years ago
by
Sören Tempel
Committed by
Sören Tempel
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
community/systemc: support use with C++17
parent
aa8892cf
No related branches found
No related tags found
2 merge requests
!39304
[3.16] main/expat: security upgrade to 2.4.9
,
!38802
community/systemc: support use with c++17
Pipeline
#135784
canceled
2 years ago
Stage: verify
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
community/systemc/APKBUILD
+5
-2
5 additions, 2 deletions
community/systemc/APKBUILD
with
5 additions
and
2 deletions
community/systemc/APKBUILD
+
5
−
2
View file @
11d10e4f
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
pkgname
=
systemc
pkgname
=
systemc
pkgver
=
2.3.3
pkgver
=
2.3.3
pkgrel
=
1
pkgrel
=
2
pkgdesc
=
"C++ library for modeling and describing complex hardware systems"
pkgdesc
=
"C++ library for modeling and describing complex hardware systems"
url
=
"https://www.accellera.org/downloads/standards/systemc"
url
=
"https://www.accellera.org/downloads/standards/systemc"
arch
=
"x86 x86_64"
# upstream only supports x86*
arch
=
"x86 x86_64"
# upstream only supports x86*
...
@@ -17,7 +17,10 @@ prepare() {
...
@@ -17,7 +17,10 @@ prepare() {
}
}
build
()
{
build
()
{
../configure
\
# Support usage of SystemC with software using C++17.
# C++17 is the present default for our GNU compiler toolchain.
# See https://github.com/accellera-official/systemc/blob/2.3.4_pub_rev_20190614/INSTALL.md#preprocessor-switches
../configure
CXXFLAGS
=
"
$CXXFLAGS
-DSC_CPLUSPLUS=201703L"
\
--build
=
$CBUILD
\
--build
=
$CBUILD
\
--host
=
$CHOST
\
--host
=
$CHOST
\
--prefix
=
/usr
\
--prefix
=
/usr
\
...
...
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