Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
macaon2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alexis Nasr
macaon2
Commits
5d192145
Commit
5d192145
authored
8 years ago
by
Johannes Heinecke
Browse files
Options
Downloads
Patches
Plain Diff
modifs to run cmake correctly on Ubuntu 14.04 as well, documentation
parent
c2c88291
No related branches found
No related tags found
1 merge request
!6
Johannes: modif of cmake configuration to be able to compile on Ubuntu 14.04
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMakeLists.txt
+6
-7
6 additions, 7 deletions
CMakeLists.txt
INSTALL
+8
-1
8 additions, 1 deletion
INSTALL
with
14 additions
and
8 deletions
CMakeLists.txt
+
6
−
7
View file @
5d192145
...
...
@@ -4,13 +4,12 @@ project(macaon2)
add_definitions
(
"-Wall"
)
# for gcc <
5.3
if
(
${
CMAKE_C_COMPILER_VERSION
}
VERSION_LESS
5.3
)
set
(
CMAKE_C_FLAGS
"
${
CMAKE_C_FLAGS
}
-std=gnu11"
)
# better, but needs CMake >= 3.0
#set_property(GLOBAL PROPERTY CXX_STANDARD 11)
#set_property(GLOBAL PROPERTY C_STANDARD 11)
endif
()
# activate with cmake -DMACA_EXPORT=TRUE
# to use macaon in python/java (with swig)
...
...
This diff is collapsed.
Click to expand it.
INSTALL
+
8
−
1
View file @
5d192145
...
...
@@ -16,8 +16,15 @@ The basic procedure to build and install macaon from sources is the following.
If you want to install macaon locally, you can specify the install path with :
cmake -DCMAKE_INSTALL_PREFIX:PATH=/absolute/path/to/macaon_install_dir ..
If you want to create a library to use in python
If you want to create a library to use in python
or java
cmake -DMACA_EXPORT=TRUE ..
you need to install the following packages on Ubuntu
sudo apt-get install swig
sudo apt-get install libpython2.7-dev
sudo apt-get install openjdk-8-jdk
or
sudo apt-get install openjdk-7-jdk
- Build the sources with:
make
...
...
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