Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
BornAgain
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
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
mlz
BornAgain
Commits
4e22cc04
Commit
4e22cc04
authored
3 years ago
by
Wuttke, Joachim
Browse files
Options
Downloads
Patches
Plain Diff
Patch 1 from Frederic Picca: detect 64bit and x86 separately
parent
9322babc
No related branches found
No related tags found
1 merge request
!375
CMake patches; rename Unix executable to lowercase "bornagain"
Pipeline
#45955
failed
3 years ago
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cmake/BornAgain/Linux.cmake
+4
-5
4 additions, 5 deletions
cmake/BornAgain/Linux.cmake
with
4 additions
and
5 deletions
cmake/BornAgain/Linux.cmake
+
4
−
5
View file @
4e22cc04
set
(
BORNAGAIN_ARCHITECTURE linux
)
set
(
BORNAGAIN_PLATFORM linux
)
execute_process
(
COMMAND uname -m OUTPUT_VARIABLE SYSCTL_OUTPUT
)
if
(
${
SYSCTL_OUTPUT
}
MATCHES x86_64
)
if
(
CMAKE_SIZEOF_VOID_P GREATER 4
)
message
(
STATUS
"Found a 64bit system"
)
set
(
BIT_ENVIRONMENT
"-m64"
)
set
(
BORNAGAIN_ARCHITECTURE linuxx8664
)
if
(
${
CMAKE_SYSTEM_PROCESSOR
}
STREQUAL x86_64
)
set
(
BORNAGAIN_ARCHITECTURE linuxx8664
)
endif
()
else
()
message
(
STATUS
"Found a 32bit system"
)
set
(
BIT_ENVIRONMENT
"-m32"
)
add_definitions
(
-DEIGEN_DONT_ALIGN_STATICALLY=1
)
endif
()
...
...
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