Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
imagej-elphel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
List
Board
Labels
Milestones
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Elphel
imagej-elphel
Commits
3c6a1850
Commit
3c6a1850
authored
Jul 20, 2025
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
testing maven os version activation
parent
249561ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
77 additions
and
17 deletions
+77
-17
pom.xml
pom.xml
+77
-17
No files found.
pom.xml
View file @
3c6a1850
...
...
@@ -54,23 +54,6 @@
<!-- <version>1.53j</version> -->
<version>
1.54f
</version>
</dependency>
<dependency>
<groupId>
org.jcuda
</groupId>
<artifactId>
jcuda
</artifactId>
<!-- <version>10.1.0</version> -->
<!--<version>11.2.0</version> -->
<version>
12.6.0
</version>
</dependency>
<!--
As of 2018/09/11 TF for GPU on Maven supports CUDA 9.0 (vs latest 9.2)
Workaround:
~$ sudo dpkg -i cuda-repo-ubuntu1604-9-0-local_9.0.176-1_amd64.deb
~$ sudo apt install cuda-9.0
# install or link back to cuda-9.2:
~$ sudo rm /usr/local/cuda; sudo ln -sf /usr/local/cuda-9.2 /usr/local/cuda
Then in Eclipse's Run configurations... add an environment variable:
LD_LIBRARY_PATH = /usr/local/cuda-9.0/lib64
-->
<dependency>
<groupId>
org.tensorflow
</groupId>
<artifactId>
libtensorflow
</artifactId>
...
...
@@ -187,6 +170,83 @@
</dependency>
</dependencies>
<!--TODO: improve profile activation. Currently 11.2.0 only for my old computer OS version, all others use 12.6.0-->
<profiles>
<profile>
<id>
profileCuda11
</id>
<activation>
<os>
<name>
Linux
</name>
<version>
5.15.0-139-generic
</version>
</os>
</activation>
<dependencies>
<dependency>
<groupId>
org.jcuda
</groupId>
<artifactId>
jcuda
</artifactId>
<!-- <version>10.1.0</version> -->
<!--<version>11.2.0</version> -->
<version>
11.2.0
</version>
</dependency>
<!-- jcuda-natives -->
<dependency>
<groupId>
org.jcuda
</groupId>
<artifactId>
jcuda-natives
</artifactId>
<!-- <version>10.1.0</version> -->
<!--<version>11.2.0</version> -->
<version>
11.2.0
</version>
</dependency>
<!--
As of 2018/09/11 TF for GPU on Maven supports CUDA 9.0 (vs latest 9.2)
Workaround:
~$ sudo dpkg -i cuda-repo-ubuntu1604-9-0-local_9.0.176-1_amd64.deb
~$ sudo apt install cuda-9.0
# install or link back to cuda-9.2:
~$ sudo rm /usr/local/cuda; sudo ln -sf /usr/local/cuda-9.2 /usr/local/cuda
Then in Eclipse's Run configurations... add an environment variable:
LD_LIBRARY_PATH = /usr/local/cuda-9.0/lib64
-->
</dependencies>
</profile>
<profile>
<id>
profileCuda12
</id>
<activation>
<!-- <activeByDefault>true</activeByDefault>-->
<os>
<name>
Linux
</name>
<version>
!5.15.0-139-generic
</version>
</os>
</activation>
<dependencies>
<dependency>
<groupId>
org.jcuda
</groupId>
<artifactId>
jcuda
</artifactId>
<!-- <version>10.1.0</version> -->
<!--<version>11.2.0</version> -->
<version>
12.6.0
</version>
</dependency>
<!-- jcuda-natives -->
<dependency>
<groupId>
org.jcuda
</groupId>
<artifactId>
jcuda-natives
</artifactId>
<!-- <version>10.1.0</version> -->
<!--<version>11.2.0</version> -->
<version>
12.6.0
</version>
</dependency>
<!--
As of 2018/09/11 TF for GPU on Maven supports CUDA 9.0 (vs latest 9.2)
Workaround:
~$ sudo dpkg -i cuda-repo-ubuntu1604-9-0-local_9.0.176-1_amd64.deb
~$ sudo apt install cuda-9.0
# install or link back to cuda-9.2:
~$ sudo rm /usr/local/cuda; sudo ln -sf /usr/local/cuda-9.2 /usr/local/cuda
Then in Eclipse's Run configurations... add an environment variable:
LD_LIBRARY_PATH = /usr/local/cuda-9.0/lib64
-->
</dependencies>
</profile>
</profiles>
<build>
<resources>
...
...
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