Search
Thursday, 14th of February 2019, 3:17:47 UTC
5:31:38
beach
Good morning everyone!
10:30:07
Shinmera
How do I make externals build with more than one core
10:30:14
Shinmera
this is gonna take three years at this rate
10:30:44
Shinmera
nevermind shoulda read the readme
11:27:16
Shinmera
Ugh, depsite setting LLVM_CONFIG_BINARY, it still tries to somehow include locally installed clang headers
11:34:28
Shinmera
ALso it spits out almost 22MB of text log while trying to compile, wtf
11:36:25
Shinmera
Here's the log without all the C++ it prints out https://plaster.tymoon.eu/view/1174#1174
13:59:48
Shinmera
drmeister: any idea about the build?
14:01:46
Shinmera
Do I need to set something in my wscript.config other than LLVM_CONFIG_BINARY?
14:02:39
drmeister
Well, a problem is this: /usr/include/clang/AST/DeclBase.h:30:10: fatal error: 'llvm/Support/VersionTuple.h' file not found . It's pulling the DeclBase.h header file from /usr/include/clang...
14:02:45
drmeister
That sounds like the system clang
14:03:19
drmeister
wscript.config option LLVM_CONFIG_BINARY = /media/DATA/Projects/c++/externals-clasp/llvm60/build-release/bin/llvm-config
14:04:26
drmeister
The LLVM_CONFIG_BINARY variable should tell it everything it needs to know to configure itself for the llvm that belongs with that llvm-config.
14:05:37
drmeister
/media/DATA/Projects/c++/externals-clasp/llvm60/build-release/bin/llvm-config --includedir
14:06:01
Shinmera
/home/linus/Projects/c++/externals-clasp/llvm60/include
14:08:10
drmeister
The compilation command that is failing (if I'm reading the right thing - it's followed by-- 22MB of C++ source code here --) looks like...
14:08:27
drmeister
the command was: /home/linus/Projects/c++/externals-clasp/llvm60/build-release/bin/clang++ -E -DSCRAPING -I./ -I/home/linus/Projects/c++/externals-clasp/llvm60/include -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -std=c++11 -Wno-macro-redefined -Wno-deprecated-register -Wno-expansion-to-defined -Wno-return-type-c-linkage -Wno-invalid-offsetof -Wno-#pragma-messages -Wno-inconsistent-missing-override -O3 -g -fPIC
14:08:27
drmeister
-I. -I../.. -I../../src/main -I../../include -Igenerated -I/home/linus/Projects/c++/externals-clasp/llvm60/include -I/usr/include /media/DATA/Projects/c++/clasp/src/asttooling/astVisitor.cc
14:08:53
drmeister
I see... -I/home/linus/Projects/c++/externals-clasp/llvm60/include -I/usr/include
14:09:11
Shinmera
Yeah, and yet for some reason it's taking things from the system.
14:09:54
drmeister
Lets try and get some more info. This is going to barf huge amounts of include file again - so pipe it somewhere.
14:10:25
drmeister
Can you paste this...
14:10:41
Shinmera
In my llvm60/build-release/include, there's no clang headers
14:10:59
drmeister
It is going for clang headers.
14:11:24
Shinmera
Do I need to do something else? I just ran make in the externals directory
14:11:26
drmeister
Ok, so it's an externals clasp issue - why isn't it building clang headers.
14:12:07
drmeister
I'm about to lose communication - going under Philadelphia
14:12:20
drmeister
I'll hang on as long as I can.
14:13:16
drmeister
I think externals clasp make needs to be run using some make targets.
14:14:27
drmeister
From externals clasp use: make clean
14:16:12
Shinmera
Also, am I right to be on master there?
14:16:27
drmeister
master of externals-clasp? Yeah
14:16:58
drmeister
make llvm-setup-release
14:17:23
drmeister
make llvm-release -j <whatever>
14:17:30
drmeister
I think that should do it.
14:17:42
drmeister
I can't try it now because I'm on my phone, on the train.
14:25:29
drmeister
Bike: I made some progress with the cl-netcdf library - I am able to read attributes using the CFFI interface that it provides.
14:25:45
Bike
neat. so next is the actual data?
14:26:18
drmeister
I googled "amber netcdf" - there is a document that describes the attributes and data layout.
15:12:03
Shinmera
Aight, the clang headers are there now
15:12:40
drmeister
Do you have any idea why they didn't come down in the first place?
15:12:58
drmeister
Oh - hello again - I'm in my office - but I have a visitor in a few min
15:17:24
Shinmera
still failing on the same error.
Thursday, 14th of February 2019, 15:17:47 UTC