intelxed / mbuild

python-based build system used for building XED
Apache License 2.0
31 stars 29 forks source link

Support compiling on non-x86 architectures #14

Closed pgoodman closed 3 years ago

pgoodman commented 7 years ago

I am building XED on AArch64 and I experimentally made _normalize_cpu_name return name and that seems fine (need to check more later, though).

markcharney commented 7 years ago

Interesting. I am a little surprised it worked. Got a patch?

pgoodman commented 7 years ago
index 199c18d..c1b9aec 100755
--- a/mbuild/env.py
+++ b/mbuild/env.py
@@ -1210,7 +1210,7 @@ class env_t(object):
         elif name[0:3] == 'x86':
             return 'ia32'
         else:
-            die("Unknown cpu " + name)
+            return name  # die("Unknown cpu " + name)

     def _normalize_os_name(self,name):
         """Internal function. Standardize various O/S identifiers"""
markcharney commented 3 years ago

Peter, I believe this works now. Make a new request if you have further issues.