Travis-CI - configure LLVM

Is there any guidance on how to configure the .yml file on Travis to get LLVM> = 3.8?

This is part of the Makefile that I use to compile my program:

all: program

OBJS = obj1.o obj2.o obj3.o obj4.o

CPPFL = `llvm-config --cppflags` -std=c++11
LDFL = `llvm-config --ldflags` -lpthread -ldl -lz -lncurses -rdynamic
LIBS = `llvm-config --libs`

program: $(OBJS)
    g++ -o $@ $(OBJS) $(LIBS) $(LDFL)

%.o: %.cpp
    g++ -c $(CPPFL) -o $@ $<

      

Thanks in advance.

+3


source to share


1 answer


This question is still open.

The most relevant examples I could find are this and this . So yeah, you basically need to set up a particular toolchain yourself on VM Travis.



PS: I could add this as a comment, but not enough rep: S

0


source







All Articles