Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SWIFTsim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
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
SWIFT
SWIFTsim
Commits
91cda910
Commit
91cda910
authored
5 years ago
by
Loic Hausammann
Browse files
Options
Downloads
Patches
Plain Diff
Remove version
parent
e2206d51
No related branches found
No related tags found
1 merge request
!685
Logger loader
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
logger/Makefile.am
+0
-30
0 additions, 30 deletions
logger/Makefile.am
with
0 additions
and
30 deletions
logger/Makefile.am
+
0
−
30
View file @
91cda910
...
@@ -71,33 +71,3 @@ liblogger_la_LDFLAGS = $(AM_LDFLAGS) $(EXTRA_LIBS) $(BIN_LDFLAGS)
...
@@ -71,33 +71,3 @@ liblogger_la_LDFLAGS = $(AM_LDFLAGS) $(EXTRA_LIBS) $(BIN_LDFLAGS)
# liblogger_mpi_la_LDFLAGS = $(AM_LDFLAGS) $(MPI_LIBS) $(EXTRA_LIBS)
# liblogger_mpi_la_LDFLAGS = $(AM_LDFLAGS) $(MPI_LIBS) $(EXTRA_LIBS)
# liblogger_mpi_la_SHORTNAME = mpi
# liblogger_mpi_la_SHORTNAME = mpi
# liblogger_mpi_la_LIBADD =
# liblogger_mpi_la_LIBADD =
# Versioning. If any sources change then update the version_string.h file with
# the current git revision and package version.
# May have a checkout without a version_string.h file and no git command (tar/zip
# download), allow that, but make sure we know it.
version_string.h
:
../src/version_string.h.in $(AM_SOURCES) $(include_HEADERS) $(noinst_HEADERS)
if
test
"X
$(
GIT_CMD
)
"
!=
"X"
;
then
\
GIT_REVISION
=
`
$(
GIT_CMD
)
describe
--abbrev
=
8
--always
--tags
--dirty
`
;
\
GIT_BRANCH
=
`
$(
GIT_CMD
)
branch |
sed
-n
's/^\* \(.*\)/\1/p'
`
;
\
GIT_DATE
=
`
$(
GIT_CMD
)
log
-1
--format
=
%ci
`
;
\
sed
-e
"s,@PACKAGE_VERSION
\@
,
$(
PACKAGE_VERSION
)
,"
\
-e
"s,@GIT_REVISION
\@
,
$${
GIT_REVISION
}
,"
\
-e
"s|@GIT_BRANCH
\@
|
$${
GIT_BRANCH
}
|"
\
-e
"s|@GIT_DATE
\@
|
$${
GIT_DATE
}
|"
\
-e
"s|@SWIFT_CFLAGS
\@
|
$(
CFLAGS
)
|"
$<
>
version_string.h
;
\
else
\
if
test
!
-f
version_string.h
;
then
\
sed
-e
"s,@PACKAGE_VERSION
\@
,
$(
PACKAGE_VERSION
)
,"
\
-e
"s,@GIT_REVISION
\@
,unknown,"
\
-e
"s,@GIT_BRANCH
\@
,unknown,"
\
-e
"s,@GIT_DATE
\@
,unknown,"
\
-e
"s|@SWIFT_CFLAGS
\@
|
$(
CFLAGS
)
|"
$<
>
version_string.h
;
\
fi
;
\
fi
# Make sure version_string.h is built first.
BUILT_SOURCES
=
version_string.h
# And distribute the built files.
EXTRA_DIST
=
version_string.h ../src/version_string.h.in
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