Skip to content

Commit

Permalink
Slight cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
peter mckinna committed Oct 14, 2017
1 parent 917addd commit c951d2f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions m3-sys/llvmbindings/src/m3makefile
Expand Up @@ -65,7 +65,6 @@ end
LLVM_INCLUDE_DIR = LLVM_SOURCE_DIR & "/include"

% Directory wherein to find various system libraries:
%if not defined("LIB_DIR") LIB_DIR = "/usr/lib" end % Peter McKinna
if not defined("LIB_DIR") LIB_DIR = "/usr/lib/x86_64-linux-gnu" end % Rodney Bates

% This m3makefile will invoke make to do the C++ compilation.
Expand Down Expand Up @@ -104,7 +103,6 @@ import_obj("M3DIBuilder")
%include("llvmLibs.quake") %Don't need any of these.

import_lib("curses",LIB_DIR)
%import_lib("ncurses","/usr/lib") % Peter McKinna
import_lib("dl",LIB_DIR)
import_lib("stdc++",LIB_DIR)

Expand Down

2 comments on commit c951d2f

@dragisha
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is very tricky - folder you put in is AMD64_LINUX specific. While it is my favorite :), I am using enough OSX, ARM_LINUX and Ubuntu@x86_64 to squirm on anything constant in this place :).

@RodneyBates
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This llvm stuff is very preliminary, and has some paths that are specific to my and to
Peter's personal directories. You will see comments denoting whose personal
directories certain line pertain to. For now, we can accommodate anybody else who wants
to work on the llvm back end.

Getting it properly sorted out will prerequire some decisions about how/where to
build llvm, how much of it to build as part of building cm3 with llvm backend, how
to link it in, etc. I haven't seen easy answers. So far, I've only worked on getting
something that I can test and develop on my own system.

BTW, building llvm is very time-consuming, even more so if you use clang/llvm to do
it instead of gcc.

Please sign in to comment.