Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
csg-eb
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
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
exa
csg-eb
Wiki
Building MFIX with CSG EB on Spock
Changes
Page history
New page
Templates
Clone repository
Create Building MFIX with CSG EB on Spock
authored
3 years ago
by
Mark Meredith
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Building-MFIX-with-CSG-EB-on-Spock.md
+74
-0
74 additions, 0 deletions
Building-MFIX-with-CSG-EB-on-Spock.md
with
74 additions
and
0 deletions
Building-MFIX-with-CSG-EB-on-Spock.md
0 → 100644
View page @
e22a6edf
Spock compiler may required building MFIX and CSG-EB Conan package with different compilers.
# Check conan packages [optional]
You can check which Conan packages are installed with the command, which looks something like:
```
❯ conan search
Existing package recipes:
b2/4.5.0
boost/1.75.0
bzip2/1.0.8
catch2/2.13.7
cgal/5.2.1
eigen/3.3.9
gmp/6.2.1
libbacktrace/cci.20210118
libiconv/1.16
m4/1.4.18
meson/0.60.0
mpfr/4.1.0
ninja/1.10.2
pkgconf/1.7.4
taocpp-pegtl/3.2.1
zlib/1.2.11
```
first to see which conan packages are already built (and cached) on your system
# Build Conan CSG-EB package
```
cd subprojects/csg-eb
env CC=$ROCM_PATH/llvm/bin/clang CXX=$ROCM_PATH/llvm/bin/clang++ conan create .
```
# Check conan packages [optional]
You can check which Conan packages are installed with the command, which looks something like:
```
❯ conan search
Existing package recipes:
b2/4.5.0
boost/1.75.0
bzip2/1.0.8
catch2/2.13.7
cgal/5.2.1
csg-eb/46cbe771bad57377342e65787280a9430bd9ac9e
csg-eb/d0139be5aa26d08455125c7eb3e8eac4c9cf6742
eigen/3.3.9
gmp/6.2.1
libbacktrace/cci.20210118
libiconv/1.16
m4/1.4.18
meson/0.60.0
mpfr/4.1.0
ninja/1.10.2
pkgconf/1.7.4
taocpp-pegtl/3.2.1
zlib/1.2.11
```
# Build MFIX
```
env CC=$(which hipcc) CXX=$(which hipcc) cmake -S. -Bbuild -DMFIX_CSG=1
cmake --build build
```
Building MFIX should use the (already cached) conan packages.
\ No newline at end of file
This diff is collapsed.
Click to expand it.