Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
scdaq
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
scouting-demonstrator
scdaq
Commits
6db93183
Commit
6db93183
authored
2 years ago
by
Dinyar Rabady
Browse files
Options
Downloads
Patches
Plain Diff
Build scdaq RPM in CI
parent
c39e84a3
No related branches found
No related tags found
2 merge requests
!59
CMSSW json file
,
!1
Build scdaq RPM in CI
Pipeline
#4067746
passed
2 years ago
Stage: build
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+28
-0
28 additions, 0 deletions
.gitlab-ci.yml
src/Makefile
+1
-1
1 addition, 1 deletion
src/Makefile
with
29 additions
and
1 deletion
.gitlab-ci.yml
0 → 100644
+
28
−
0
View file @
6db93183
image
:
gitlab-registry.cern.ch/scouting-demonstrator/scouting-docker-images/scdaq-builder:1.0.0
build_rpm_tag
:
stage
:
build
only
:
-
tags
script
:
-
bash scripts/scdaqrpm.sh
-
mv /tmp/scdaq-build-tmp/RPMBUILD/RPMS/x86_64/scdaq* .
artifacts
:
name
:
"
scdaq-${CI_JOB_NAME}_${CI_COMMIT_TAG}"
paths
:
-
"
*.rpm"
expire_in
:
1 year
build_rpm_dev
:
stage
:
build
except
:
-
tags
script
:
-
bash scripts/scdaqrpm.sh
-
mv /tmp/scdaq-build-tmp/RPMBUILD/RPMS/x86_64/scdaq* .
-
for f in *.rpm; do mv -- "$f" "${f%.rpm}-dev.rpm"; done
# Add -dev extension to RPMs built from non-tags.
artifacts
:
name
:
"
scdaq-${CI_JOB_NAME}_`echo
$CI_COMMIT_REF_NAME
|
sed
's|/|-|g'`"
paths
:
-
"
*.rpm"
expire_in
:
1 week
This diff is collapsed.
Click to expand it.
src/Makefile
+
1
−
1
View file @
6db93183
...
@@ -27,7 +27,7 @@ CXXFLAGS = -std=c++11 -Wall -Wextra -O0 -g -rdynamic
...
@@ -27,7 +27,7 @@ CXXFLAGS = -std=c++11 -Wall -Wextra -O0 -g -rdynamic
#CXXFLAGS = -std=c++11 -Wall -Wextra -g -rdynamic
#CXXFLAGS = -std=c++11 -Wall -Wextra -g -rdynamic
CFLAGS
=
$(
CXXFLAGS
)
CFLAGS
=
$(
CXXFLAGS
)
LDFLAGS
=
-ltbb
-ltbbmalloc
-lboost_thread
-lcurl
LDFLAGS
=
-ltbb
-ltbbmalloc
-lboost_thread
-lcurl
-pthread
CPPFLAGS
=
-I
.
-Iwzdma
CPPFLAGS
=
-I
.
-Iwzdma
...
...
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