Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Rafael Monnerat
slapos
Commits
8e970a64
Commit
8e970a64
authored
Apr 02, 2024
by
Thomas Gambier
🚴🏼
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
osie-coupler and beremiz-runtime: use default slapos gcc
parent
8360f221
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
9 deletions
+12
-9
component/open62541/buildout.cfg
component/open62541/buildout.cfg
+2
-2
software/beremiz-runtime/software.cfg
software/beremiz-runtime/software.cfg
+4
-4
software/osie-coupler/software.cfg
software/osie-coupler/software.cfg
+6
-3
No files found.
component/open62541/buildout.cfg
View file @
8e970a64
...
@@ -3,7 +3,6 @@
...
@@ -3,7 +3,6 @@
[buildout]
[buildout]
parts =
parts =
open62541
open62541
gcc-10.2
extends =
extends =
../cmake/buildout.cfg
../cmake/buildout.cfg
../patch/buildout.cfg
../patch/buildout.cfg
...
@@ -12,6 +11,7 @@ extends =
...
@@ -12,6 +11,7 @@ extends =
../defaults.cfg
../defaults.cfg
[gcc]
[gcc]
# we should remove this when open62541 compiles with gcc 12
max_version = 11
max_version = 11
[open62541]
[open62541]
...
@@ -38,4 +38,4 @@ configure-options =
...
@@ -38,4 +38,4 @@ configure-options =
post-install =
post-install =
cp src/pubsub/*.h deps/open62541_queue.h @@LOCATION@@/include
cp src/pubsub/*.h deps/open62541_queue.h @@LOCATION@@/include
environment =
environment =
PATH=${gcc
-10.2:location
}/bin:${python3:location}/bin:${patch:location}/bin:%(PATH)s
PATH=${gcc
:prefix
}/bin:${python3:location}/bin:${patch:location}/bin:%(PATH)s
software/beremiz-runtime/software.cfg
View file @
8e970a64
...
@@ -7,7 +7,7 @@ extends =
...
@@ -7,7 +7,7 @@ extends =
../../component/numpy/buildout.cfg
../../component/numpy/buildout.cfg
../../component/lxml-python/buildout.cfg
../../component/lxml-python/buildout.cfg
../../component/python-sslpsk/buildout.cfg
../../component/python-sslpsk/buildout.cfg
../../component/
gcc/buildout
.cfg
../../component/
defaults
.cfg
../../stack/monitor/buildout.cfg
../../stack/monitor/buildout.cfg
../../stack/slapos.cfg
../../stack/slapos.cfg
...
@@ -18,13 +18,13 @@ parts =
...
@@ -18,13 +18,13 @@ parts =
python-interpreter
python-interpreter
matiec
matiec
open62541
open62541
gcc-10.2
[python]
[python]
part = python2.7
part = python2.7
[gcc]
[gcc]
part = gcc-10.2
# we want this SR to use a fixed gcc (so that we have the same gcc as open62541 component)
max_version = 0
[open62541]
[open62541]
configure-options =
configure-options =
...
@@ -95,7 +95,7 @@ context =
...
@@ -95,7 +95,7 @@ context =
section buildout buildout
section buildout buildout
raw template_monitor ${monitor2-template:output}
raw template_monitor ${monitor2-template:output}
key openssl_location openssl:location
key openssl_location openssl:location
key gcc_location gcc
-10.2:location
key gcc_location gcc
:prefix
[versions]
[versions]
Twisted = 20.3.0
Twisted = 20.3.0
...
...
software/osie-coupler/software.cfg
View file @
8e970a64
[buildout]
[buildout]
parts =
parts =
gcc-10.2
open62541
open62541
compile-coupler
compile-coupler
slapos-cookbook
slapos-cookbook
...
@@ -12,7 +11,11 @@ extends =
...
@@ -12,7 +11,11 @@ extends =
../../component/open62541/buildout.cfg
../../component/open62541/buildout.cfg
../../stack/monitor/buildout.cfg
../../stack/monitor/buildout.cfg
../../stack/slapos.cfg
../../stack/slapos.cfg
../../component/gcc/buildout.cfg
../../component/defaults.cfg
[gcc]
# we want this SR to use a fixed gcc (so that we have the same gcc as open62541 component)
max_version = 0
# disable warning for time_t type structure after 2038
# disable warning for time_t type structure after 2038
# https://www.gnu.org/software/gnulib/manual/html_node/Avoiding-the-year-2038-problem.html
# https://www.gnu.org/software/gnulib/manual/html_node/Avoiding-the-year-2038-problem.html
...
@@ -62,7 +65,7 @@ recipe = slapos.recipe.cmmi
...
@@ -62,7 +65,7 @@ recipe = slapos.recipe.cmmi
path = ${osie-repository:location}/coupler
path = ${osie-repository:location}/coupler
bin_dir = ${:path}/bin/
bin_dir = ${:path}/bin/
environment =
environment =
PATH=${gcc
-10.2:location
}/bin:/usr/bin
PATH=${gcc
:prefix
}/bin:/usr/bin
OPEN62541_HOME = ${open62541:location}
OPEN62541_HOME = ${open62541:location}
OPEN62541_SOURCE_HOME = ${open62541-source:location}
OPEN62541_SOURCE_HOME = ${open62541-source:location}
C_COMPILER_EXTRA_FLAGS = -L ${mbedtls:location}/lib -Wl,-rpath=${mbedtls:location}/lib -l:libopen62541.so -L${open62541:location}/lib -Wl,-rpath=${open62541:location}/lib -I${open62541:location}/include -I${open62541-source:location}/src/pubsub/ -I${open62541-source:location}/deps
C_COMPILER_EXTRA_FLAGS = -L ${mbedtls:location}/lib -Wl,-rpath=${mbedtls:location}/lib -l:libopen62541.so -L${open62541:location}/lib -Wl,-rpath=${open62541:location}/lib -I${open62541:location}/include -I${open62541-source:location}/src/pubsub/ -I${open62541-source:location}/deps
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment